private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e) { FormHL7DefMessageEdit FormS = new FormHL7DefMessageEdit(); FormS.HL7DefMesCur = (HL7DefMessage)gridMain.Rows[e.Row].Tag; FormS.IsHL7DefInternal = HL7DefCur.IsInternal; FormS.ShowDialog(); FillGrid(); }
private void butAdd_Click(object sender, EventArgs e) { //This button is only enabled if this is a custom def. FormHL7DefMessageEdit FormS = new FormHL7DefMessageEdit(); FormS.HL7DefMesCur = new HL7DefMessage(); FormS.HL7DefMesCur.HL7DefNum = HL7DefCur.HL7DefNum; FormS.HL7DefMesCur.IsNew = true; FormS.IsHL7DefInternal = false; FormS.ShowDialog(); FillGrid(); }
private void butAdd_Click(object sender,EventArgs e) { //This button is only enabled if this is a custom def. FormHL7DefMessageEdit FormS=new FormHL7DefMessageEdit(); FormS.HL7DefMesCur=new HL7DefMessage(); FormS.HL7DefMesCur.HL7DefNum=HL7DefCur.HL7DefNum; FormS.HL7DefMesCur.IsNew=true; FormS.IsHL7DefInternal=false; FormS.InternalType=HL7DefCur.InternalType; FormS.ShowDialog(); FillGrid(); }
private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e) { FormHL7DefMessageEdit FormS=new FormHL7DefMessageEdit(); FormS.HL7DefMesCur=(HL7DefMessage)gridMain.Rows[e.Row].Tag; FormS.IsHL7DefInternal=HL7DefCur.IsInternal; FormS.InternalType=HL7DefCur.InternalType; FormS.ShowDialog(); FillGrid(); }