Posts: 730
Threads: 36
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Aug 2011
Reputation:
0
Hey guyz! I am searching for a solution how to open Form1 from Form2 via the button?
I have already tried lots of ways but my button as freezed - I click on it and nothing happens.
Any idea how to do it?
Thanks in advance.
Posts: 207
Threads: 29
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Jun 2011
Reputation:
0
Look in VB.NET is like
Dim Forms as new Form2
Forms.Show()
this code in the button event _click
Posts: 768
Threads: 40
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: May 2011
Reputation:
0
private void button1_click(object sender, EventArgs e)
{
Form2 form2 = new Form2();
form2.Show();
}