示例#1
0
 /// <summary>
 /// 查看
 /// </summary>
 public override void LoadData()
 {
     if (this.gvData.SelectedRowsCount > 0)
     {
         frmPopup2060201 frm = new frmPopup2060201(this.gvData.GetRow(this.gvData.GetSelectedRows()[0]) as EntityDietTemplate);
         frm.ShowDialog();
     }
 }
示例#2
0
文件: frm20602.cs 项目: iamwsx05/hms
        /// <summary>
        /// 编辑
        /// </summary>
        public override void Edit()
        {
            dietRecord = GetRowObject();

            if (dietRecord != null)
            {
                frmPopup2060201 frm = new frmPopup2060201(dietRecord);
                frm.ShowDialog();
            }
        }
示例#3
0
文件: frm20602.cs 项目: iamwsx05/hms
        /// <summary>
        /// 添加
        /// </summary>
        public override void New()
        {
            frmPopup2060201 frm = new frmPopup2060201();

            frm.ShowDialog();
        }