Example #1
0
        /// <summary> 插入一个数据组 </summary>
        public void InsertDeGroup(string aIndex, string aName)
        {
            if ((aIndex == "") || (aName == ""))
            {
                MessageBox.Show("要插入的数据组索引和名称不能为空!");
                return;
            }

            using (DeGroup vDeGroup = new DeGroup(FEmrView.ActiveSectionTopLevelData()))
            {
                vDeGroup[DeProp.Index] = aIndex;
                vDeGroup[DeProp.Name]  = aName;
                FEmrView.InsertDeGroup(vDeGroup);
            }
        }