/// <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(FrmRolePermission)); this.imageList = new System.Windows.Forms.ImageList(this.components); this.btnPaste = new System.Windows.Forms.Button(); this.btnCopy = new System.Windows.Forms.Button(); this.btnClearPermission = new System.Windows.Forms.Button(); this.ucRole = new DotNet.WinForm.Common.WinControls.UCRoleSelect(); this.lblParentReq = new System.Windows.Forms.Label(); this.lblParent = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); this.tcModule = new System.Windows.Forms.TabControl(); this.tpModule = new System.Windows.Forms.TabPage(); this.tvModule = new System.Windows.Forms.TreeView(); this.splitter2 = new System.Windows.Forms.Splitter(); this.splitter1 = new System.Windows.Forms.Splitter(); this.panel4 = new System.Windows.Forms.Panel(); this.tcPermissionItem = new System.Windows.Forms.TabControl(); this.tpPermissionItem = new System.Windows.Forms.TabPage(); this.tvPermissionItem = new System.Windows.Forms.TreeView(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.panel1.SuspendLayout(); this.panel3.SuspendLayout(); this.tcModule.SuspendLayout(); this.tpModule.SuspendLayout(); this.panel4.SuspendLayout(); this.tcPermissionItem.SuspendLayout(); this.tpPermissionItem.SuspendLayout(); this.flowLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // // imageList // this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream"))); this.imageList.TransparentColor = System.Drawing.Color.Transparent; this.imageList.Images.SetKeyName(0, ""); this.imageList.Images.SetKeyName(1, ""); this.imageList.Images.SetKeyName(2, ""); this.imageList.Images.SetKeyName(3, ""); this.imageList.Images.SetKeyName(4, ""); this.imageList.Images.SetKeyName(5, ""); this.imageList.Images.SetKeyName(6, ""); this.imageList.Images.SetKeyName(7, ""); this.imageList.Images.SetKeyName(8, ""); this.imageList.Images.SetKeyName(9, ""); this.imageList.Images.SetKeyName(10, ""); this.imageList.Images.SetKeyName(11, ""); this.imageList.Images.SetKeyName(12, ""); this.imageList.Images.SetKeyName(13, ""); this.imageList.Images.SetKeyName(14, ""); this.imageList.Images.SetKeyName(15, "icon_messenger1.gif"); this.imageList.Images.SetKeyName(16, "icon_messenger0.gif"); this.imageList.Images.SetKeyName(17, "icon_messenger2.gif"); this.imageList.Images.SetKeyName(18, "icon_messenger3.gif"); this.imageList.Images.SetKeyName(19, "icon_messenger4.gif"); this.imageList.Images.SetKeyName(20, "icon_messenger5.gif"); this.imageList.Images.SetKeyName(21, "icon_messenger6.gif"); // // btnPaste // this.btnPaste.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnPaste.AutoSize = true; this.btnPaste.Enabled = false; this.btnPaste.Location = new System.Drawing.Point(313, 3); this.btnPaste.Name = "btnPaste"; this.btnPaste.Size = new System.Drawing.Size(102, 23); this.btnPaste.TabIndex = 2; this.btnPaste.Text = "粘贴权限"; this.btnPaste.UseVisualStyleBackColor = true; this.btnPaste.Click += new System.EventHandler(this.btnPaste_Click); // // btnCopy // this.btnCopy.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnCopy.AutoSize = true; this.btnCopy.Enabled = false; this.btnCopy.Location = new System.Drawing.Point(205, 3); this.btnCopy.Name = "btnCopy"; this.btnCopy.Size = new System.Drawing.Size(102, 23); this.btnCopy.TabIndex = 1; this.btnCopy.Text = "复制权限"; this.btnCopy.UseVisualStyleBackColor = true; this.btnCopy.Click += new System.EventHandler(this.btnCopy_Click); // // btnClearPermission // this.btnClearPermission.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnClearPermission.AutoSize = true; this.btnClearPermission.Enabled = false; this.btnClearPermission.Location = new System.Drawing.Point(97, 3); this.btnClearPermission.Name = "btnClearPermission"; this.btnClearPermission.Size = new System.Drawing.Size(102, 23); this.btnClearPermission.TabIndex = 0; this.btnClearPermission.Text = "清除权限(&C)"; this.btnClearPermission.UseVisualStyleBackColor = true; this.btnClearPermission.Click += new System.EventHandler(this.btnClearPermission_Click); // // ucRole // this.ucRole.AllowNull = false; this.ucRole.AllowSelect = false; this.ucRole.Location = new System.Drawing.Point(122, 11); this.ucRole.MultiSelect = false; this.ucRole.Name = "ucRole"; this.ucRole.OpenId = ""; this.ucRole.PermissionItemScopeCode = ""; this.ucRole.RemoveIds = null; this.ucRole.SelectedFullName = ""; this.ucRole.SelectedId = ""; this.ucRole.SelectedIds = null; this.ucRole.ShowRoleOnly = true; this.ucRole.Size = new System.Drawing.Size(227, 22); this.ucRole.TabIndex = 4; // // lblParentReq // this.lblParentReq.AutoSize = true; this.lblParentReq.ForeColor = System.Drawing.Color.Red; this.lblParentReq.Location = new System.Drawing.Point(353, 16); this.lblParentReq.Name = "lblParentReq"; this.lblParentReq.Size = new System.Drawing.Size(11, 12); this.lblParentReq.TabIndex = 5; this.lblParentReq.Text = "*"; // // lblParent // this.lblParent.Location = new System.Drawing.Point(13, 15); this.lblParent.Name = "lblParent"; this.lblParent.Size = new System.Drawing.Size(110, 12); this.lblParent.TabIndex = 3; this.lblParent.Text = "角色(&R):"; this.lblParent.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panel1.Controls.Add(this.panel3); this.panel1.Controls.Add(this.splitter2); this.panel1.Controls.Add(this.splitter1); this.panel1.Controls.Add(this.panel4); this.panel1.Location = new System.Drawing.Point(6, 39); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(794, 488); this.panel1.TabIndex = 36; // // panel3 // this.panel3.Controls.Add(this.tcModule); this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3.Location = new System.Drawing.Point(3, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(418, 488); this.panel3.TabIndex = 1; // // tcModule // this.tcModule.Controls.Add(this.tpModule); this.tcModule.Dock = System.Windows.Forms.DockStyle.Fill; this.tcModule.Location = new System.Drawing.Point(0, 0); this.tcModule.MinimumSize = new System.Drawing.Size(100, 100); this.tcModule.Name = "tcModule"; this.tcModule.SelectedIndex = 0; this.tcModule.Size = new System.Drawing.Size(418, 488); this.tcModule.TabIndex = 0; // // tpModule // this.tpModule.Controls.Add(this.tvModule); this.tpModule.Location = new System.Drawing.Point(4, 22); this.tpModule.Name = "tpModule"; this.tpModule.Padding = new System.Windows.Forms.Padding(3); this.tpModule.Size = new System.Drawing.Size(410, 462); this.tpModule.TabIndex = 0; this.tpModule.Text = "菜单访问权限"; this.tpModule.UseVisualStyleBackColor = true; // // tvModule // this.tvModule.AllowDrop = true; this.tvModule.CheckBoxes = true; this.tvModule.Dock = System.Windows.Forms.DockStyle.Fill; this.tvModule.Enabled = false; this.tvModule.ImageIndex = 0; this.tvModule.ImageList = this.imageList; this.tvModule.Location = new System.Drawing.Point(3, 3); this.tvModule.Name = "tvModule"; this.tvModule.SelectedImageIndex = 0; this.tvModule.Size = new System.Drawing.Size(404, 456); this.tvModule.TabIndex = 0; this.tvModule.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.tvModule_AfterCheck); this.tvModule.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.tvModule_NodeMouseClick); // // splitter2 // this.splitter2.Dock = System.Windows.Forms.DockStyle.Right; this.splitter2.Location = new System.Drawing.Point(421, 0); this.splitter2.Name = "splitter2"; this.splitter2.Size = new System.Drawing.Size(3, 488); this.splitter2.TabIndex = 2; this.splitter2.TabStop = false; // // splitter1 // this.splitter1.Location = new System.Drawing.Point(0, 0); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(3, 488); this.splitter1.TabIndex = 3; this.splitter1.TabStop = false; // // panel4 // this.panel4.Controls.Add(this.tcPermissionItem); this.panel4.Dock = System.Windows.Forms.DockStyle.Right; this.panel4.Location = new System.Drawing.Point(424, 0); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(370, 488); this.panel4.TabIndex = 2; // // tcPermissionItem // this.tcPermissionItem.Controls.Add(this.tpPermissionItem); this.tcPermissionItem.Dock = System.Windows.Forms.DockStyle.Fill; this.tcPermissionItem.Location = new System.Drawing.Point(0, 0); this.tcPermissionItem.MinimumSize = new System.Drawing.Size(100, 100); this.tcPermissionItem.Name = "tcPermissionItem"; this.tcPermissionItem.SelectedIndex = 0; this.tcPermissionItem.Size = new System.Drawing.Size(370, 488); this.tcPermissionItem.TabIndex = 0; // // tpPermissionItem // this.tpPermissionItem.Controls.Add(this.tvPermissionItem); this.tpPermissionItem.Location = new System.Drawing.Point(4, 22); this.tpPermissionItem.Name = "tpPermissionItem"; this.tpPermissionItem.Padding = new System.Windows.Forms.Padding(3); this.tpPermissionItem.Size = new System.Drawing.Size(362, 462); this.tpPermissionItem.TabIndex = 0; this.tpPermissionItem.Text = "拥有操作权限"; this.tpPermissionItem.UseVisualStyleBackColor = true; // // tvPermissionItem // this.tvPermissionItem.AllowDrop = true; this.tvPermissionItem.CheckBoxes = true; this.tvPermissionItem.Dock = System.Windows.Forms.DockStyle.Fill; this.tvPermissionItem.Enabled = false; this.tvPermissionItem.HotTracking = true; this.tvPermissionItem.ImageIndex = 0; this.tvPermissionItem.ImageList = this.imageList; this.tvPermissionItem.Location = new System.Drawing.Point(3, 3); this.tvPermissionItem.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); this.tvPermissionItem.Name = "tvPermissionItem"; this.tvPermissionItem.SelectedImageIndex = 0; this.tvPermissionItem.Size = new System.Drawing.Size(356, 456); this.tvPermissionItem.TabIndex = 0; this.tvPermissionItem.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.tvPermissionItem_AfterCheck); this.tvPermissionItem.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.tvPermissionItem_NodeMouseClick); // // flowLayoutPanel1 // this.flowLayoutPanel1.Controls.Add(this.btnPaste); this.flowLayoutPanel1.Controls.Add(this.btnCopy); this.flowLayoutPanel1.Controls.Add(this.btnClearPermission); this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; this.flowLayoutPanel1.Location = new System.Drawing.Point(382, 8); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new System.Drawing.Size(418, 30); this.flowLayoutPanel1.TabIndex = 37; // // FrmRolePermission // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(806, 568); this.Controls.Add(this.flowLayoutPanel1); this.Controls.Add(this.panel1); this.Controls.Add(this.ucRole); this.Controls.Add(this.lblParentReq); this.Controls.Add(this.lblParent); this.Name = "FrmRolePermission"; this.Text = "角色权限设置"; this.panel1.ResumeLayout(false); this.panel3.ResumeLayout(false); this.tcModule.ResumeLayout(false); this.tpModule.ResumeLayout(false); this.panel4.ResumeLayout(false); this.tcPermissionItem.ResumeLayout(false); this.tpPermissionItem.ResumeLayout(false); this.flowLayoutPanel1.ResumeLayout(false); this.flowLayoutPanel1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用主键编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmRolePermissionScope)); this.btnInvertSelect = new System.Windows.Forms.Button(); this.btnSelectAll = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.btnBatchSave = new System.Windows.Forms.Button(); this.tvOrganize = new System.Windows.Forms.TreeView(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.lblRoleReq = new System.Windows.Forms.Label(); this.lblRole = new System.Windows.Forms.Label(); this.lblPermissionScopeReq = new System.Windows.Forms.Label(); this.ucPermissionScope = new DotNet.WinForm.Common.WinControls.UCScopePermissionSelect(); this.lblPermissionScope = new System.Windows.Forms.Label(); this.ucRole = new DotNet.WinForm.Common.WinControls.UCRoleSelect(); this.grbPermissionScope = new System.Windows.Forms.GroupBox(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.rdbAll = new System.Windows.Forms.RadioButton(); this.rdbUserCompany = new System.Windows.Forms.RadioButton(); this.rdbUserSubCompany = new System.Windows.Forms.RadioButton(); this.rdbUserDepartment = new System.Windows.Forms.RadioButton(); this.rdbUserWorkgroup = new System.Windows.Forms.RadioButton(); this.rdbUser = new System.Windows.Forms.RadioButton(); this.rdbDetail = new System.Windows.Forms.RadioButton(); this.rdbNone = new System.Windows.Forms.RadioButton(); this.chkInnerOrganize = new System.Windows.Forms.CheckBox(); this.grbPermissionScope.SuspendLayout(); this.flowLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // // btnInvertSelect // this.btnInvertSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnInvertSelect.Location = new System.Drawing.Point(128, 634); this.btnInvertSelect.Margin = new System.Windows.Forms.Padding(5); this.btnInvertSelect.Name = "btnInvertSelect"; this.btnInvertSelect.Size = new System.Drawing.Size(104, 29); this.btnInvertSelect.TabIndex = 11; this.btnInvertSelect.Text = "反选"; this.btnInvertSelect.UseVisualStyleBackColor = true; this.btnInvertSelect.Click += new System.EventHandler(this.btnInvertSelect_Click); // // btnSelectAll // this.btnSelectAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnSelectAll.Location = new System.Drawing.Point(8, 634); this.btnSelectAll.Margin = new System.Windows.Forms.Padding(5); this.btnSelectAll.Name = "btnSelectAll"; this.btnSelectAll.Size = new System.Drawing.Size(104, 29); this.btnSelectAll.TabIndex = 10; this.btnSelectAll.Text = "全选"; this.btnSelectAll.UseVisualStyleBackColor = true; this.btnSelectAll.Click += new System.EventHandler(this.btnSelectAll_Click); // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(804, 634); this.btnCancel.Margin = new System.Windows.Forms.Padding(5); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(100, 29); this.btnCancel.TabIndex = 9; this.btnCancel.Text = "取消"; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // btnBatchSave // this.btnBatchSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnBatchSave.Location = new System.Drawing.Point(688, 634); this.btnBatchSave.Margin = new System.Windows.Forms.Padding(5); this.btnBatchSave.Name = "btnBatchSave"; this.btnBatchSave.Size = new System.Drawing.Size(100, 29); this.btnBatchSave.TabIndex = 8; this.btnBatchSave.Text = "保存(&S)"; this.btnBatchSave.UseVisualStyleBackColor = true; this.btnBatchSave.Click += new System.EventHandler(this.btnBatchSave_Click); // // tvOrganize // this.tvOrganize.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.tvOrganize.CheckBoxes = true; this.tvOrganize.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.tvOrganize.ImageIndex = 0; this.tvOrganize.ImageList = this.imageList; this.tvOrganize.Location = new System.Drawing.Point(9, 169); this.tvOrganize.Margin = new System.Windows.Forms.Padding(4); this.tvOrganize.Name = "tvOrganize"; this.tvOrganize.SelectedImageIndex = 0; this.tvOrganize.Size = new System.Drawing.Size(893, 455); this.tvOrganize.TabIndex = 7; this.tvOrganize.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.tvOrganize_AfterCheck); // // imageList // this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream"))); this.imageList.TransparentColor = System.Drawing.Color.Transparent; this.imageList.Images.SetKeyName(0, ""); this.imageList.Images.SetKeyName(1, ""); this.imageList.Images.SetKeyName(2, ""); this.imageList.Images.SetKeyName(3, ""); this.imageList.Images.SetKeyName(4, ""); this.imageList.Images.SetKeyName(5, ""); this.imageList.Images.SetKeyName(6, ""); this.imageList.Images.SetKeyName(7, ""); this.imageList.Images.SetKeyName(8, ""); this.imageList.Images.SetKeyName(9, ""); this.imageList.Images.SetKeyName(10, ""); this.imageList.Images.SetKeyName(11, ""); this.imageList.Images.SetKeyName(12, ""); this.imageList.Images.SetKeyName(13, ""); this.imageList.Images.SetKeyName(14, ""); this.imageList.Images.SetKeyName(15, "icon_messenger1.gif"); this.imageList.Images.SetKeyName(16, "icon_messenger0.gif"); this.imageList.Images.SetKeyName(17, "icon_messenger2.gif"); this.imageList.Images.SetKeyName(18, "icon_messenger3.gif"); this.imageList.Images.SetKeyName(19, "icon_messenger4.gif"); this.imageList.Images.SetKeyName(20, "icon_messenger5.gif"); this.imageList.Images.SetKeyName(21, "icon_messenger6.gif"); this.imageList.Images.SetKeyName(22, "Role.gif"); // // lblRoleReq // this.lblRoleReq.AutoSize = true; this.lblRoleReq.ForeColor = System.Drawing.Color.Red; this.lblRoleReq.Location = new System.Drawing.Point(633, 22); this.lblRoleReq.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lblRoleReq.Name = "lblRoleReq"; this.lblRoleReq.Size = new System.Drawing.Size(15, 15); this.lblRoleReq.TabIndex = 2; this.lblRoleReq.Text = "*"; // // lblRole // this.lblRole.Location = new System.Drawing.Point(11, 22); this.lblRole.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lblRole.Name = "lblRole"; this.lblRole.Size = new System.Drawing.Size(203, 15); this.lblRole.TabIndex = 0; this.lblRole.Text = "角色:"; this.lblRole.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // lblPermissionScopeReq // this.lblPermissionScopeReq.AutoSize = true; this.lblPermissionScopeReq.ForeColor = System.Drawing.Color.Red; this.lblPermissionScopeReq.Location = new System.Drawing.Point(633, 62); this.lblPermissionScopeReq.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lblPermissionScopeReq.Name = "lblPermissionScopeReq"; this.lblPermissionScopeReq.Size = new System.Drawing.Size(15, 15); this.lblPermissionScopeReq.TabIndex = 5; this.lblPermissionScopeReq.Text = "*"; // // ucPermissionScope // this.ucPermissionScope.AllowNull = true; this.ucPermissionScope.AllowSelect = false; this.ucPermissionScope.Location = new System.Drawing.Point(217, 54); this.ucPermissionScope.Margin = new System.Windows.Forms.Padding(5); this.ucPermissionScope.MultiSelect = false; this.ucPermissionScope.Name = "ucPermissionScope"; this.ucPermissionScope.SelectedFullName = ""; this.ucPermissionScope.SelectedId = ""; this.ucPermissionScope.Size = new System.Drawing.Size(407, 28); this.ucPermissionScope.TabIndex = 4; // // lblPermissionScope // this.lblPermissionScope.Location = new System.Drawing.Point(8, 58); this.lblPermissionScope.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lblPermissionScope.Name = "lblPermissionScope"; this.lblPermissionScope.Size = new System.Drawing.Size(205, 15); this.lblPermissionScope.TabIndex = 3; this.lblPermissionScope.Text = "数据权限:"; this.lblPermissionScope.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // ucRole // this.ucRole.AllowNull = true; this.ucRole.AllowSelect = false; this.ucRole.Location = new System.Drawing.Point(217, 15); this.ucRole.Margin = new System.Windows.Forms.Padding(5); this.ucRole.MultiSelect = false; this.ucRole.Name = "ucRole"; this.ucRole.OpenId = ""; this.ucRole.PermissionItemScopeCode = ""; this.ucRole.RemoveIds = null; this.ucRole.SelectedFullName = ""; this.ucRole.SelectedId = ""; this.ucRole.SelectedIds = null; this.ucRole.ShowRoleOnly = true; this.ucRole.Size = new System.Drawing.Size(407, 28); this.ucRole.TabIndex = 1; // // grbPermissionScope // this.grbPermissionScope.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.grbPermissionScope.Controls.Add(this.flowLayoutPanel1); this.grbPermissionScope.Location = new System.Drawing.Point(11, 90); this.grbPermissionScope.Margin = new System.Windows.Forms.Padding(4); this.grbPermissionScope.Name = "grbPermissionScope"; this.grbPermissionScope.Padding = new System.Windows.Forms.Padding(4); this.grbPermissionScope.Size = new System.Drawing.Size(893, 58); this.grbPermissionScope.TabIndex = 12; this.grbPermissionScope.TabStop = false; this.grbPermissionScope.Text = "权限范围"; // // flowLayoutPanel1 // this.flowLayoutPanel1.Controls.Add(this.rdbAll); this.flowLayoutPanel1.Controls.Add(this.rdbUserCompany); this.flowLayoutPanel1.Controls.Add(this.rdbUserSubCompany); this.flowLayoutPanel1.Controls.Add(this.rdbUserDepartment); this.flowLayoutPanel1.Controls.Add(this.rdbUserWorkgroup); this.flowLayoutPanel1.Controls.Add(this.rdbUser); this.flowLayoutPanel1.Controls.Add(this.rdbDetail); this.flowLayoutPanel1.Controls.Add(this.rdbNone); this.flowLayoutPanel1.Location = new System.Drawing.Point(7, 21); this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(4); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new System.Drawing.Size(881, 29); this.flowLayoutPanel1.TabIndex = 14; // // rdbAll // this.rdbAll.AutoSize = true; this.rdbAll.Location = new System.Drawing.Point(4, 4); this.rdbAll.Margin = new System.Windows.Forms.Padding(4); this.rdbAll.Name = "rdbAll"; this.rdbAll.Size = new System.Drawing.Size(88, 19); this.rdbAll.TabIndex = 0; this.rdbAll.Text = "所有数据"; this.rdbAll.UseVisualStyleBackColor = true; // // rdbUserCompany // this.rdbUserCompany.AutoSize = true; this.rdbUserCompany.Location = new System.Drawing.Point(100, 4); this.rdbUserCompany.Margin = new System.Windows.Forms.Padding(4); this.rdbUserCompany.Name = "rdbUserCompany"; this.rdbUserCompany.Size = new System.Drawing.Size(88, 19); this.rdbUserCompany.TabIndex = 1; this.rdbUserCompany.Text = "所在公司"; this.rdbUserCompany.UseVisualStyleBackColor = true; // // rdbUserSubCompany // this.rdbUserSubCompany.AutoSize = true; this.rdbUserSubCompany.Location = new System.Drawing.Point(196, 4); this.rdbUserSubCompany.Margin = new System.Windows.Forms.Padding(4); this.rdbUserSubCompany.Name = "rdbUserSubCompany"; this.rdbUserSubCompany.Size = new System.Drawing.Size(118, 19); this.rdbUserSubCompany.TabIndex = 7; this.rdbUserSubCompany.Text = "所在分支机构"; this.rdbUserSubCompany.UseVisualStyleBackColor = true; // // rdbUserDepartment // this.rdbUserDepartment.AutoSize = true; this.rdbUserDepartment.Location = new System.Drawing.Point(322, 4); this.rdbUserDepartment.Margin = new System.Windows.Forms.Padding(4); this.rdbUserDepartment.Name = "rdbUserDepartment"; this.rdbUserDepartment.Size = new System.Drawing.Size(88, 19); this.rdbUserDepartment.TabIndex = 2; this.rdbUserDepartment.Text = "所在部门"; this.rdbUserDepartment.UseVisualStyleBackColor = true; // // rdbUserWorkgroup // this.rdbUserWorkgroup.AutoSize = true; this.rdbUserWorkgroup.Location = new System.Drawing.Point(418, 4); this.rdbUserWorkgroup.Margin = new System.Windows.Forms.Padding(4); this.rdbUserWorkgroup.Name = "rdbUserWorkgroup"; this.rdbUserWorkgroup.Size = new System.Drawing.Size(103, 19); this.rdbUserWorkgroup.TabIndex = 3; this.rdbUserWorkgroup.Text = "所在工作组"; this.rdbUserWorkgroup.UseVisualStyleBackColor = true; // // rdbUser // this.rdbUser.AutoSize = true; this.rdbUser.Location = new System.Drawing.Point(529, 4); this.rdbUser.Margin = new System.Windows.Forms.Padding(4); this.rdbUser.Name = "rdbUser"; this.rdbUser.Size = new System.Drawing.Size(73, 19); this.rdbUser.TabIndex = 4; this.rdbUser.Text = "仅本人"; this.rdbUser.UseVisualStyleBackColor = true; // // rdbDetail // this.rdbDetail.AutoSize = true; this.rdbDetail.Checked = true; this.rdbDetail.Location = new System.Drawing.Point(610, 4); this.rdbDetail.Margin = new System.Windows.Forms.Padding(4); this.rdbDetail.Name = "rdbDetail"; this.rdbDetail.Size = new System.Drawing.Size(103, 19); this.rdbDetail.TabIndex = 5; this.rdbDetail.TabStop = true; this.rdbDetail.Text = "按明细设置"; this.rdbDetail.UseVisualStyleBackColor = true; // // rdbNone // this.rdbNone.AutoSize = true; this.rdbNone.Location = new System.Drawing.Point(721, 4); this.rdbNone.Margin = new System.Windows.Forms.Padding(4); this.rdbNone.Name = "rdbNone"; this.rdbNone.Size = new System.Drawing.Size(43, 19); this.rdbNone.TabIndex = 6; this.rdbNone.Text = "无"; this.rdbNone.UseVisualStyleBackColor = true; // // chkInnerOrganize // this.chkInnerOrganize.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkInnerOrganize.AutoSize = true; this.chkInnerOrganize.Checked = true; this.chkInnerOrganize.CheckState = System.Windows.Forms.CheckState.Checked; this.chkInnerOrganize.Location = new System.Drawing.Point(733, 39); this.chkInnerOrganize.Margin = new System.Windows.Forms.Padding(4); this.chkInnerOrganize.Name = "chkInnerOrganize"; this.chkInnerOrganize.Size = new System.Drawing.Size(164, 19); this.chkInnerOrganize.TabIndex = 13; this.chkInnerOrganize.Text = "仅显示内部组织机构"; this.chkInnerOrganize.UseVisualStyleBackColor = true; this.chkInnerOrganize.CheckedChanged += new System.EventHandler(this.chkInnerOrganize_CheckedChanged); // // FrmRolePermissionScope // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(912, 670); this.Controls.Add(this.chkInnerOrganize); this.Controls.Add(this.grbPermissionScope); this.Controls.Add(this.ucRole); this.Controls.Add(this.lblRoleReq); this.Controls.Add(this.lblRole); this.Controls.Add(this.lblPermissionScopeReq); this.Controls.Add(this.ucPermissionScope); this.Controls.Add(this.lblPermissionScope); this.Controls.Add(this.btnInvertSelect); this.Controls.Add(this.btnSelectAll); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnBatchSave); this.Controls.Add(this.tvOrganize); this.Cursor = System.Windows.Forms.Cursors.Default; this.Margin = new System.Windows.Forms.Padding(5); this.Name = "FrmRolePermissionScope"; this.Padding = new System.Windows.Forms.Padding(11, 10, 11, 10); this.Text = "角色数据权限设置"; this.grbPermissionScope.ResumeLayout(false); this.flowLayoutPanel1.ResumeLayout(false); this.flowLayoutPanel1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用主键编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmRolePermissionItemScope)); this.lblParent = new System.Windows.Forms.Label(); this.tvPermission = new System.Windows.Forms.TreeView(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.btnInvertSelect = new System.Windows.Forms.Button(); this.btnSelectAll = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.btnBatchSave = new System.Windows.Forms.Button(); this.lblParentReq = new System.Windows.Forms.Label(); this.ucRole = new DotNet.WinForm.Common.WinControls.UCRoleSelect(); this.tcPermission = new System.Windows.Forms.TabControl(); this.tpPermission = new System.Windows.Forms.TabPage(); this.tcPermission.SuspendLayout(); this.tpPermission.SuspendLayout(); this.SuspendLayout(); // // lblParent // this.lblParent.Location = new System.Drawing.Point(15, 14); this.lblParent.Name = "lblParent"; this.lblParent.Size = new System.Drawing.Size(99, 12); this.lblParent.TabIndex = 1; this.lblParent.Text = "角色(&R):"; this.lblParent.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // tvPermission // this.tvPermission.CheckBoxes = true; this.tvPermission.Dock = System.Windows.Forms.DockStyle.Fill; this.tvPermission.ImageIndex = 0; this.tvPermission.ImageList = this.imageList; this.tvPermission.Location = new System.Drawing.Point(3, 3); this.tvPermission.Name = "tvPermission"; this.tvPermission.SelectedImageIndex = 1; this.tvPermission.Size = new System.Drawing.Size(659, 428); this.tvPermission.TabIndex = 4; this.tvPermission.BeforeCheck += new System.Windows.Forms.TreeViewCancelEventHandler(this.tvPermission_BeforeCheck); this.tvPermission.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.tvPermission_AfterCheck); this.tvPermission.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tvPermission_MouseDown); // // imageList // this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream"))); this.imageList.TransparentColor = System.Drawing.Color.Transparent; this.imageList.Images.SetKeyName(0, ""); this.imageList.Images.SetKeyName(1, ""); this.imageList.Images.SetKeyName(2, ""); this.imageList.Images.SetKeyName(3, ""); this.imageList.Images.SetKeyName(4, ""); this.imageList.Images.SetKeyName(5, ""); this.imageList.Images.SetKeyName(6, ""); this.imageList.Images.SetKeyName(7, ""); this.imageList.Images.SetKeyName(8, ""); this.imageList.Images.SetKeyName(9, ""); this.imageList.Images.SetKeyName(10, ""); this.imageList.Images.SetKeyName(11, ""); this.imageList.Images.SetKeyName(12, ""); this.imageList.Images.SetKeyName(13, ""); this.imageList.Images.SetKeyName(14, ""); this.imageList.Images.SetKeyName(15, "icon_messenger1.gif"); this.imageList.Images.SetKeyName(16, "icon_messenger0.gif"); this.imageList.Images.SetKeyName(17, "icon_messenger2.gif"); this.imageList.Images.SetKeyName(18, "icon_messenger3.gif"); this.imageList.Images.SetKeyName(19, "icon_messenger4.gif"); this.imageList.Images.SetKeyName(20, "icon_messenger5.gif"); this.imageList.Images.SetKeyName(21, "icon_messenger6.gif"); // // btnInvertSelect // this.btnInvertSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnInvertSelect.Location = new System.Drawing.Point(96, 504); this.btnInvertSelect.Name = "btnInvertSelect"; this.btnInvertSelect.Size = new System.Drawing.Size(78, 23); this.btnInvertSelect.TabIndex = 7; this.btnInvertSelect.Text = "反选"; this.btnInvertSelect.UseVisualStyleBackColor = true; this.btnInvertSelect.Click += new System.EventHandler(this.btnInvertSelect_Click); // // btnSelectAll // this.btnSelectAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnSelectAll.Location = new System.Drawing.Point(9, 504); this.btnSelectAll.Name = "btnSelectAll"; this.btnSelectAll.Size = new System.Drawing.Size(78, 23); this.btnSelectAll.TabIndex = 6; this.btnSelectAll.Text = "全选"; this.btnSelectAll.UseVisualStyleBackColor = true; this.btnSelectAll.Click += new System.EventHandler(this.btnSelectAll_Click); // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(604, 504); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(78, 23); this.btnCancel.TabIndex = 0; this.btnCancel.Text = "取消"; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // btnBatchSave // this.btnBatchSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnBatchSave.Location = new System.Drawing.Point(521, 504); this.btnBatchSave.Name = "btnBatchSave"; this.btnBatchSave.Size = new System.Drawing.Size(78, 23); this.btnBatchSave.TabIndex = 5; this.btnBatchSave.Text = "保存(&S)"; this.btnBatchSave.UseVisualStyleBackColor = true; this.btnBatchSave.Click += new System.EventHandler(this.btnBatchSave_Click); // // lblParentReq // this.lblParentReq.AutoSize = true; this.lblParentReq.ForeColor = System.Drawing.Color.Red; this.lblParentReq.Location = new System.Drawing.Point(425, 14); this.lblParentReq.Name = "lblParentReq"; this.lblParentReq.Size = new System.Drawing.Size(11, 12); this.lblParentReq.TabIndex = 3; this.lblParentReq.Text = "*"; // // ucRole // this.ucRole.AllowNull = true; this.ucRole.AllowSelect = false; this.ucRole.Location = new System.Drawing.Point(114, 10); this.ucRole.MultiSelect = false; this.ucRole.Name = "ucRole"; this.ucRole.OpenId = ""; this.ucRole.PermissionItemScopeCode = ""; this.ucRole.RemoveIds = null; this.ucRole.SelectedFullName = ""; this.ucRole.SelectedId = ""; this.ucRole.SelectedIds = null; this.ucRole.ShowRoleOnly = true; this.ucRole.Size = new System.Drawing.Size(305, 22); this.ucRole.TabIndex = 2; this.ucRole.SelectedIndexChanged += new BaseBusinessLogic.SelectedIndexChangedEventHandler(this.ucRole_SelectedIndexChanged); // // tcPermission // this.tcPermission.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.tcPermission.Controls.Add(this.tpPermission); this.tcPermission.Location = new System.Drawing.Point(11, 38); this.tcPermission.Name = "tcPermission"; this.tcPermission.SelectedIndex = 0; this.tcPermission.Size = new System.Drawing.Size(673, 460); this.tcPermission.TabIndex = 8; // // tpPermission // this.tpPermission.Controls.Add(this.tvPermission); this.tpPermission.Location = new System.Drawing.Point(4, 22); this.tpPermission.Name = "tpPermission"; this.tpPermission.Padding = new System.Windows.Forms.Padding(3); this.tpPermission.Size = new System.Drawing.Size(665, 434); this.tpPermission.TabIndex = 0; this.tpPermission.Text = "操作权限"; this.tpPermission.UseVisualStyleBackColor = true; // // FrmRolePermissionItemScope // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(692, 533); this.Controls.Add(this.tcPermission); this.Controls.Add(this.ucRole); this.Controls.Add(this.lblParentReq); this.Controls.Add(this.btnInvertSelect); this.Controls.Add(this.btnSelectAll); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnBatchSave); this.Controls.Add(this.lblParent); this.Cursor = System.Windows.Forms.Cursors.Default; this.Name = "FrmRolePermissionItemScope"; this.Text = "角色可授权范围设置"; this.tcPermission.ResumeLayout(false); this.tpPermission.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用主键编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmRoleModulePermission)); this.tvModule = new System.Windows.Forms.TreeView(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.btnBatchSave = new System.Windows.Forms.Button(); this.btnClose = new System.Windows.Forms.Button(); this.btnInvertSelect = new System.Windows.Forms.Button(); this.btnSelectAll = new System.Windows.Forms.Button(); this.ucRole = new DotNet.WinForm.Common.WinControls.UCRoleSelect(); this.lblRoleReq = new System.Windows.Forms.Label(); this.lblUser = new System.Windows.Forms.Label(); this.tbcModule = new System.Windows.Forms.TabControl(); this.tbpModule = new System.Windows.Forms.TabPage(); this.tbcModule.SuspendLayout(); this.tbpModule.SuspendLayout(); this.SuspendLayout(); // // tvModule // this.tvModule.AllowDrop = true; this.tvModule.CheckBoxes = true; this.tvModule.Dock = System.Windows.Forms.DockStyle.Fill; this.tvModule.ImageIndex = 0; this.tvModule.ImageList = this.imageList; this.tvModule.Location = new System.Drawing.Point(3, 3); this.tvModule.Name = "tvModule"; this.tvModule.SelectedImageIndex = 1; this.tvModule.Size = new System.Drawing.Size(661, 370); this.tvModule.TabIndex = 1; this.tvModule.BeforeCheck += new System.Windows.Forms.TreeViewCancelEventHandler(this.tvModule_BeforeCheck); this.tvModule.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.tvModule_NodeMouseClick); // // imageList // this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream"))); this.imageList.TransparentColor = System.Drawing.Color.Transparent; this.imageList.Images.SetKeyName(0, ""); this.imageList.Images.SetKeyName(1, ""); this.imageList.Images.SetKeyName(2, ""); this.imageList.Images.SetKeyName(3, ""); this.imageList.Images.SetKeyName(4, ""); this.imageList.Images.SetKeyName(5, ""); this.imageList.Images.SetKeyName(6, ""); this.imageList.Images.SetKeyName(7, ""); this.imageList.Images.SetKeyName(8, ""); this.imageList.Images.SetKeyName(9, ""); this.imageList.Images.SetKeyName(10, ""); this.imageList.Images.SetKeyName(11, ""); this.imageList.Images.SetKeyName(12, ""); this.imageList.Images.SetKeyName(13, ""); this.imageList.Images.SetKeyName(14, ""); this.imageList.Images.SetKeyName(15, "icon_messenger1.gif"); this.imageList.Images.SetKeyName(16, "icon_messenger0.gif"); this.imageList.Images.SetKeyName(17, "icon_messenger2.gif"); this.imageList.Images.SetKeyName(18, "icon_messenger3.gif"); this.imageList.Images.SetKeyName(19, "icon_messenger4.gif"); this.imageList.Images.SetKeyName(20, "icon_messenger5.gif"); this.imageList.Images.SetKeyName(21, "icon_messenger6.gif"); // // btnBatchSave // this.btnBatchSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnBatchSave.Location = new System.Drawing.Point(524, 448); this.btnBatchSave.Name = "btnBatchSave"; this.btnBatchSave.Size = new System.Drawing.Size(75, 23); this.btnBatchSave.TabIndex = 2; this.btnBatchSave.Text = "保存(&S)"; this.btnBatchSave.UseVisualStyleBackColor = true; this.btnBatchSave.Click += new System.EventHandler(this.btnBatchSave_Click); // // btnClose // this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnClose.Location = new System.Drawing.Point(609, 448); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(75, 23); this.btnClose.TabIndex = 0; this.btnClose.Text = "关闭"; this.btnClose.UseVisualStyleBackColor = true; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // btnInvertSelect // this.btnInvertSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnInvertSelect.Location = new System.Drawing.Point(97, 448); this.btnInvertSelect.Name = "btnInvertSelect"; this.btnInvertSelect.Size = new System.Drawing.Size(78, 23); this.btnInvertSelect.TabIndex = 4; this.btnInvertSelect.Text = "反选"; this.btnInvertSelect.UseVisualStyleBackColor = true; this.btnInvertSelect.Click += new System.EventHandler(this.btnInvertSelect_Click); // // btnSelectAll // this.btnSelectAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnSelectAll.Location = new System.Drawing.Point(8, 448); this.btnSelectAll.Name = "btnSelectAll"; this.btnSelectAll.Size = new System.Drawing.Size(78, 23); this.btnSelectAll.TabIndex = 3; this.btnSelectAll.Text = "全选"; this.btnSelectAll.UseVisualStyleBackColor = true; this.btnSelectAll.Click += new System.EventHandler(this.btnSelectAll_Click); // // ucRole // this.ucRole.AllowNull = false; this.ucRole.AllowSelect = false; this.ucRole.Location = new System.Drawing.Point(139, 9); this.ucRole.MultiSelect = false; this.ucRole.Name = "ucRole"; this.ucRole.OpenId = ""; this.ucRole.PermissionItemScopeCode = ""; this.ucRole.RemoveIds = null; this.ucRole.SelectedFullName = ""; this.ucRole.SelectedId = ""; this.ucRole.SelectedIds = null; this.ucRole.ShowRoleOnly = true; this.ucRole.Size = new System.Drawing.Size(257, 22); this.ucRole.TabIndex = 6; // // lblRoleReq // this.lblRoleReq.AutoSize = true; this.lblRoleReq.ForeColor = System.Drawing.Color.Red; this.lblRoleReq.Location = new System.Drawing.Point(402, 15); this.lblRoleReq.Name = "lblRoleReq"; this.lblRoleReq.Size = new System.Drawing.Size(11, 12); this.lblRoleReq.TabIndex = 7; this.lblRoleReq.Text = "*"; // // lblUser // this.lblUser.Location = new System.Drawing.Point(12, 11); this.lblUser.Name = "lblUser"; this.lblUser.Size = new System.Drawing.Size(121, 17); this.lblUser.TabIndex = 5; this.lblUser.Text = "角色(&R):"; this.lblUser.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // tbcModule // this.tbcModule.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.tbcModule.Controls.Add(this.tbpModule); this.tbcModule.Location = new System.Drawing.Point(10, 40); this.tbcModule.Name = "tbcModule"; this.tbcModule.SelectedIndex = 0; this.tbcModule.Size = new System.Drawing.Size(675, 402); this.tbcModule.TabIndex = 8; // // tbpModule // this.tbpModule.Controls.Add(this.tvModule); this.tbpModule.Location = new System.Drawing.Point(4, 22); this.tbpModule.Name = "tbpModule"; this.tbpModule.Padding = new System.Windows.Forms.Padding(3); this.tbpModule.Size = new System.Drawing.Size(667, 376); this.tbpModule.TabIndex = 0; this.tbpModule.Text = "模块(菜单)"; this.tbpModule.UseVisualStyleBackColor = true; // // FrmRoleModulePermission // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnClose; this.ClientSize = new System.Drawing.Size(692, 476); this.Controls.Add(this.tbcModule); this.Controls.Add(this.ucRole); this.Controls.Add(this.lblRoleReq); this.Controls.Add(this.lblUser); this.Controls.Add(this.btnInvertSelect); this.Controls.Add(this.btnSelectAll); this.Controls.Add(this.btnClose); this.Controls.Add(this.btnBatchSave); this.Cursor = System.Windows.Forms.Cursors.Default; this.Name = "FrmRoleModulePermission"; this.Text = "角色菜单权限"; this.Load += new System.EventHandler(this.FrmRoleModulePermission_Load); this.tbcModule.ResumeLayout(false); this.tbpModule.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <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(FrmRoleAuthorizationScope)); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tpUser = new System.Windows.Forms.TabPage(); this.cklstUser = new System.Windows.Forms.CheckedListBox(); this.tpRole = new System.Windows.Forms.TabPage(); this.cklstRole = new System.Windows.Forms.CheckedListBox(); this.tpOrganize = new System.Windows.Forms.TabPage(); this.tvOrganize = new System.Windows.Forms.TreeView(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.tpModule = new System.Windows.Forms.TabPage(); this.tvModule = new System.Windows.Forms.TreeView(); this.tpPermissionItem = new System.Windows.Forms.TabPage(); this.tvPermissionItem = new System.Windows.Forms.TreeView(); this.ucRole = new DotNet.WinForm.Common.WinControls.UCRoleSelect(); this.lblParentReq = new System.Windows.Forms.Label(); this.lblParent = new System.Windows.Forms.Label(); this.btnClearPermission = new System.Windows.Forms.Button(); this.btnPaste = new System.Windows.Forms.Button(); this.btnCopy = new System.Windows.Forms.Button(); this.lblPermissionScopeReq = new System.Windows.Forms.Label(); this.ucPermissionScope = new DotNet.WinForm.Common.WinControls.UCScopePermissionSelect(); this.lblPermissionScope = new System.Windows.Forms.Label(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.tabControl1.SuspendLayout(); this.tpUser.SuspendLayout(); this.tpRole.SuspendLayout(); this.tpOrganize.SuspendLayout(); this.tpModule.SuspendLayout(); this.tpPermissionItem.SuspendLayout(); this.flowLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // // tabControl1 // this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.tabControl1.Controls.Add(this.tpUser); this.tabControl1.Controls.Add(this.tpRole); this.tabControl1.Controls.Add(this.tpOrganize); this.tabControl1.Controls.Add(this.tpModule); this.tabControl1.Controls.Add(this.tpPermissionItem); this.tabControl1.Location = new System.Drawing.Point(6, 78); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(738, 456); this.tabControl1.TabIndex = 9; // // tpUser // this.tpUser.Controls.Add(this.cklstUser); this.tpUser.Location = new System.Drawing.Point(4, 22); this.tpUser.Name = "tpUser"; this.tpUser.Padding = new System.Windows.Forms.Padding(3); this.tpUser.Size = new System.Drawing.Size(730, 430); this.tpUser.TabIndex = 0; this.tpUser.Text = "用户"; this.tpUser.UseVisualStyleBackColor = true; // // cklstUser // this.cklstUser.Dock = System.Windows.Forms.DockStyle.Fill; this.cklstUser.Enabled = false; this.cklstUser.FormattingEnabled = true; this.cklstUser.Location = new System.Drawing.Point(3, 3); this.cklstUser.MultiColumn = true; this.cklstUser.Name = "cklstUser"; this.cklstUser.Size = new System.Drawing.Size(724, 424); this.cklstUser.TabIndex = 1; this.cklstUser.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.cklstUser_ItemCheck); // // tpRole // this.tpRole.Controls.Add(this.cklstRole); this.tpRole.Location = new System.Drawing.Point(4, 22); this.tpRole.Name = "tpRole"; this.tpRole.Padding = new System.Windows.Forms.Padding(3); this.tpRole.Size = new System.Drawing.Size(730, 430); this.tpRole.TabIndex = 1; this.tpRole.Text = "角色"; this.tpRole.UseVisualStyleBackColor = true; // // cklstRole // this.cklstRole.Dock = System.Windows.Forms.DockStyle.Fill; this.cklstRole.Enabled = false; this.cklstRole.FormattingEnabled = true; this.cklstRole.Location = new System.Drawing.Point(3, 3); this.cklstRole.MultiColumn = true; this.cklstRole.Name = "cklstRole"; this.cklstRole.Size = new System.Drawing.Size(724, 425); this.cklstRole.TabIndex = 1; this.cklstRole.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.cklstRole_ItemCheck); // // tpOrganize // this.tpOrganize.Controls.Add(this.tvOrganize); this.tpOrganize.Location = new System.Drawing.Point(4, 22); this.tpOrganize.Name = "tpOrganize"; this.tpOrganize.Padding = new System.Windows.Forms.Padding(3); this.tpOrganize.Size = new System.Drawing.Size(730, 430); this.tpOrganize.TabIndex = 2; this.tpOrganize.Text = "组织机构"; this.tpOrganize.UseVisualStyleBackColor = true; // // tvOrganize // this.tvOrganize.CheckBoxes = true; this.tvOrganize.Dock = System.Windows.Forms.DockStyle.Fill; this.tvOrganize.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.tvOrganize.ImageIndex = 0; this.tvOrganize.ImageList = this.imageList; this.tvOrganize.Location = new System.Drawing.Point(3, 3); this.tvOrganize.Name = "tvOrganize"; this.tvOrganize.SelectedImageIndex = 0; this.tvOrganize.Size = new System.Drawing.Size(724, 389); this.tvOrganize.TabIndex = 8; this.tvOrganize.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.tvOrganize_AfterCheck); this.tvOrganize.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.tvOrganize_NodeMouseClick); // // imageList // this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream"))); this.imageList.TransparentColor = System.Drawing.Color.Transparent; this.imageList.Images.SetKeyName(0, ""); this.imageList.Images.SetKeyName(1, ""); this.imageList.Images.SetKeyName(2, ""); this.imageList.Images.SetKeyName(3, ""); this.imageList.Images.SetKeyName(4, ""); this.imageList.Images.SetKeyName(5, ""); this.imageList.Images.SetKeyName(6, ""); this.imageList.Images.SetKeyName(7, ""); this.imageList.Images.SetKeyName(8, ""); this.imageList.Images.SetKeyName(9, ""); this.imageList.Images.SetKeyName(10, ""); this.imageList.Images.SetKeyName(11, ""); this.imageList.Images.SetKeyName(12, ""); this.imageList.Images.SetKeyName(13, ""); this.imageList.Images.SetKeyName(14, ""); this.imageList.Images.SetKeyName(15, "icon_messenger1.gif"); this.imageList.Images.SetKeyName(16, "icon_messenger0.gif"); this.imageList.Images.SetKeyName(17, "icon_messenger2.gif"); this.imageList.Images.SetKeyName(18, "icon_messenger3.gif"); this.imageList.Images.SetKeyName(19, "icon_messenger4.gif"); this.imageList.Images.SetKeyName(20, "icon_messenger5.gif"); this.imageList.Images.SetKeyName(21, "icon_messenger6.gif"); // // tpModule // this.tpModule.Controls.Add(this.tvModule); this.tpModule.Location = new System.Drawing.Point(4, 22); this.tpModule.Name = "tpModule"; this.tpModule.Padding = new System.Windows.Forms.Padding(3); this.tpModule.Size = new System.Drawing.Size(730, 430); this.tpModule.TabIndex = 4; this.tpModule.Text = "菜单"; this.tpModule.UseVisualStyleBackColor = true; // // tvModule // this.tvModule.AllowDrop = true; this.tvModule.CheckBoxes = true; this.tvModule.Dock = System.Windows.Forms.DockStyle.Fill; this.tvModule.Enabled = false; this.tvModule.ImageIndex = 0; this.tvModule.ImageList = this.imageList; this.tvModule.Location = new System.Drawing.Point(3, 3); this.tvModule.Name = "tvModule"; this.tvModule.SelectedImageIndex = 0; this.tvModule.Size = new System.Drawing.Size(724, 389); this.tvModule.TabIndex = 2; this.tvModule.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.tvModule_AfterCheck); this.tvModule.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.tvModule_NodeMouseClick); // // tpPermissionItem // this.tpPermissionItem.Controls.Add(this.tvPermissionItem); this.tpPermissionItem.Location = new System.Drawing.Point(4, 22); this.tpPermissionItem.Name = "tpPermissionItem"; this.tpPermissionItem.Padding = new System.Windows.Forms.Padding(3); this.tpPermissionItem.Size = new System.Drawing.Size(730, 430); this.tpPermissionItem.TabIndex = 3; this.tpPermissionItem.Text = "可分配操作权限"; this.tpPermissionItem.UseVisualStyleBackColor = true; // // tvPermissionItem // this.tvPermissionItem.AllowDrop = true; this.tvPermissionItem.CheckBoxes = true; this.tvPermissionItem.Dock = System.Windows.Forms.DockStyle.Fill; this.tvPermissionItem.Enabled = false; this.tvPermissionItem.HotTracking = true; this.tvPermissionItem.ImageIndex = 0; this.tvPermissionItem.ImageList = this.imageList; this.tvPermissionItem.Location = new System.Drawing.Point(3, 3); this.tvPermissionItem.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); this.tvPermissionItem.Name = "tvPermissionItem"; this.tvPermissionItem.SelectedImageIndex = 0; this.tvPermissionItem.Size = new System.Drawing.Size(724, 389); this.tvPermissionItem.TabIndex = 2; this.tvPermissionItem.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.tvPermissionItem_AfterCheck); this.tvPermissionItem.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.tvPermissionItem_NodeMouseClick); // // ucRole // this.ucRole.AllowNull = false; this.ucRole.AllowSelect = false; this.ucRole.Location = new System.Drawing.Point(115, 8); this.ucRole.MultiSelect = false; this.ucRole.Name = "ucRole"; this.ucRole.OpenId = ""; this.ucRole.PermissionItemScopeCode = ""; this.ucRole.RemoveIds = null; this.ucRole.SelectedFullName = ""; this.ucRole.SelectedId = ""; this.ucRole.SelectedIds = null; this.ucRole.ShowRoleOnly = true; this.ucRole.Size = new System.Drawing.Size(227, 22); this.ucRole.TabIndex = 4; // // lblParentReq // this.lblParentReq.AutoSize = true; this.lblParentReq.ForeColor = System.Drawing.Color.Red; this.lblParentReq.Location = new System.Drawing.Point(346, 13); this.lblParentReq.Name = "lblParentReq"; this.lblParentReq.Size = new System.Drawing.Size(11, 12); this.lblParentReq.TabIndex = 5; this.lblParentReq.Text = "*"; // // lblParent // this.lblParent.Location = new System.Drawing.Point(7, 12); this.lblParent.Name = "lblParent"; this.lblParent.Size = new System.Drawing.Size(108, 12); this.lblParent.TabIndex = 3; this.lblParent.Text = "角色(&R):"; this.lblParent.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // btnClearPermission // this.btnClearPermission.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnClearPermission.AutoSize = true; this.btnClearPermission.Enabled = false; this.btnClearPermission.Location = new System.Drawing.Point(55, 3); this.btnClearPermission.Name = "btnClearPermission"; this.btnClearPermission.Size = new System.Drawing.Size(102, 23); this.btnClearPermission.TabIndex = 0; this.btnClearPermission.Text = "清除权限(&C)"; this.btnClearPermission.UseVisualStyleBackColor = true; this.btnClearPermission.Click += new System.EventHandler(this.btnClearPermission_Click); // // btnPaste // this.btnPaste.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnPaste.AutoSize = true; this.btnPaste.Enabled = false; this.btnPaste.Location = new System.Drawing.Point(271, 3); this.btnPaste.Name = "btnPaste"; this.btnPaste.Size = new System.Drawing.Size(102, 23); this.btnPaste.TabIndex = 2; this.btnPaste.Text = "粘贴权限"; this.btnPaste.UseVisualStyleBackColor = true; this.btnPaste.Click += new System.EventHandler(this.btnPaste_Click); // // btnCopy // this.btnCopy.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnCopy.AutoSize = true; this.btnCopy.Enabled = false; this.btnCopy.Location = new System.Drawing.Point(163, 3); this.btnCopy.Name = "btnCopy"; this.btnCopy.Size = new System.Drawing.Size(102, 23); this.btnCopy.TabIndex = 1; this.btnCopy.Text = "复制权限"; this.btnCopy.UseVisualStyleBackColor = true; this.btnCopy.Click += new System.EventHandler(this.btnCopy_Click); // // lblPermissionScopeReq // this.lblPermissionScopeReq.AutoSize = true; this.lblPermissionScopeReq.ForeColor = System.Drawing.Color.Red; this.lblPermissionScopeReq.Location = new System.Drawing.Point(346, 42); this.lblPermissionScopeReq.Name = "lblPermissionScopeReq"; this.lblPermissionScopeReq.Size = new System.Drawing.Size(11, 12); this.lblPermissionScopeReq.TabIndex = 8; this.lblPermissionScopeReq.Text = "*"; // // ucPermissionScope // this.ucPermissionScope.AllowNull = false; this.ucPermissionScope.AllowSelect = false; this.ucPermissionScope.Location = new System.Drawing.Point(115, 36); this.ucPermissionScope.MultiSelect = false; this.ucPermissionScope.Name = "ucPermissionScope"; this.ucPermissionScope.SelectedFullName = ""; this.ucPermissionScope.SelectedId = ""; this.ucPermissionScope.Size = new System.Drawing.Size(227, 22); this.ucPermissionScope.TabIndex = 7; // // lblPermissionScope // this.lblPermissionScope.Location = new System.Drawing.Point(7, 40); this.lblPermissionScope.Name = "lblPermissionScope"; this.lblPermissionScope.Size = new System.Drawing.Size(108, 12); this.lblPermissionScope.TabIndex = 6; this.lblPermissionScope.Text = "数据权限:"; this.lblPermissionScope.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // flowLayoutPanel1 // this.flowLayoutPanel1.Controls.Add(this.btnPaste); this.flowLayoutPanel1.Controls.Add(this.btnCopy); this.flowLayoutPanel1.Controls.Add(this.btnClearPermission); this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; this.flowLayoutPanel1.Location = new System.Drawing.Point(364, 26); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new System.Drawing.Size(376, 32); this.flowLayoutPanel1.TabIndex = 10; // // FrmRoleAuthorizationScope // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(747, 538); this.Controls.Add(this.flowLayoutPanel1); this.Controls.Add(this.lblPermissionScopeReq); this.Controls.Add(this.ucPermissionScope); this.Controls.Add(this.lblPermissionScope); this.Controls.Add(this.ucRole); this.Controls.Add(this.lblParentReq); this.Controls.Add(this.lblParent); this.Controls.Add(this.tabControl1); this.Name = "FrmRoleAuthorizationScope"; this.Text = "角色授权范围明细"; this.tabControl1.ResumeLayout(false); this.tpUser.ResumeLayout(false); this.tpRole.ResumeLayout(false); this.tpOrganize.ResumeLayout(false); this.tpModule.ResumeLayout(false); this.tpPermissionItem.ResumeLayout(false); this.flowLayoutPanel1.ResumeLayout(false); this.flowLayoutPanel1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }