
Create a Single Instance of the Form by Class Name in C#
In this blog, you can create single instance of the Form By name of it.
In this Code you can create
single instance of the Form By name of it. For Example, your application have
Three Form main form and Form2 and Form3. you can Create Single instance
Form and open It by calling the Function OpenForm("Form2"). I added some
comment in code:




abdolwahab alemiPosted Jan 24, 2013, 4:05 AM EST
please place the line 42 ( openlist.Add(t.FullName);) before line 34
abdolwahab alemiPosted Jan 24, 2013, 3:54 AM EST
small edit
Former memberPosted Jan 24, 2013, 12:05 AM EST
Thanks alot
irfan syedPosted Jan 23, 2013, 10:18 PM EST
thanku
irfan syedPosted Jan 23, 2013, 10:17 PM EST
thanku