Ejemplo n.º 1
0
 private void MainForm_HintEvent(object sender, HintEventArgs e)
 {
     if (!e.hint.isUsed)
     {
         gamerService.UseHint(e.hint, e.question);
         mainForm.SetGamer(gamerService.GetGamer());
         mainForm.SetAvailableHints(gamerService.GetAvailableHints());
     }
 }
 private void StepModel_OnHintDeleted(StepModel sender, HintEventArgs eventArgs)
 {
     DeleteHintController(eventArgs.HintModel.ID);
 }
 private void StepModel_OnHintCreated(StepModel sender, HintEventArgs eventArgs)
 {
     CreateHintController(eventArgs.HintModel);
 }