Example #1
0
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormEncounterEdit FormEE = new FormEncounterEdit(listEncs[e.Row]);

            FormEE.ShowDialog();
            FillGrid();
        }
Example #2
0
        private void butAdd_Click(object sender, EventArgs e)
        {
            Encounter EncCur = new Encounter();

            EncCur.PatNum        = PatCur.PatNum;
            EncCur.ProvNum       = PatCur.PriProv;
            EncCur.DateEncounter = DateTime.Today;
            EncCur.IsNew         = true;
            FormEncounterEdit FormEE = new FormEncounterEdit(EncCur);

            FormEE.ShowDialog();
            FillGrid();
        }
		private void butAdd_Click(object sender,EventArgs e) {
			Encounter EncCur=new Encounter();
			EncCur.PatNum=PatCur.PatNum;
			EncCur.ProvNum=PatCur.PriProv;
			EncCur.DateEncounter=DateTime.Today;
			EncCur.IsNew=true;
			FormEncounterEdit FormEE=new FormEncounterEdit(EncCur);
			FormEE.ShowDialog();
			FillGrid();
		}
		private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e) {
			FormEncounterEdit FormEE=new FormEncounterEdit(listEncs[e.Row]);
			FormEE.ShowDialog();
			FillGrid();
		}