private void btnUnitManager_Click(object sender, EventArgs e) { EnabledRefreshPage = true; if (UnitForm == null || UnitForm.IsDisposed) { UnitForm = new UnitExtSelectForm(); } UnitForm.WindowState = FormWindowState.Normal; UnitForm.Show(); UnitForm.BringToFront(); }
private void unitBrowserBtn_Click(object sender, EventArgs e) { UnitForm unitForm = new UnitForm(this); unitForm.Show(); }