Пример #1
0
        private void NextBtn_Click(object sender, EventArgs e)
        {
            StoreChanges();
            IDDK5CollarItemData k5 = new IDDK5CollarItemData(col, modified);

            k5.Show();
            this.Close();
        }
Пример #2
0
        private void NextBtn_Click(object sender, EventArgs e)
        {
            StoreChanges();
            IDDK5CollarItemData k5 = new IDDK5CollarItemData(col, modified);

            k5.StartPosition = FormStartPosition.CenterScreen;
            k5.Show();
            this.Close();
        }
Пример #3
0
        private void AcquireVerificationClick(object sender, RoutedEventArgs e)
        {
            AcquireParameters ap = Integ.GetCurrentAcquireParams();

            Detector det = new Detector();

            INCCAnalysisParams.collar_combined_rec parms = new INCCAnalysisParams.collar_combined_rec();

            Integ.GetCurrentAcquireDetectorPair(ref ap, ref det);
            NormParameters  npp = Integ.GetCurrentNormParams(det);
            AnalysisMethods am  = Integ.GetMethodSelections(ap);

            if (am != null)
            {
                if (Integ.GetMethodSelections(det.Id.DetectorId, ap.ItemId.material).Has(AnalysisMethod.CollarAmLi))
                {
                    IDDAcquireAssay f      = new IDDAcquireAssay();
                    DialogResult    result = f.ShowDialog();
                    f.Close();
                    if (result == System.Windows.Forms.DialogResult.OK)
                    {
                        IDDCollarItemData data = new IDDCollarItemData();
                        result = data.ShowDialog();
                        data.Close();
                    }

                    if (result == System.Windows.Forms.DialogResult.OK)
                    {
                        IDDK5CollarItemData k5 = new IDDK5CollarItemData(parms, true);
                        result = k5.ShowDialog();
                        k5.Close();
                    }
                    if (result == System.Windows.Forms.DialogResult.OK)
                    {
                        IDDCollarAcquire dlg = new IDDCollarAcquire(npp);
                        dlg.ShowDialog();
                    }
                }
                else
                {
                    IDDAcquireAssay f = new IDDAcquireAssay();
                    f.ShowDialog();
                }
            }
            else
            {
                System.Windows.Forms.MessageBox.Show("You must define at least one analysis method.", "ERROR");
            }
        }
Пример #4
0
 private void NextBtn_Click(object sender, EventArgs e)
 {
     StoreChanges();
     IDDK5CollarItemData k5 = new IDDK5CollarItemData(col, modified);
     k5.Show();
     this.Close();
 }