Exemplo n.º 1
0
    private void BindPage()
    {
        int            roleId          = Convert.ToInt32(Request.QueryString["roleId"]);
        IList <SysFun> parentLists     = SysFunManager.GetParentNodeByRoleId(roleId);
        IList <SysFun> sysLists        = SysFunManager.GetAllParentSys();
        ArrayList      currentSysLists = new ArrayList();

        foreach (SysFun currentSys in parentLists)
        {
            currentSysLists.Add(currentSys.NodeId.ToString());
        }
        foreach (SysFun sys in sysLists)
        {
            RoleUserControl ruc = LoadControl("~/UserControl/RoleUserControl.ascx") as RoleUserControl;

            //父节点
            CheckBox parentcb = ruc.FindControl("chkParentMenu") as CheckBox;
            ruc.RoleId       = roleId;
            ruc.ParentNodeId = sys.NodeId;
            parentcb.Text    = sys.DisplayName;
            //因为JS通过控件ID控制复选框的原因  不能为下面的控件设ID
            // parentcb.ID = sys.NodeId.ToString();
            if (currentSysLists.Contains(sys.NodeId.ToString()))
            {
                parentcb.Checked = true;
            }

            this.phRoleDistribute.Controls.Add(ruc);
        }
    }
Exemplo n.º 2
0
    //保存
    protected void btnSave_Click(object sender, EventArgs e)
    {
        try
        {
            int roleId = Convert.ToInt32(Request.QueryString["roleId"]);
            RoleRightManager.delRoleRightByRoleId(roleId);
            ArrayList selectedSysLists = new ArrayList();
            foreach (Control cn in this.phRoleDistribute.Controls)
            {
                RoleUserControl ruc      = cn as RoleUserControl;
                CheckBox        parentcb = ruc.FindControl("chkParentMenu") as CheckBox;
                if (parentcb.Checked)
                {
                    selectedSysLists.Add(ruc.ParentNodeId);
                }
                CheckBoxList cbl = ruc.FindControl("chklstChildMenu") as CheckBoxList;
                foreach (ListItem li in cbl.Items)
                {
                    if (li.Selected)
                    {
                        selectedSysLists.Add(li.Value);
                    }
                }
            }


            foreach (object nodeIdObj in selectedSysLists)
            {
                int nodeId = Convert.ToInt32(nodeIdObj);
                RoleRightManager.AddRight(roleId, nodeId);
            }
            this.Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('修改成功!');location='RoleManage.aspx'</script>");
        }
        catch (Exception ex)
        {
            this.Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('修改失败!');location='RoleManage.aspx'</script>");
        }
    }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RoleManageForm));
     FengSharp.OneCardAccess.Infrastructure.TreeLevel treeLevel4 = new FengSharp.OneCardAccess.Infrastructure.TreeLevel();
     FengSharp.OneCardAccess.Infrastructure.TreeLevel treeLevel5 = new FengSharp.OneCardAccess.Infrastructure.TreeLevel();
     FengSharp.OneCardAccess.Infrastructure.TreeLevel treeLevel3 = new FengSharp.OneCardAccess.Infrastructure.TreeLevel();
     this.treeList1 = new DevExpress.XtraTreeList.TreeList();
     this.tcolRoleNo = new DevExpress.XtraTreeList.Columns.TreeListColumn();
     this.tcolRoleName = new DevExpress.XtraTreeList.Columns.TreeListColumn();
     this.imageCollection1 = new DevExpress.Utils.ImageCollection(this.components);
     this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
     this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
     this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
     this.roleUserControl1 = new FengSharp.OneCardAccess.Presentation.IntegeatedManage.SystemSet.RoleUserControl();
     this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
     this.roleMenuControl1 = new FengSharp.OneCardAccess.Presentation.IntegeatedManage.SystemSet.RoleMenuControl();
     this.xtraTabPage3 = new DevExpress.XtraTab.XtraTabPage();
     this.roleActionControl1 = new FengSharp.OneCardAccess.Presentation.IntegeatedManage.SystemSet.RoleActionControl();
     this.xtraTabPage4 = new DevExpress.XtraTab.XtraTabPage();
     this.roleStockControl1 = new FengSharp.OneCardAccess.Presentation.IntegeatedManage.SystemSet.RoleStockControl();
     this.xtraTabPage5 = new DevExpress.XtraTab.XtraTabPage();
     this.roleProductControl1 = new FengSharp.OneCardAccess.Presentation.IntegeatedManage.SystemSet.RoleProductControl();
     this.xtraTabPage6 = new DevExpress.XtraTab.XtraTabPage();
     this.roleCompanyControl1 = new FengSharp.OneCardAccess.Presentation.IntegeatedManage.SystemSet.RoleCompanyControl();
     this.btnAdd = new DevExpress.XtraEditors.SimpleButton();
     this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
     this.btnSetLockEnable = new DevExpress.XtraEditors.SimpleButton();
     this.lblCurrentRole = new DevExpress.XtraEditors.LabelControl();
     this.btnDelete = new DevExpress.XtraEditors.SimpleButton();
     this.btnCopyAdd = new DevExpress.XtraEditors.SimpleButton();
     this.btnEditView = new DevExpress.XtraEditors.SimpleButton();
     this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
     this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
     this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
     this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
     this.treeListQuickFindStyle1 = new FengSharp.OneCardAccess.Infrastructure.WinForm.Components.TreeListQuickFindStyle(this.components);
     this.treeList_ShowLine1 = new FengSharp.WinForm.Dev.Components.TreeList_ShowLine(this.components);
     this.treeList_HotTrack1 = new FengSharp.WinForm.Dev.Components.TreeList_HotTrack(this.components);
     this.mainFormMdiProvider1 = new FengSharp.OneCardAccess.Infrastructure.WinForm.Components.MainFormMdiProvider(this.components);
     this.formLoadErrorExit1 = new FengSharp.OneCardAccess.Infrastructure.WinForm.Components.FormLoadErrorExit(this.components);
     this.xtraTabPage7 = new DevExpress.XtraTab.XtraTabPage();
     this.roleRawMateControl1 = new FengSharp.OneCardAccess.Presentation.IntegeatedManage.SystemSet.RoleRawMateControl();
     ((System.ComponentModel.ISupportInitialize)(this.treeList1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.imageCollection1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
     this.splitContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
     this.xtraTabControl1.SuspendLayout();
     this.xtraTabPage1.SuspendLayout();
     this.xtraTabPage2.SuspendLayout();
     this.xtraTabPage3.SuspendLayout();
     this.xtraTabPage4.SuspendLayout();
     this.xtraTabPage5.SuspendLayout();
     this.xtraTabPage6.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
     this.layoutControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
     this.xtraTabPage7.SuspendLayout();
     this.SuspendLayout();
     //
     // treeList1
     //
     this.treeList1.Appearance.EvenRow.BackColor = System.Drawing.Color.LightYellow;
     this.treeList1.Appearance.EvenRow.Options.UseBackColor = true;
     this.treeList1.Appearance.OddRow.BackColor = System.Drawing.Color.White;
     this.treeList1.Appearance.OddRow.Options.UseBackColor = true;
     this.treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] {
     this.tcolRoleNo,
     this.tcolRoleName});
     this.treeList1.ColumnsImageList = this.imageCollection1;
     this.treeList1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.treeListQuickFindStyle1.SetEnableFocusedColumnQuickQuery(this.treeList1, true);
     this.treeList_HotTrack1.SetEnableHotTrack(this.treeList1, true);
     this.treeList_HotTrack1.SetHotTrackColor(this.treeList1, System.Drawing.Color.FromArgb(((int)(((byte)(213)))), ((int)(((byte)(232)))), ((int)(((byte)(255))))));
     this.treeList1.IndicatorWidth = 40;
     this.treeList1.KeyFieldName = "RoleId";
     this.treeList_ShowLine1.SetLineNoFormatString(this.treeList1, "{0}");
     this.treeList1.Location = new System.Drawing.Point(0, 0);
     this.treeList1.Name = "treeList1";
     this.treeList1.OptionsBehavior.Editable = false;
     this.treeList1.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.treeList1.OptionsSelection.UseIndicatorForSelection = true;
     this.treeList1.OptionsView.EnableAppearanceEvenRow = true;
     this.treeList1.OptionsView.EnableAppearanceOddRow = true;
     this.treeList1.ParentFieldName = "ParentRoleId";
     this.treeList1.SelectImageList = this.imageCollection1;
     this.treeList_ShowLine1.SetShowLineNo(this.treeList1, true);
     this.treeList1.Size = new System.Drawing.Size(322, 556);
     this.treeList1.StateImageList = this.imageCollection1;
     this.treeList1.TabIndex = 0;
     this.treeList1.FocusedNodeChanged += new DevExpress.XtraTreeList.FocusedNodeChangedEventHandler(this.treeList1_FocusedNodeChanged);
     this.treeList1.CustomDrawNodeImages += new DevExpress.XtraTreeList.CustomDrawNodeImagesEventHandler(this.treeList1_CustomDrawNodeImages);
     this.treeList1.DoubleClick += new System.EventHandler(this.treeList1_DoubleClick);
     //
     // tcolRoleNo
     //
     this.tcolRoleNo.Caption = "角色编号";
     this.tcolRoleNo.FieldName = "RoleNo";
     this.tcolRoleNo.MinWidth = 49;
     this.tcolRoleNo.Name = "tcolRoleNo";
     this.tcolRoleNo.Visible = true;
     this.tcolRoleNo.VisibleIndex = 0;
     this.tcolRoleNo.Width = 150;
     //
     // tcolRoleName
     //
     this.tcolRoleName.Caption = "角色列表";
     this.tcolRoleName.FieldName = "RoleName";
     this.tcolRoleName.MinWidth = 65;
     this.tcolRoleName.Name = "tcolRoleName";
     this.tcolRoleName.Visible = true;
     this.tcolRoleName.VisibleIndex = 1;
     this.tcolRoleName.Width = 130;
     //
     // imageCollection1
     //
     this.imageCollection1.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("imageCollection1.ImageStream")));
     this.imageCollection1.InsertGalleryImage("rootnode", "images/people/team_16x16.png", DevExpress.Images.ImageResourceCache.Default.GetImage("images/people/team_16x16.png"), 0);
     this.imageCollection1.Images.SetKeyName(0, "rootnode");
     this.imageCollection1.InsertGalleryImage("childnode", "images/people/employee_16x16.png", DevExpress.Images.ImageResourceCache.Default.GetImage("images/people/employee_16x16.png"), 1);
     this.imageCollection1.Images.SetKeyName(1, "childnode");
     //
     // splitContainerControl1
     //
     this.splitContainerControl1.Location = new System.Drawing.Point(6, 32);
     this.splitContainerControl1.Name = "splitContainerControl1";
     this.splitContainerControl1.Panel1.Controls.Add(this.treeList1);
     this.splitContainerControl1.Panel1.Text = "Panel1";
     this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControl1);
     this.splitContainerControl1.Panel2.Text = "Panel2";
     this.splitContainerControl1.Size = new System.Drawing.Size(1147, 556);
     this.splitContainerControl1.SplitterPosition = 322;
     this.splitContainerControl1.TabIndex = 1;
     this.splitContainerControl1.Text = "splitContainerControl1";
     //
     // xtraTabControl1
     //
     this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.xtraTabControl1.Location = new System.Drawing.Point(0, 0);
     this.xtraTabControl1.Name = "xtraTabControl1";
     this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1;
     this.xtraTabControl1.Size = new System.Drawing.Size(820, 556);
     this.xtraTabControl1.TabIndex = 0;
     this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
     this.xtraTabPage1,
     this.xtraTabPage2,
     this.xtraTabPage3,
     this.xtraTabPage4,
     this.xtraTabPage5,
     this.xtraTabPage6,
     this.xtraTabPage7});
     this.xtraTabControl1.SelectedPageChanged += new DevExpress.XtraTab.TabPageChangedEventHandler(this.xtraTabControl1_SelectedPageChanged);
     this.xtraTabControl1.SelectedPageChanging += new DevExpress.XtraTab.TabPageChangingEventHandler(this.xtraTabControl1_SelectedPageChanging);
     //
     // xtraTabPage1
     //
     this.xtraTabPage1.Controls.Add(this.roleUserControl1);
     this.xtraTabPage1.Name = "xtraTabPage1";
     this.xtraTabPage1.Size = new System.Drawing.Size(814, 528);
     this.xtraTabPage1.Text = "角色用户";
     //
     // roleUserControl1
     //
     this.roleUserControl1.CurrentBindEntity = null;
     this.roleUserControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.roleUserControl1.Location = new System.Drawing.Point(0, 0);
     this.roleUserControl1.Name = "roleUserControl1";
     this.roleUserControl1.Size = new System.Drawing.Size(814, 528);
     this.roleUserControl1.TabIndex = 0;
     //
     // xtraTabPage2
     //
     this.xtraTabPage2.Controls.Add(this.roleMenuControl1);
     this.xtraTabPage2.Name = "xtraTabPage2";
     this.xtraTabPage2.Size = new System.Drawing.Size(814, 528);
     this.xtraTabPage2.Text = "角色菜单";
     //
     // roleMenuControl1
     //
     this.roleMenuControl1.CurrentBindEntity = null;
     this.roleMenuControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.roleMenuControl1.Facade = null;
     this.roleMenuControl1.Location = new System.Drawing.Point(0, 0);
     this.roleMenuControl1.Name = "roleMenuControl1";
     this.roleMenuControl1.Size = new System.Drawing.Size(814, 528);
     this.roleMenuControl1.TabIndex = 0;
     //
     // xtraTabPage3
     //
     this.xtraTabPage3.Controls.Add(this.roleActionControl1);
     this.xtraTabPage3.Name = "xtraTabPage3";
     this.xtraTabPage3.Size = new System.Drawing.Size(814, 528);
     this.xtraTabPage3.Text = "角色权限";
     //
     // roleActionControl1
     //
     this.roleActionControl1.CurrentBindEntity = null;
     this.roleActionControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.roleActionControl1.Facade = null;
     this.roleActionControl1.Location = new System.Drawing.Point(0, 0);
     this.roleActionControl1.Name = "roleActionControl1";
     this.roleActionControl1.Size = new System.Drawing.Size(814, 528);
     this.roleActionControl1.TabIndex = 0;
     //
     // xtraTabPage4
     //
     this.xtraTabPage4.Controls.Add(this.roleStockControl1);
     this.xtraTabPage4.Name = "xtraTabPage4";
     this.xtraTabPage4.Size = new System.Drawing.Size(814, 528);
     this.xtraTabPage4.Text = "仓库授权";
     //
     // roleStockControl1
     //
     this.roleStockControl1.CurrentBindEntity = null;
     this.roleStockControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.roleStockControl1.Facade = null;
     this.roleStockControl1.Location = new System.Drawing.Point(0, 0);
     this.roleStockControl1.Name = "roleStockControl1";
     this.roleStockControl1.Size = new System.Drawing.Size(814, 528);
     this.roleStockControl1.TabIndex = 4;
     //
     // xtraTabPage5
     //
     this.xtraTabPage5.Controls.Add(this.roleProductControl1);
     this.xtraTabPage5.Name = "xtraTabPage5";
     this.xtraTabPage5.Size = new System.Drawing.Size(814, 528);
     this.xtraTabPage5.Text = "产品授权";
     //
     // roleProductControl1
     //
     this.roleProductControl1.CurrentBindEntity = null;
     this.roleProductControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.roleProductControl1.Facade = null;
     this.roleProductControl1.Location = new System.Drawing.Point(0, 0);
     this.roleProductControl1.Name = "roleProductControl1";
     this.roleProductControl1.Size = new System.Drawing.Size(814, 528);
     this.roleProductControl1.TabIndex = 0;
     treeLevel4.Level_Deep = 0;
     treeLevel4.PId = 0;
     this.roleProductControl1.TreeLevel = treeLevel4;
     //
     // xtraTabPage6
     //
     this.xtraTabPage6.Controls.Add(this.roleCompanyControl1);
     this.xtraTabPage6.Name = "xtraTabPage6";
     this.xtraTabPage6.Size = new System.Drawing.Size(814, 528);
     this.xtraTabPage6.Text = "往来单位授权";
     //
     // roleCompanyControl1
     //
     this.roleCompanyControl1.CurrentBindEntity = null;
     this.roleCompanyControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.roleCompanyControl1.Facade = null;
     this.roleCompanyControl1.Location = new System.Drawing.Point(0, 0);
     this.roleCompanyControl1.Name = "roleCompanyControl1";
     this.roleCompanyControl1.Size = new System.Drawing.Size(814, 528);
     this.roleCompanyControl1.TabIndex = 0;
     treeLevel5.Level_Deep = 0;
     treeLevel5.PId = 0;
     this.roleCompanyControl1.TreeLevel = treeLevel5;
     //
     // btnAdd
     //
     this.btnAdd.Image = ((System.Drawing.Image)(resources.GetObject("btnAdd.Image")));
     this.btnAdd.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter;
     this.btnAdd.Location = new System.Drawing.Point(6, 6);
     this.btnAdd.Name = "btnAdd";
     this.btnAdd.Size = new System.Drawing.Size(80, 22);
     this.btnAdd.StyleController = this.layoutControl1;
     this.btnAdd.TabIndex = 2;
     this.btnAdd.Text = "新增(&A)";
     this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
     //
     // layoutControl1
     //
     this.layoutControl1.Controls.Add(this.btnSetLockEnable);
     this.layoutControl1.Controls.Add(this.lblCurrentRole);
     this.layoutControl1.Controls.Add(this.splitContainerControl1);
     this.layoutControl1.Controls.Add(this.btnDelete);
     this.layoutControl1.Controls.Add(this.btnCopyAdd);
     this.layoutControl1.Controls.Add(this.btnEditView);
     this.layoutControl1.Controls.Add(this.btnAdd);
     this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.layoutControl1.Location = new System.Drawing.Point(0, 0);
     this.layoutControl1.Name = "layoutControl1";
     this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(103, 284, 1053, 778);
     this.layoutControl1.OptionsItemText.TextAlignMode = DevExpress.XtraLayout.TextAlignMode.AlignInGroups;
     this.layoutControl1.Root = this.Root;
     this.layoutControl1.Size = new System.Drawing.Size(1159, 594);
     this.layoutControl1.TabIndex = 6;
     this.layoutControl1.Text = "layoutControl1";
     //
     // btnSetLockEnable
     //
     this.btnSetLockEnable.Location = new System.Drawing.Point(342, 6);
     this.btnSetLockEnable.Name = "btnSetLockEnable";
     this.btnSetLockEnable.Size = new System.Drawing.Size(80, 22);
     this.btnSetLockEnable.StyleController = this.layoutControl1;
     this.btnSetLockEnable.TabIndex = 1;
     this.btnSetLockEnable.Text = "禁用角色";
     this.btnSetLockEnable.Click += new System.EventHandler(this.btnSetLockEnable_Click);
     //
     // lblCurrentRole
     //
     this.lblCurrentRole.Location = new System.Drawing.Point(489, 10);
     this.lblCurrentRole.Name = "lblCurrentRole";
     this.lblCurrentRole.Size = new System.Drawing.Size(63, 13);
     this.lblCurrentRole.StyleController = this.layoutControl1;
     this.lblCurrentRole.TabIndex = 6;
     this.lblCurrentRole.Text = "labelControl1";
     //
     // btnDelete
     //
     this.btnDelete.Image = ((System.Drawing.Image)(resources.GetObject("btnDelete.Image")));
     this.btnDelete.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter;
     this.btnDelete.Location = new System.Drawing.Point(258, 6);
     this.btnDelete.Name = "btnDelete";
     this.btnDelete.Size = new System.Drawing.Size(80, 22);
     this.btnDelete.StyleController = this.layoutControl1;
     this.btnDelete.TabIndex = 5;
     this.btnDelete.Text = "删除(&D)";
     this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
     //
     // btnCopyAdd
     //
     this.btnCopyAdd.Image = ((System.Drawing.Image)(resources.GetObject("btnCopyAdd.Image")));
     this.btnCopyAdd.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter;
     this.btnCopyAdd.Location = new System.Drawing.Point(90, 6);
     this.btnCopyAdd.Name = "btnCopyAdd";
     this.btnCopyAdd.Size = new System.Drawing.Size(80, 22);
     this.btnCopyAdd.StyleController = this.layoutControl1;
     this.btnCopyAdd.TabIndex = 3;
     this.btnCopyAdd.Text = "复制新增";
     this.btnCopyAdd.Click += new System.EventHandler(this.btnCopyAdd_Click);
     //
     // btnEditView
     //
     this.btnEditView.Image = ((System.Drawing.Image)(resources.GetObject("btnEditView.Image")));
     this.btnEditView.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter;
     this.btnEditView.Location = new System.Drawing.Point(174, 6);
     this.btnEditView.Name = "btnEditView";
     this.btnEditView.Size = new System.Drawing.Size(80, 22);
     this.btnEditView.StyleController = this.layoutControl1;
     this.btnEditView.TabIndex = 4;
     this.btnEditView.Text = "编辑(&E)";
     this.btnEditView.Click += new System.EventHandler(this.btnEditView_Click);
     //
     // Root
     //
     this.Root.CustomizationFormText = "Root";
     this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
     this.layoutControlItem1,
     this.layoutControlItem2,
     this.layoutControlItem3,
     this.layoutControlItem4,
     this.emptySpaceItem1,
     this.layoutControlItem5,
     this.layoutControlItem6,
     this.layoutControlItem7});
     this.Root.Location = new System.Drawing.Point(0, 0);
     this.Root.Name = "Root";
     this.Root.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3);
     this.Root.Size = new System.Drawing.Size(1159, 594);
     this.Root.TextVisible = false;
     //
     // layoutControlItem1
     //
     this.layoutControlItem1.Control = this.btnAdd;
     this.layoutControlItem1.CustomizationFormText = "layoutControlItem1";
     this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
     this.layoutControlItem1.MaxSize = new System.Drawing.Size(84, 26);
     this.layoutControlItem1.MinSize = new System.Drawing.Size(84, 26);
     this.layoutControlItem1.Name = "layoutControlItem1";
     this.layoutControlItem1.Size = new System.Drawing.Size(84, 26);
     this.layoutControlItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
     this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem1.TextVisible = false;
     //
     // layoutControlItem2
     //
     this.layoutControlItem2.Control = this.btnCopyAdd;
     this.layoutControlItem2.CustomizationFormText = "layoutControlItem2";
     this.layoutControlItem2.Location = new System.Drawing.Point(84, 0);
     this.layoutControlItem2.MaxSize = new System.Drawing.Size(84, 26);
     this.layoutControlItem2.MinSize = new System.Drawing.Size(84, 26);
     this.layoutControlItem2.Name = "layoutControlItem2";
     this.layoutControlItem2.Size = new System.Drawing.Size(84, 26);
     this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
     this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem2.TextVisible = false;
     //
     // layoutControlItem3
     //
     this.layoutControlItem3.Control = this.btnEditView;
     this.layoutControlItem3.CustomizationFormText = "layoutControlItem3";
     this.layoutControlItem3.Location = new System.Drawing.Point(168, 0);
     this.layoutControlItem3.MaxSize = new System.Drawing.Size(84, 26);
     this.layoutControlItem3.MinSize = new System.Drawing.Size(84, 26);
     this.layoutControlItem3.Name = "layoutControlItem3";
     this.layoutControlItem3.Size = new System.Drawing.Size(84, 26);
     this.layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
     this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem3.TextVisible = false;
     //
     // layoutControlItem4
     //
     this.layoutControlItem4.Control = this.btnDelete;
     this.layoutControlItem4.CustomizationFormText = "layoutControlItem4";
     this.layoutControlItem4.FillControlToClientArea = false;
     this.layoutControlItem4.Location = new System.Drawing.Point(252, 0);
     this.layoutControlItem4.MaxSize = new System.Drawing.Size(84, 26);
     this.layoutControlItem4.MinSize = new System.Drawing.Size(84, 26);
     this.layoutControlItem4.Name = "layoutControlItem4";
     this.layoutControlItem4.Size = new System.Drawing.Size(84, 26);
     this.layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
     this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem4.TextVisible = false;
     //
     // emptySpaceItem1
     //
     this.emptySpaceItem1.AllowHotTrack = false;
     this.emptySpaceItem1.CustomizationFormText = "emptySpaceItem1";
     this.emptySpaceItem1.Location = new System.Drawing.Point(550, 0);
     this.emptySpaceItem1.Name = "emptySpaceItem1";
     this.emptySpaceItem1.Size = new System.Drawing.Size(601, 26);
     this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
     //
     // layoutControlItem5
     //
     this.layoutControlItem5.Control = this.splitContainerControl1;
     this.layoutControlItem5.CustomizationFormText = "layoutControlItem5";
     this.layoutControlItem5.Location = new System.Drawing.Point(0, 26);
     this.layoutControlItem5.Name = "layoutControlItem5";
     this.layoutControlItem5.Size = new System.Drawing.Size(1151, 560);
     this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem5.TextVisible = false;
     //
     // layoutControlItem6
     //
     this.layoutControlItem6.Control = this.lblCurrentRole;
     this.layoutControlItem6.ControlAlignment = System.Drawing.ContentAlignment.MiddleLeft;
     this.layoutControlItem6.CustomizationFormText = "当前角色:";
     this.layoutControlItem6.Location = new System.Drawing.Point(420, 0);
     this.layoutControlItem6.Name = "layoutControlItem6";
     this.layoutControlItem6.Size = new System.Drawing.Size(130, 26);
     this.layoutControlItem6.Text = "当前角色:";
     this.layoutControlItem6.TextSize = new System.Drawing.Size(60, 13);
     this.layoutControlItem6.TrimClientAreaToControl = false;
     //
     // layoutControlItem7
     //
     this.layoutControlItem7.Control = this.btnSetLockEnable;
     this.layoutControlItem7.CustomizationFormText = "layoutControlItem7";
     this.layoutControlItem7.Location = new System.Drawing.Point(336, 0);
     this.layoutControlItem7.MaxSize = new System.Drawing.Size(84, 26);
     this.layoutControlItem7.MinSize = new System.Drawing.Size(84, 26);
     this.layoutControlItem7.Name = "layoutControlItem7";
     this.layoutControlItem7.Size = new System.Drawing.Size(84, 26);
     this.layoutControlItem7.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
     this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem7.TextVisible = false;
     //
     // xtraTabPage7
     //
     this.xtraTabPage7.Controls.Add(this.roleRawMateControl1);
     this.xtraTabPage7.Name = "xtraTabPage7";
     this.xtraTabPage7.Size = new System.Drawing.Size(814, 528);
     this.xtraTabPage7.Text = "原材料授权";
     //
     // roleRawMateControl1
     //
     this.roleRawMateControl1.CurrentBindEntity = null;
     this.roleRawMateControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.roleRawMateControl1.Facade = null;
     this.roleRawMateControl1.Location = new System.Drawing.Point(0, 0);
     this.roleRawMateControl1.Name = "roleRawMateControl1";
     this.roleRawMateControl1.Size = new System.Drawing.Size(814, 528);
     this.roleRawMateControl1.TabIndex = 0;
     treeLevel3.Level_Deep = 0;
     treeLevel3.PId = 0;
     this.roleRawMateControl1.TreeLevel = treeLevel3;
     //
     // RoleManageForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(1159, 594);
     this.Controls.Add(this.layoutControl1);
     this.formLoadErrorExit1.SetEnableLoadError(this, true);
     this.mainFormMdiProvider1.SetEnableMainFormMdi(this, true);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "RoleManageForm";
     this.Text = "角色管理";
     this.Load += new System.EventHandler(this.RoleManage_Load);
     this.Shown += new System.EventHandler(this.RoleManageForm_Shown);
     ((System.ComponentModel.ISupportInitialize)(this.treeList1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.imageCollection1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
     this.splitContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit();
     this.xtraTabControl1.ResumeLayout(false);
     this.xtraTabPage1.ResumeLayout(false);
     this.xtraTabPage2.ResumeLayout(false);
     this.xtraTabPage3.ResumeLayout(false);
     this.xtraTabPage4.ResumeLayout(false);
     this.xtraTabPage5.ResumeLayout(false);
     this.xtraTabPage6.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
     this.layoutControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
     this.xtraTabPage7.ResumeLayout(false);
     this.ResumeLayout(false);
 }