Example #1
0
        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();
        }
Example #2
0
 public void CompanyFormClosed()
 {
     _company = null;
 }