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();
this.Hide();
ob.Show();
but that code not working in usercontrol , any body have a solution for that ?
Guys i found My Answer and that is it the code
this.Parenthide();