Exemplo n.º 1
0
 private void Password_Box_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == (char)13)
     {
         Войти_Button.PerformClick();
     }
 }
Exemplo n.º 2
0
 private void Authorization_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == (char)13)
     {
         Войти_Button.PerformClick();
     }
 }