Пример #1
0
 private void FormLogin_KeyDown(object sender, KeyEventArgs e)
 {
     txt_username.text = txt_username.text.Replace(Environment.NewLine, "");
     txt_password.text = txt_password.text.Replace(Environment.NewLine, "");
     if (e.KeyCode == Keys.Enter)
     {
         Login_Action();
     }
     if (e.KeyCode == Keys.F2)
     {
         SettingDbForm sd = new SettingDbForm();
         sd.ShowDialog();
     }
 }
Пример #2
0
        private void btn_editdb_Click(object sender, EventArgs e)
        {
            SettingDbForm sdb = new SettingDbForm();

            sdb.ShowDialog();
        }