示例#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();
     }
 }