Пример #1
0
 private void Password_Box_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == (char)13)
     {
         Войти_Button.PerformClick();
     }
 }
Пример #2
0
 private void Authorization_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == (char)13)
     {
         Войти_Button.PerformClick();
     }
 }