Exemple #1
0
 private bool CreateSearchFormIfNeed()
 {
     if (searchForm == null || searchForm.IsDisposed)
     {
         searchForm            = new FrmSearch();
         searchForm.CurrentTab = SelectedTab;
         searchForm.Show(this);
         return(true);
     }
     return(false);
 }
Exemple #2
0
 private bool CreateSearchFormIfNeed()
 {
     if (searchForm == null || searchForm.IsDisposed)
     {
         searchForm = new FrmSearch();
         searchForm.CurrentTab = SelectedTab;
         searchForm.Show(this);
         return true;
     }
     return false;
 }
Exemple #3
0
        private void FindMenu_Click(object sender, EventArgs e)
        {
            if (searchForm == null || searchForm.IsDisposed)
            {
                searchForm = new FrmSearch();
            }

            if (!searchForm.Visible)
            {
                searchForm.Show(this);
            }
        }
Exemple #4
0
        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();
            }
        }
Exemple #5
0
        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();
            }
        }
Exemple #6
0
        private void FindMenu_Click(object sender, EventArgs e)
        {
            if (searchForm == null || searchForm.IsDisposed)
                searchForm = new FrmSearch();

            if (!searchForm.Visible)
                searchForm.Show(this);
        }