Ejemplo n.º 1
0
 private void settingsBtn_Click(object sender, EventArgs e)
 {
     // check if settings form is already there
     if (_settingsForm == null)
     {
         _settingsForm =  new SettingsForm();
         _settingsForm.FormClosed += SettingsFormClosed;
     }
     _settingsForm.ShowDialog(this);
 }
Ejemplo n.º 2
0
 void SettingsFormClosed(object sender, FormClosedEventArgs e)
 {
     _settingsForm = null;
 }