private bool CreateSearchFormIfNeed() { if (searchForm == null || searchForm.IsDisposed) { searchForm = new FrmSearch(); searchForm.CurrentTab = SelectedTab; searchForm.Show(this); return(true); } return(false); }
private bool CreateSearchFormIfNeed() { if (searchForm == null || searchForm.IsDisposed) { searchForm = new FrmSearch(); searchForm.CurrentTab = SelectedTab; searchForm.Show(this); return true; } return false; }
private void FindMenu_Click(object sender, EventArgs e) { if (searchForm == null || searchForm.IsDisposed) { searchForm = new FrmSearch(); } if (!searchForm.Visible) { searchForm.Show(this); } }
private void FrmMain_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode != Keys.F3) { return; } if (searchForm == null || searchForm.IsDisposed) { searchForm = new FrmSearch(); searchForm.Show(this); } else { searchForm.FindNext(); } }
private void FrmMain_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode != Keys.F3) return; if (searchForm == null || searchForm.IsDisposed) { searchForm = new FrmSearch(); searchForm.Show(this); } else { searchForm.FindNext(); } }
private void FindMenu_Click(object sender, EventArgs e) { if (searchForm == null || searchForm.IsDisposed) searchForm = new FrmSearch(); if (!searchForm.Visible) searchForm.Show(this); }