示例#1
0
 private void Form1_KeyDown(object sender, KeyEventArgs e)
 {
     MessageBox.Show("It's working");
     if (e.Control && e.KeyCode.ToString() == "L")
     {
         //frmNext objFormatLogger = new frmNext();
         //objFormatLogger.ShowDialog(this);
         frmNext frmNext = new frmNext();
         frmNext.Show();
     }
 }
示例#2
0
        private void button3_Click(object sender, EventArgs e)
        {
            frmNext frmNext = new frmNext();

            frmNext.Show();
        }