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