Beispiel #1
0
		private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e) {
			FormHL7DefFieldEdit FormS=new FormHL7DefFieldEdit();
			FormS.HL7DefFieldCur=HL7DefSegCur.hl7DefFields[e.Row];
			FormS.IsHL7DefInternal=IsHL7DefInternal;
			FormS.ShowDialog();
			FillGrid();
		}
Beispiel #2
0
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormHL7DefFieldEdit FormS = new FormHL7DefFieldEdit();

            FormS.HL7DefFieldCur   = HL7DefSegCur.hl7DefFields[e.Row];
            FormS.IsHL7DefInternal = IsHL7DefInternal;
            FormS.ShowDialog();
            FillGrid();
        }
Beispiel #3
0
        private void butAdd_Click(object sender, EventArgs e)
        {
            if (HL7DefSegCur.IsNew)
            {
                HL7DefSegments.Insert(HL7DefSegCur);
                HL7DefSegCur.IsNew = false;
            }
            FormHL7DefFieldEdit FormS = new FormHL7DefFieldEdit();

            FormS.HL7DefFieldCur = new HL7DefField();
            FormS.HL7DefFieldCur.HL7DefSegmentNum = HL7DefSegCur.HL7DefSegmentNum;
            FormS.HL7DefFieldCur.IsNew            = true;
            FormS.HL7DefFieldCur.FixedText        = "";
            FormS.IsHL7DefInternal = false;
            FormS.ShowDialog();
            FillGrid();
        }
Beispiel #4
0
		private void butAdd_Click(object sender,EventArgs e) {
			if(HL7DefSegCur.IsNew) {
				HL7DefSegments.Insert(HL7DefSegCur);
				HL7DefSegCur.IsNew=false;
			}
			FormHL7DefFieldEdit FormS=new FormHL7DefFieldEdit();
			FormS.HL7DefFieldCur=new HL7DefField();
			FormS.HL7DefFieldCur.HL7DefSegmentNum=HL7DefSegCur.HL7DefSegmentNum;
			FormS.HL7DefFieldCur.IsNew=true;
			FormS.HL7DefFieldCur.FixedText="";
			FormS.IsHL7DefInternal=false;
			FormS.ShowDialog();
			FillGrid();
		}