private void gridVaccine_CellDoubleClick(object sender,OpenDental.UI.ODGridClickEventArgs e) { if(gridVaccine.GetSelectedIndex()==-1) { return; } FormEhrVaccinePatEdit FormV=new FormEhrVaccinePatEdit(); FormV.VaccinePatCur=VaccineList[gridVaccine.GetSelectedIndex()]; FormV.ShowDialog(); FillGridVaccine(); }
private void butAddVaccine_Click(object sender,EventArgs e) { FormEhrVaccinePatEdit FormV=new FormEhrVaccinePatEdit(); FormV.VaccinePatCur=new VaccinePat(); FormV.VaccinePatCur.PatNum=PatCur.PatNum; FormV.VaccinePatCur.DateTimeStart=DateTime.Now; FormV.VaccinePatCur.DateTimeEnd=DateTime.Now; FormV.IsNew=true; FormV.ShowDialog(); FillGridVaccine(); }
private void butAddVaccine_Click(object sender, EventArgs e) { FormEhrVaccinePatEdit FormV = new FormEhrVaccinePatEdit(); FormV.VaccinePatCur = new VaccinePat(); FormV.VaccinePatCur.PatNum = PatCur.PatNum; FormV.VaccinePatCur.DateTimeStart = DateTime.Now; FormV.VaccinePatCur.DateTimeEnd = DateTime.Now; FormV.IsNew = true; FormV.ShowDialog(); FillGridVaccine(); }
private void gridVaccine_CellDoubleClick(object sender, OpenDental.UI.ODGridClickEventArgs e) { if (gridVaccine.GetSelectedIndex() == -1) { return; } FormEhrVaccinePatEdit FormV = new FormEhrVaccinePatEdit(); FormV.VaccinePatCur = VaccineList[gridVaccine.GetSelectedIndex()]; FormV.ShowDialog(); FillGridVaccine(); }