private void frmLogin_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.F12) { frmDatabaseConfig dc = new frmDatabaseConfig(); dc.ShowDialog(); } }
private void button8_Click(object sender, EventArgs e) { frmDatabaseConfig db = new frmDatabaseConfig(); db.ShowDialog(); }