lu
2025-02-19 9cdebe64f7ce63aee080491dec6d108466527432
DevApp/Gs.DevApp/DevFrm/Sys/DocNoRule.cs
@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Data;
using System.Windows.Forms;
using DevExpress.Office.Utils;
using DevExpress.XtraEditors;
using DevExpress.XtraEditors.Controls;
using DevExpress.XtraGrid.Columns;
@@ -26,7 +27,10 @@
            toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick;
            toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick;
            toolBarMenu1.btnLayoutClick += ToolBarMenu1_btnLayoutClick;
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(this.GetType().FullName,gridView1, picCheckBox, this, "checkStatus", "", (value) =>
            List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
            gvList.Add(gridView1);
            Gs.DevApp.ToolBox.UtilityHelper.getGridViewConfig(this.GetType().FullName, gvList);
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "checkStatus", "", (value) =>
            {
                Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0);
            });
@@ -51,7 +55,7 @@
            txt_isSpilit.CheckedChanged += (s, e) => { DoPreviewCode(); };
        }
        /// <summary>
        ///     分页事件
@@ -64,7 +68,7 @@
        }
        private void ToolBarMenu1_btnLayoutClick(object sender, EventArgs e)
        {
            string _formNamespace=this.GetType().FullName;
            string _formNamespace = this.GetType().FullName;
            List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
            gvList.Add(gridView1);
            Gs.DevApp.UserControl.showLayOut DevFrm = new showLayOut(_formNamespace, gvList);
@@ -496,6 +500,6 @@
                MsgHelper.Warning("提示:" + ex.Message);
            }
        }
    }
}