示例#1
0
 private void OKBtn_Click(object sender, EventArgs e)
 {
     if (ah.OKButton_Click(sender, e) == System.Windows.Forms.DialogResult.OK)
     {
         //user can cancel in here during LM set-up, account for it.
         // Was missing option for Active/Passive Background..... HN 8.19.2015
         ChooseBackgroundType type = new ChooseBackgroundType();
         type.ShowDialog();
         Visible = false;
         UIIntegration.Controller.SetAssay(); // tell the controller to do an assay operation using the current measurement state
         UIIntegration.Controller.Perform();  // start the measurement file or DAQ thread
         Close();
     }
 }
示例#2
0
        private void OKBtn_Click(object sender, EventArgs e)
        {
            if (ah.OKButton_Click(sender, e) == System.Windows.Forms.DialogResult.OK)
            {
                //user can cancel in here during LM set-up, account for it.
                // Was missing option for Active/Passive Background..... HN 8.19.2015
                ChooseBackgroundType type = new ChooseBackgroundType();
                type.ShowDialog();
                Visible = false;
                //If LM, copy SR params if no multiplicity exists
                ah.mo = AssaySelector.MeasurementOption.background;
                if (ah.det.ListMode)
                {
                    //Make a multiplicity counter if LM and not there.
                    CreateMultiplicityAnalyzer();
                }

                UIIntegration.Controller.SetAssay(); // tell the controller to do an assay operation using the current measurement state
                UIIntegration.Controller.Perform();  // start the measurement file or DAQ thread
                Close();
            }
        }
示例#3
0
 private void OKBtn_Click(object sender, EventArgs e)
 {
     if (ah.OKButton_Click(sender, e) == System.Windows.Forms.DialogResult.OK)
     {
         //user can cancel in here during LM set-up, account for it.
         // Was missing option for Active/Passive Background..... HN 8.19.2015
         ChooseBackgroundType type = new ChooseBackgroundType();
         type.ShowDialog();
         this.Visible = false;
         UIIntegration.Controller.SetAssay();  // tell the controller to do an assay operation using the current measurement state
         UIIntegration.Controller.Perform();  // start the measurement file or DAQ thread
         this.Close();
     }
 }