Exemple #1
0
 private void applicationSettingsToolStripMenuItem_Click(Object sender, EventArgs e)
 {
     using (GBGApplicationSettings applicationSettingsForm = new GBGApplicationSettings(this, applicationSettings))
     {
         applicationSettingsForm.ShowDialog(this);
         if (applicationSettingsForm.OkExit)
         {
             WriteLogLine("Settings applied successfully.");
         }
         else
         {
             WriteLogLine("Action cancelled.");
         }
     }
 }
Exemple #2
0
 private void applicationSettingsToolStripMenuItem_Click(Object sender, EventArgs e)
 {
     using(GBGApplicationSettings applicationSettingsForm = new GBGApplicationSettings(this, applicationSettings))
     {
         applicationSettingsForm.ShowDialog(this);
         if(applicationSettingsForm.OkExit)
             WriteLogLine("Settings applied successfully.");
         else WriteLogLine("Action cancelled.");
     }
 }