コード例 #1
0
ファイル: CSMeansDialog.cs プロジェクト: NALSS/epiinfo-82474
 /// <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();
 }