private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e) { FormEhrLabResultEdit FormLRE = new FormEhrLabResultEdit(); FormLRE.LabCur = listResults[e.Row]; FormLRE.ShowDialog(); FillGrid(); }
private void butAdd_Click(object sender,EventArgs e) { if(IsNew) { MessageBox.Show("Lab results can only be added to saved or existing lab panels."); return; } FormEhrLabResultEdit FormLRE=new FormEhrLabResultEdit(); FormLRE.IsNew=true; FormLRE.LabCur=new LabResult(); FormLRE.LabCur.LabPanelNum=PanelCur.LabPanelNum; FormLRE.LabCur.DateTimeTest=DateTime.Now; FormLRE.ShowDialog(); FillGrid(); }
private void butAdd_Click(object sender, EventArgs e) { if (IsNew) { MessageBox.Show("Lab results can only be added to saved or existing lab panels."); return; } FormEhrLabResultEdit FormLRE = new FormEhrLabResultEdit(); FormLRE.IsNew = true; FormLRE.LabCur = new LabResult(); FormLRE.LabCur.LabPanelNum = PanelCur.LabPanelNum; FormLRE.LabCur.DateTimeTest = DateTime.Now; FormLRE.ShowDialog(); FillGrid(); }
private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e) { FormEhrLabResultEdit FormLRE=new FormEhrLabResultEdit(); FormLRE.LabCur = listResults[e.Row]; FormLRE.ShowDialog(); FillGrid(); }