Esempio n. 1
0
 private void listView_KeyDown(object sender, KeyEventArgs e)
 {
     try
     {
         if (e.KeyCode == Keys.F && e.Modifiers == Keys.Control)
         {
             FindTextForm form = new FindTextForm(this.listView.Items);
             form.Show(this);
         }
     }
     catch (Exception exception)
     {
         Logger.error(exception.ToString());
     }
 }
Esempio n. 2
0
 private void listView_KeyDown(object sender, KeyEventArgs e)
 {
     try
     {
         if (e.KeyCode == Keys.F && e.Modifiers == Keys.Control)
         {
             FindTextForm form = new FindTextForm(this.listView.Items);
             form.Show(this);
         }
     }
     catch (Exception exception)
     {
         Logger.error(exception.ToString());
     }
 }
Esempio n. 3
0
 private void noticelistform_KeyDown(object sender, KeyEventArgs e)
 {
     try
     {
         if (e.KeyCode == Keys.F && e.Modifiers == Keys.Control)
         {
             FindTextForm form = new FindTextForm();
             form.btn_find.Click += new EventHandler(btn_find_Click);
             form.txtbox.KeyDown += new KeyEventHandler(txtbox_KeyDown);
             form.Show(noticelistform);
         }
     }
     catch (Exception exception)
     {
         logWrite(exception.ToString());
     }
 }