Exemplo n.º 1
0
 private void exitButton_Click(object sender, EventArgs e)
 {
     if (resultListBox.Items.Count > 0)
     {
         var resultForm = new ResultForm();
         resultForm.ShowResult(qmarker);
         resultForm.Owner = this;
         resultForm.Show();
         resultForm.FormClosed += new FormClosedEventHandler(resultForm_FormClosed);
     }
     else
     {
         InitializePlayMode();
     }
 }
Exemplo n.º 2
0
 private void exitButton_Click(object sender, EventArgs e)
 {
     if (resultListBox.Items.Count > 0)
     {
         var resultForm = new ResultForm();
         resultForm.ShowResult(qmarker);
         resultForm.Owner = this;
         resultForm.Show();
         resultForm.FormClosed += new FormClosedEventHandler(resultForm_FormClosed);
     }
     else
     {
         InitializePlayMode();
     }
 }