diff --git a/插件库/Lskj.PubTabDll/DllBaseClass.cs b/插件库/Lskj.PubTabDll/DllBaseClass.cs
new file mode 100644
index 0000000..f25ab17
--- /dev/null
+++ b/插件库/Lskj.PubTabDll/DllBaseClass.cs
@@ -0,0 +1,2 @@
+using System;
+using System.Collections.Generi
\ No newline at end of file
diff --git a/插件库/Lskj.PubTabDll/FrmMain.Designer.cs b/插件库/Lskj.PubTabDll/FrmMain.Designer.cs
new file mode 100644
index 0000000..e3db47c
--- /dev/null
+++ b/插件库/Lskj.PubTabDll/FrmMain.Designer.cs
@@ -0,0 +1,32 @@
+
+namespace Lskj.PubTabDll
+{
+ partial class FrmMain
+ {
+ ///
+ /// 必需的设计器变量。
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// 清理所有正在使用的资源。
+ ///
+ /// 如果应释放托管资源,为 true;否则为 false。
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows 窗体设计器生成的代码
+
+ ///
+ /// 设计器支持所需的方法 - 不要修改
+ /// 使用代码编辑器修改此方法的内容。
+ ///
+ private void InitializeComponent()
+ {
+ this
\ No newline at end of file
diff --git a/插件库/Lskj.PubTabDll/FrmMain.cs b/插件库/Lskj.PubTabDll/FrmMain.cs
new file mode 100644
index 0000000..9b0f5d0
Binary files /dev/null and b/插件库/Lskj.PubTabDll/FrmMain.cs differ
diff --git a/插件库/Lskj.PubTabDll/FrmMain.resx b/插件库/Lskj.PubTabDll/FrmMain.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/插件库/Lskj.PubTabDll/FrmMain.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/插件库/Lskj.PubTabDll/Lskj.PubTabDll.csproj b/插件库/Lskj.PubTabDll/Lskj.PubTabDll.csproj
new file mode 100644
index 0000000..16e9604
--- /dev/null
+++ b/插件库/Lskj.PubTabDll/Lskj.PubTabDll.csproj
@@ -0,0 +1,112 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {AEB20C62-D8DE-4ADC-85C7-4BCF3D6AA950}
+ Library
+ Lskj.PubTabDll
+ Lskj.PubTabDll
+ v4.0
+ 512
+ true
+
+
+ x86
+ true
+ full
+ false
+ ..\..\Debug\Lib\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Form
+
+
+ FrmMain.cs
+
+
+
+
+ UserControl
+
+
+ TabDllEx.cs
+
+
+ FrmMain.cs
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+ Designer
+
+
+ True
+ Resources.resx
+
+
+ TabDllEx.cs
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+ True
+ Settings.settings
+ True
+
+
+
+
+ {7eafccc2-a18f-49e9-85c6-a984966cfd01}
+ Lskj.Business
+
+
+ {52BC40E0-C0C6-4F78-996B-CAE028D209CA}
+ Lskj.Model
+
+
+ {A51BF642-6543-4DE3-8948-83F558B72BD4}
+ Lskj.Util
+
+
+
+
\ No newline at end of file
diff --git a/插件库/Lskj.PubTabDll/Program.cs b/插件库/Lskj.PubTabDll/Program.cs
new file mode 100644
index 0000000..780f5af
Binary files /dev/null and b/插件库/Lskj.PubTabDll/Program.cs differ
diff --git a/插件库/Lskj.PubTabDll/Properties/AssemblyInfo.cs b/插件库/Lskj.PubTabDll/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..360cf8f
--- /dev/null
+++ b/插件库/Lskj.PubTabDll/Properties/AssemblyInfo.cs
@@ -0,0 +1,9 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// 有关程序集的一般信息由以下
+// 控制。更改这些特性值可修改
+// 与程序集关联的信息。
+[assembly: AssemblyTitle("Lskj.PubTabDll")]
+[assembly: Assembl
\ No newline at end of file
diff --git a/插件库/Lskj.PubTabDll/Properties/Resources.Designer.cs b/插件库/Lskj.PubTabDll/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..466ddab
--- /dev/null
+++ b/插件库/Lskj.PubTabDll/Properties/Resources.Designer.cs
@@ -0,0 +1,40 @@
+//------------------------------------------------------------------------------
+//
+// 此代码由工具生成。
+// 运行时版本: 4.0.30319.42000
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+//
+//------------------------------------------------------------------------------
+
+
+namespace Lskj.PubTabDll.Properties
+{
+ ///
+ /// 强类型资源类,用于查找本地化字符串等。
+ ///
+ // 此类是由 StronglyTypedResourceBuilder
+ // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
+ // 若要添加或删除成员,请编辑 .ResX 文件,然后重新运行 ResGen
+ // (以 /str 作为命令选项),或重新生成 VS 项目。
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources
+ {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources()
+ {
+ }
+
+ ///
+ /// 返回此类使用的缓存 ResourceManager 实例。
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceM
\ No newline at end of file
diff --git a/插件库/Lskj.PubTabDll/Properties/Resources.resx b/插件库/Lskj.PubTabDll/Properties/Resources.resx
new file mode 100644
index 0000000..af7dbeb
--- /dev/null
+++ b/插件库/Lskj.PubTabDll/Properties/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/插件库/Lskj.PubTabDll/Properties/Settings.Designer.cs b/插件库/Lskj.PubTabDll/Properties/Settings.Designer.cs
new file mode 100644
index 0000000..9e34e97
--- /dev/null
+++ b/插件库/Lskj.PubTabDll/Properties/Settings.Designer.cs
@@ -0,0 +1 @@
+//----------------------------------------------------------------------
\ No newline at end of file
diff --git a/插件库/Lskj.PubTabDll/Properties/Settings.settings b/插件库/Lskj.PubTabDll/Properties/Settings.settings
new file mode 100644
index 0000000..3964565
--- /dev/null
+++ b/插件库/Lskj.PubTabDll/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/插件库/Lskj.PubTabDll/TabDllEx.Designer.cs b/插件库/Lskj.PubTabDll/TabDllEx.Designer.cs
new file mode 100644
index 0000000..0c634f1
--- /dev/null
+++ b/插件库/Lskj.PubTabDll/TabDllEx.Designer.cs
@@ -0,0 +1,39 @@
+
+namespace Lskj.PubTabDll
+{
+ partial class TabDllEx
+ {
+ ///
+ /// 必需的设计器变量。
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// 清理所有正在使用的资源。
+ ///
+ /// 如果应释放托管资源,为 true;否则为 false。
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region 组件设计器生成的代码
+
+ ///
+ /// 设计器支持所需的方法 - 不要修改
+ /// 使用代码编辑器修改此方法的内容。
+ ///
+ private void InitializeComponent()
+ {
+ this.xtc_container = new DevExpress.XtraTab.XtraTabControl();
+ ((System.ComponentModel.ISupportInitialize)(this.xtc_container)).BeginInit();
+ this.SuspendLayout();
+ //
+ // xtc_container
+ //
+ this.xtc_container.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
+
\ No newline at end of file
diff --git a/插件库/Lskj.PubTabDll/TabDllEx.cs b/插件库/Lskj.PubTabDll/TabDllEx.cs
new file mode 100644
index 0000000..946bb43
--- /dev/null
+++ b/插件库/Lskj.PubTabDll/TabDllEx.cs
@@ -0,0 +1,45 @@
+using DevExpress.Utils;
+using DevExpress.XtraTab;
+using Lskj.Business.Impl;
+using Lskj.Model;
+using Lskj.Util;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+
+namespace Lskj.PubTabDll
+{
+ public partial class TabDllEx : UserControl
+ {
+ public TabDllEx()
+ {
+ InitializeComponent();
+ }
+
+ public void InitTabPages(List gridDetail)
+ {
+ foreach (string item in gridDetail)
+ {
+ DataRow dataRow= MainImpl.GetModuleInformation(item);
+ if (dataRow == null) continue;
+
+ // 验证权限
+ int purview = MainImpl.GetUserPurviewsByMenuId(dataRow["MenuId"] + "");
+ if (purview == 0) continue;
+
+ string[] args = new string[]{
+ dataRow["MenuCaption"] + "",
+ ERPInfo.Instance.UserId,
+ ERPInfo.Instance.UserName,
+ purview + "",
+ dataRow["UrlParams"] + "",
+ dataRow["MenuId"] + ""
+ };
+
+ XtraTabPage tp = new XtraTabPage();
+ IForm iform = FormHelper.LoadDllForm(dataRow["DllFileName"] + "", args);
\ No newline at end of file
diff --git a/插件库/Lskj.PubTabDll/TabDllEx.resx b/插件库/Lskj.PubTabDll/TabDllEx.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/插件库/Lskj.PubTabDll/TabDllEx.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file