Exemplo n.º 1
0
 /// <summary>
 /// Handles the Click event for btnSettings.  
 /// Instantiates a new Settings dialog, sets its dialog mode = True.
 /// Shows the dialog and returns any settings.
 /// </summary>
 /// <param name="sender">Object that fired the event.</param>
 /// <param name="e">.NET supplied event args.</param>
 private void btnSettings_Click(object sender, EventArgs e)
 {
     SetDialog SD = new SetDialog((Epi.Windows.Analysis.Forms.AnalysisMainForm)mainForm);
     SD.isDialogMode = true;
     SD.ShowDialog();
     SetClauses = SD.CommandText;
     SD.Close();
 }
Exemplo n.º 2
0
 private void mnuSet_Click(object sender, EventArgs e)
 {
     SetDialog dialog = new SetDialog(this.amf);
     WriteToTextBox(sender, ShowCommandDesignDialog(dialog));
 }