Beispiel #1
0
 private void Login_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == (char)13)
     {
         PasswordE.Focus();
         e.Handled = true;
     }
 }
Beispiel #2
0
 private void SqlConnectionFromSimple_Load(object sender, EventArgs e)
 {
     /*Login.Text = Properties.Settings.Default.SQLLogin;
      * ServerName.Text = Properties.Settings.Default.SQLServ;*/
     if (LoginE.Text.Length > 0)
     {
         PasswordE.Select();
     }
 }