Example #1
0
 public override void Show()
 {
     try
     {
         MainForm.Visible = true;
     }
     catch (ObjectDisposedException)
     {
         MainForm = new EmployeeForm(this);
         Load();
         MainForm.Visible = true;
     }
 }
Example #2
0
 protected override void Constructor(string key, FBClient client, string type)
 {
     MainForm = new EmployeeForm(this);
     base.Constructor(key, client, type);
 }