private void DoDEInsertAsDeItem(object sender, EventArgs e) { InsertAsProc vEvent = delegate(frmRecord frmRecord) { frmRecord.InsertDeItem(frmDataElement.GetDeIndex(), frmDataElement.GetDeName()); }; InsertDataElementAs(vEvent); }
private void DoDEInsertAsDeItem(object sender, EventArgs e) { DeItem vDeItem = FEmrEdit.NewDeItem(frmDataElement.GetDeName()); vDeItem[DeProp.Index] = frmDataElement.GetDeIndex(); vDeItem[DeProp.Name] = frmDataElement.GetDeName(); FEmrEdit.InsertDeItem(vDeItem); }