private void OnClickCompany(object sender, EventArgs e) { if ((_company != null) && (_company.Visible)) { _company.Focus(); return; } if (_company == null) { _company = new CompanyForm(this); _company.MdiParent = this; } _company.Show(); }
public void CompanyFormClosed() { _company = null; }