I need to hide the a form using a button from my current active form. let see for example there is two form open and I am using form2 and then form1 was inactive. i want to hide the form1 using the button from form2..could give me a hint on how to do it guyz//..ty
here is my code
namespace windowsAppication1
{
public partial class Form2:Form
public Form2()
{
initializeComponent();
}
private void button1.click(object sender, EventArgs e)
{
Form1 f1 = new Form1();
f1.hide();
}
}
1 Replies - 95 Views - Last Post: 11 December 2012 - 06:02 AM
#1
C# how to hide form using the button from the current active form
Posted 11 December 2012 - 05:59 AM
Replies To: C# how to hide form using the button from the current active form
#2
Re: C# how to hide form using the button from the current active form
Posted 11 December 2012 - 06:02 AM
Page 1 of 1
|
|

New Topic/Question
This topic is locked



MultiQuote



|