L
Lasse Edsvik
Hello
I have a button that opens a form like this:
private void button2_Click(object sender, System.EventArgs e)
{
Form2 myForm = new Form2();
myForm.Show();
}
problem is that it creates a new window for each click, i just want one
form, and if window exists i would like it to focus
TIA
/Lasse
I have a button that opens a form like this:
private void button2_Click(object sender, System.EventArgs e)
{
Form2 myForm = new Form2();
myForm.Show();
}
problem is that it creates a new window for each click, i just want one
form, and if window exists i would like it to focus
TIA
/Lasse