Exemple #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(mainForm);

            SD.isDialogMode = true;
            SD.ShowDialog();
            SetClauses = SD.CommandText;
            SD.Close();
        }
Exemple #2
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();
 }