Example #1
0
        private void FormMain_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.F5)
            {
                menuSimulateNew_Click(null, null);
            }

            // Display search form
            if (e.Control && e.KeyCode == Keys.F)
            {
                FormSearch.Show(this, editor1);
            }
            if (e.KeyCode == Keys.F3)
            {
                FormSearch.FindNext(this, editor1);
            }
        }
Example #2
0
 private void menuEditFind_Click(object sender, EventArgs e)
 {
     FormSearch.Show(this, editor1);
 }