What’s stopping you from making it a parameter in the constructor?
public Form2(bool foo)
{
}
Then when instantiating the form:
bool foo = false;
Form2 MyForm = new Form2(foo);
solved Passing parameters from form 1 to form 2 [closed]
What’s stopping you from making it a parameter in the constructor?
public Form2(bool foo)
{
}
Then when instantiating the form:
bool foo = false;
Form2 MyForm = new Form2(foo);
solved Passing parameters from form 1 to form 2 [closed]