If I have Form1 & Form2, and I have the event button1_Click in Form1, such that:
System.Void button1_Click(System.Object sender, System.EventArgs e) {
static boolean x= false;
..
..
Form2.Show();
}
I want when closing Form2, to put x=true, how to do that
1 Answer