Exemplo n.º 1
0
 private void bwUpdateTimeLimit_DoWork(object sender, DoWorkEventArgs e) //also update in db for future games
 {
     //Updates the database whenever the user changes the question time limit
     if (!DB_Update.UpdateGameQuestionTimeLimit(game.QuestionTimeLimit, game.Id))
     {
         MessageBox.Show("Error updating Game name");
     }
 }
Exemplo n.º 2
0
 private void bwUpdateTimeLimit_DoWork(object sender, DoWorkEventArgs e)
 {
     DB_Update.UpdateGameQuestionTimeLimit(game.QuestionTimeLimit, game.Id);
 }