private void lbtAddReagent_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { FrmSelectPro frm = new FrmSelectPro(_morbidityTest, _products); if (frm.ShowDialog() == DialogResult.OK) { PopListView(); } }
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(); } }
private void lbtAddnew_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { FrmSelectPro frm = new FrmSelectPro(_qMenus, _products); if (frm.ShowDialog() == DialogResult.OK) { PopTests(); } }