コード例 #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();
		}
コード例 #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();
			}
コード例 #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();
        }
コード例 #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();
        }