Exemple #1
0
		private void butAddFamilyHistory_Click(object sender,EventArgs e) {
			FormFamilyHealthEdit FormFHE=new FormFamilyHealthEdit();
			FamilyHealth famH=new FamilyHealth();
			famH.PatNum=PatCur.PatNum;
			famH.IsNew=true;
			FormFHE.FamilyHealthCur=famH;
			FormFHE.ShowDialog();
			if(FormFHE.DialogResult!=DialogResult.OK) {
				return;
			}
			FillFamilyHealth();
		}
Exemple #2
0
		private void gridFamilyHealth_CellDoubleClick(object sender,ODGridClickEventArgs e) {
			FormFamilyHealthEdit FormFHE=new FormFamilyHealthEdit();
			FormFHE.FamilyHealthCur=ListFamHealth[e.Row];
			FormFHE.ShowDialog();
			FillFamilyHealth();
		}