Ejemplo n.º 1
0
		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();
		}
Ejemplo n.º 2
0
		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();
			}
Ejemplo n.º 3
0
        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();
        }
Ejemplo n.º 4
0
        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();
        }