Exemplo n.º 1
0
 private void onAboutButtonClick(object sender, EventArgs e)
 {
     if (aboutForm != null)
     {
         aboutForm.Focus();
     }
     else
     {
         aboutForm             = new AboutGame();
         aboutForm.FormClosed += onAboutGameFormClosed;
         aboutForm.Show();
     }
 }
Exemplo n.º 2
0
 private void onAboutGameFormClosed(object sender, FormClosedEventArgs e)
 {
     aboutForm = null;
 }