diff --git a/插件库/Lskj.PubTabDll/FrmMain.Designer.cs b/插件库/Lskj.PubTabDll/FrmMain.Designer.cs index e3db47c..c93a990 100644 --- a/插件库/Lskj.PubTabDll/FrmMain.Designer.cs +++ b/插件库/Lskj.PubTabDll/FrmMain.Designer.cs @@ -29,4 +29,4 @@ namespace Lskj.PubTabDll /// private void InitializeComponent() { - this \ No newline at end of file + \ No newline at end of file diff --git a/插件库/Lskj.PubTabDll/FrmMain.cs b/插件库/Lskj.PubTabDll/FrmMain.cs index 9b0f5d0..cb6129c 100644 Binary files a/插件库/Lskj.PubTabDll/FrmMain.cs and b/插件库/Lskj.PubTabDll/FrmMain.cs differ diff --git a/插件库/Lskj.PubTabDll/TabDllEx.Designer.cs b/插件库/Lskj.PubTabDll/TabDllEx.Designer.cs index 0c634f1..3238567 100644 --- a/插件库/Lskj.PubTabDll/TabDllEx.Designer.cs +++ b/插件库/Lskj.PubTabDll/TabDllEx.Designer.cs @@ -29,11 +29,11 @@ namespace Lskj.PubTabDll /// private void InitializeComponent() { - this.xtc_container = new DevExpress.XtraTab.XtraTabControl(); - ((System.ComponentModel.ISupportInitialize)(this.xtc_container)).BeginInit(); + this.xtraTabControl = new DevExpress.XtraTab.XtraTabControl(); + ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl)).BeginInit(); this.SuspendLayout(); // - // xtc_container + // xtraTabControl // - this.xtc_container.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; - \ No newline at end of file + this.xtraTabControl.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; + this \ No newline at end of file diff --git a/插件库/Lskj.PubTabDll/TabDllEx.cs b/插件库/Lskj.PubTabDll/TabDllEx.cs index 946bb43..144ef76 100644 --- a/插件库/Lskj.PubTabDll/TabDllEx.cs +++ b/插件库/Lskj.PubTabDll/TabDllEx.cs @@ -20,18 +20,15 @@ namespace Lskj.PubTabDll { InitializeComponent(); } - - public void InitTabPages(List gridDetail) + public void InitTabPages(List gridDetail) { foreach (string item in gridDetail) { - DataRow dataRow= MainImpl.GetModuleInformation(item); + DataRow dataRow = MainImpl.GetModuleInformation(item); if (dataRow == null) continue; - // 验证权限 - int purview = MainImpl.GetUserPurviewsByMenuId(dataRow["MenuId"] + ""); + int purview = BaseImpl.GetUserPurviewsByMenuId(dataRow["MenuId"] + ""); if (purview == 0) continue; - string[] args = new string[]{ dataRow["MenuCaption"] + "", ERPInfo.Instance.UserId, @@ -40,6 +37,5 @@ namespace Lskj.PubTabDll dataRow["UrlParams"] + "", dataRow["MenuId"] + "" }; - XtraTabPage tp = new XtraTabPage(); - IForm iform = FormHelper.LoadDllForm(dataRow["DllFileName"] + "", args); \ No newline at end of file + IForm iform = FormHelper.LoadDllFo \ No newline at end of file