예제 #1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            AddGame addGame = new AddGame();

            addGame.setOperationType(1);
            addGame.ShowDialog();
            loadGamesFunc();
        }
예제 #2
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     if (currentGame != string.Empty)
     {
         AddGame addGame = new AddGame();
         addGame.setCurrentGame(int.Parse(currentGame));
         addGame.setOperationType(2);
         addGame.ShowDialog();
         loadGamesFunc();
     }
 }