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(); } }
private void button3_Click(object sender, EventArgs e) { frmNext frmNext = new frmNext(); frmNext.Show(); }