SVN r299
SVN-Revision: r299
This commit is contained in:
Generated
+1
-1
@@ -29,4 +29,4 @@ namespace Lskj.PubTabDll
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this
|
||||
|
||||
Binary file not shown.
Generated
+5
-5
@@ -29,11 +29,11 @@ namespace Lskj.PubTabDll
|
||||
/// </summary>
|
||||
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;
|
||||
|
||||
this.xtraTabControl.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
||||
this
|
||||
@@ -20,18 +20,15 @@ namespace Lskj.PubTabDll
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void InitTabPages(List<string> gridDetail)
|
||||
public void InitTabPages(List<string> 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);
|
||||
IForm iform = FormHelper.LoadDllFo
|
||||
Reference in New Issue
Block a user