sasikumar

sasikumar

  • NA
  • 15
  • 0

Multiple instance of User-Control in a Windows Form

Feb 6 2012 5:27 AM
Hi,

I've a UserControl which contains a Button click event in it. Then I've a form Form1.cs which contains multiple instances of the UserControl - uc1, uc2, uc3, etc.,

On the Button Click event of the UserControl, How do I identify in the form (Form1.cs), that from which instance(uc1\uc2\uc3) of the usercontrol, was the Button Click event triggered ?

Any suggestions?

Thanks,
SK.

Answers (1)