Created
October 8, 2015 17:25
-
-
Save SajjadArifGul/b0261fe46dc9901e729f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace WindowsFormsApplication1 | |
{ | |
public partial class Form2 : Form | |
{ | |
Form1 frm1; | |
public Form2(Form1 parent) | |
{ | |
InitializeComponent(); | |
frm1 = parent; | |
} | |
private void button1_Click(object sender, EventArgs e) | |
{ | |
frm1.Visible = false; | |
} | |
private void button2_Click(object sender, EventArgs e) | |
{ | |
frm1.Visible = true; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment