I have the following code. I am calling to Form2 from Form1.
At Form2 code I need to open Form1 back again: form1.show();
and to use myFlag parameter.
But form1 is not defined in Form2 class. It is just an object that called Form2.
How to do it?
public partial class Form1: Form
Form2 form2 = new Form2();
public int myFlag;