- Joined
- May 11, 2008
- Messages
- 722
- Reaction score
- 50
I added
in the button click
And it doesn't close
but the other form shows up
I tried this too
In the Form2 class, still didn't work
and I also tried
Didn't work.
Help me please
Code:
Form2 f = new Form2();
//this.Close();
f.Show();
this.Close();
And it doesn't close
but the other form shows up
I tried this too
Code:
public Form2()
{
InitializeComponent();
Form1 f = new Form1();
f.Close();
}
and I also tried
Code:
private void Form2_Load(object sender, EventArgs e)
{
Form f1 = new Form1();
f1.Close();
}
Help me please

