Пример #1
0
 private void inputKeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == (char)13)
     {
         view.StartGame();
         this.Close();
     }
 }
Пример #2
0
 private void restart_click_handler(object sender, EventArgs e)
 {
     this.Close();
     master_view.StartGame();
 }