Beispiel #1
0
        /// <summary>
        /// 编辑
        /// </summary>
        public void Edit()
        {
            string       id           = BaseInterfaceLogic.GetDataGridViewEntityId(this.grdItems_, BaseItemsEntity.FieldId);
            FrmItemsEdit frmItemsEdit = new FrmItemsEdit(id);

            if (frmItemsEdit.ShowDialog(this) == DialogResult.OK)
            {
                // 加载窗体
                this.FormOnLoad();
            }
        }
Beispiel #2
0
 /// <summary>
 /// 编辑
 /// </summary>
 public void Edit()
 {
     string id = BaseInterfaceLogic.GetDataGridViewEntityId(this.grdItems_, BaseItemsEntity.FieldId);
     FrmItemsEdit frmItemsEdit = new FrmItemsEdit(id);
     if (frmItemsEdit.ShowDialog(this) == DialogResult.OK)
     {
         // 加载窗体
         this.FormOnLoad();
     }
 }