示例#1
0
文件: frm20902.cs 项目: iamwsx05/hms
        /// <summary>
        /// New
        /// </summary>
        public override void New()
        {
            frmPopup20902 frm = new frmPopup20902();

            frm.ShowDialog();
            if (frm.IsRequireRefresh)
            {
                this.RefreshData();
                this.ScrollRow(frm.TopicVo.fieldId);
            }
        }
示例#2
0
文件: frm20902.cs 项目: iamwsx05/hms
 /// <summary>
 /// edit
 /// </summary>
 public override void Edit()
 {
     if (this.gridView.SelectedRowsCount > 0)
     {
         frmPopup20902 frm = new frmPopup20902(this.gridView.GetRow(this.gridView.GetSelectedRows()[0]) as EntityDicQnSummary);
         frm.ShowDialog();
         if (frm.IsRequireRefresh)
         {
             this.RefreshData();
             this.ScrollRow(frm.TopicVo.fieldId);
         }
     }
     else
     {
         DialogBox.Msg("请选择要编辑的记录.");
     }
 }