Dong Lam Trien

Dong Lam Trien

  • 737
  • 986
  • 145.4k

Open the conditional form ?

Nov 27 2016 11:55 PM
Assuming the program appears to open the form repeated in many places in the program through the following code:
[CODE]
if (agreed conditions the open form 1)
{
Form1 frm = new Form1();
frm.Show();
}
[/CODE]
instead of checking conditions in outside open Form1 form and the opening of Form1 appears many places in the program you want to put conditions inside Form1 it will be difficult to implement, there are certain you know this how ?

Answers (4)