public static List <Vitalsign> Update(Vitalsign vitals, long patNum) { VitalsignCrud.Insert(vitals); Vitalsign currVitals = Vitalsigns.GetOne(vitals.VitalsignNum); VitalsignCrud.Update(vitals); return(Vitalsigns.Refresh(patNum)); }
private void gridMain_CellDoubleClick(object sender, OpenDental.UI.ODGridClickEventArgs e) { long vitalNum = listVs[e.Row].VitalsignNum; //change for EHR 2014 FormVitalsignEdit2014 FormVSE = new FormVitalsignEdit2014(); //FormEhrVitalsignEdit FormVSE=new FormEhrVitalsignEdit(); FormVSE.VitalsignCur = Vitalsigns.GetOne(vitalNum); FormVSE.ShowDialog(); FillGrid(); }