i




 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open the conditional form ?
11-28-2016, 04:55 AM
Post: #1
Open the conditional form ?
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();
        }

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 ?


Quote


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Error Could not open form interface design in C# ? dongtrien 0 326 02-20-2017 09:59 AM
Last Post: dongtrien
  Close Form Popup before opening MessageBox.Show and the form use delegate ? dongtrien 0 813 07-18-2016 08:17 AM
Last Post: dongtrien



User(s) browsing this thread: 1 Guest(s)