예제 #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.");
         }
     }
 }
예제 #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.");
     }
 }