Пример #1
0
        private void Add_New_Game_Button_Click(object sender, RoutedEventArgs e)
        {
            Add_New_Game addNewGame = new Add_New_Game();

            addNewGame.Owner = this;
            addNewGame.Show();
        }
Пример #2
0
 private void lbl_AddGame_Click(object sender, EventArgs e)
 {
     Add_New_Game ang = new Add_New_Game();
     New_Game game = new New_Game();
     DialogResult result = ang.ShowDialog();
     if (result== DialogResult.OK)
     {
         load();
     }
     else
     {
         load();
     }
 }