예제 #1
0
        private void lbtAddReagent_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            FrmSelectPro frm = new FrmSelectPro(_morbidityTest, _products);

            if (frm.ShowDialog() == DialogResult.OK)
            {
                PopListView();
            }
        }
예제 #2
0
        private void lbtAddReagent_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            FrmSelectPro frm = new FrmSelectPro(_qMenu.GetSelectedProductId(), _products);
            if (frm.ShowDialog() == DialogResult.OK)
            {
                foreach (MasterProduct p in frm.SelectedProducts)
                {
                    QuantificationMetric q = new QuantificationMetric();
                    q.ClassOfTest = _qMenu.ClassOfTest;
                    q.CollectionSupplieAppliedTo = CollectionSupplieAppliedToEnum.Testing.ToString();
                    q.Product = p;
                    q.QuantifyMenu = _qMenu;
                    q.UsageRate = 1;
                    _qMenu.QuantificationMetrics.Add(q);
                }

                PopListView();
            }
        }
예제 #3
0
        private void lbtAddReagent_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            FrmSelectPro frm = new FrmSelectPro(_qMenu.GetSelectedProductId(), _products);

            if (frm.ShowDialog() == DialogResult.OK)
            {
                foreach (MasterProduct p in frm.SelectedProducts)
                {
                    QuantificationMetric q = new QuantificationMetric();
                    q.ClassOfTest = _qMenu.ClassOfTest;
                    q.CollectionSupplieAppliedTo = CollectionSupplieAppliedToEnum.Testing.ToString();
                    q.Product      = p;
                    q.QuantifyMenu = _qMenu;
                    q.UsageRate    = 1;
                    _qMenu.QuantificationMetrics.Add(q);
                }

                PopListView();
            }
        }
예제 #4
0
 private void lbtAddnew_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     FrmSelectPro frm = new FrmSelectPro(_qMenus, _products);
     if (frm.ShowDialog() == DialogResult.OK)
     {
         PopTests();
     }
 }
예제 #5
0
 private void lbtAddReagent_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     FrmSelectPro frm = new FrmSelectPro(_morbidityTest, _products);
     if (frm.ShowDialog() == DialogResult.OK)
     {
         PopListView();
     }
 }