Jack Jack - 1 year ago 71
C# Question

this.hide(); not work in user control

I have created a usercontrol and put this usercontrol in forms , the usercontrol has some button when user click on one button it should be close current form and open a new form , i know that this code doing job in forms

Form1 ob = new Form1();

but that code not working in usercontrol , any body have a solution for that ?

Answer Source

Guys i found My Answer and that is it the code

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download