Esempio n. 1
0
        /// <summary>
        /// 数据查询功能处理
        /// </summary>
        protected virtual void SetSearchProc(frmAssistBasic frmBaseToolXC)
        {
            bool isSucces = false;

            try
            {

                //画面数据验证处理
                if (!this.validData.Validate())
                {
                    return;
                }
                
                //获取需要编辑数据信息
                this.GetGrpDataItem();

                //数据检查功能处理
                this.GetInputCheck(ref isSucces);

                if (!isSucces)
                {
                    return;
                }

                //获取表格一览信息
                GetDspDataList();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Esempio n. 2
0
        /// <summary>
        /// 处理数据功能处理
        /// </summary>
        protected virtual void SetSaveDataProc(frmAssistBasic frmbase)
        {
            SetSaveDataProc(null, null);

        }
Esempio n. 3
0
 protected override void SetSearchProc(frmAssistBasic frmBaseToolXC)
 {
     base.SetSearchProc(frmBaseToolXC);
 }
Esempio n. 4
0
        /// <summary>
        /// 设定工具栏的有效性
        /// </summary>
        /// <param name="mode">编辑的状态</param>
        public static void SetCmdControl(frmAssistBasic frmbase)
        {

            int RecordCount = 0;

            if (frmbase.m_GridViewUtil != null
                 && frmbase.m_GridViewUtil.ParentGridView != null
                 && frmbase.m_GridViewUtil.ParentGridView.RowCount > 0)
            {
                RecordCount = frmbase.m_GridViewUtil.ParentGridView.RowCount;
            }
        }
Esempio n. 5
0
 protected override void SetSearchProc(frmAssistBasic frmBaseToolXC)
 {
     base.SetSearchProc(frmBaseToolXC);
     gridView1.OptionsView.ColumnAutoWidth = true;
     
 }