/// <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(FrmUseAuthorizationScope)); 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.ucUser = new DotNet.WinForm.Common.WinControls.UCUserSelect(); 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, 77); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(738, 457); 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, 431); 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, 425); 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, 431); 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, 431); 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, 388); this.tvOrganize.TabIndex = 8; this.tvOrganize.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.tvOrganize_AfterCheck); this.tvOrganize.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tvOrganize_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"); // // 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, 431); 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, 388); this.tvModule.TabIndex = 2; this.tvModule.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.tvModule_AfterCheck); this.tvModule.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tvModule_MouseDown); // // 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, 431); 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, 388); this.tvPermissionItem.TabIndex = 2; this.tvPermissionItem.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.tvPermissionItem_AfterCheck); this.tvPermissionItem.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tvPermissionItem_MouseDown); // // ucUser // this.ucUser.AllowNull = false; this.ucUser.AllowSelect = false; this.ucUser.Location = new System.Drawing.Point(100, 10); this.ucUser.MultiSelect = false; this.ucUser.Name = "ucUser"; this.ucUser.OpenId = ""; this.ucUser.PermissionItemScopeCode = ""; this.ucUser.RemoveIds = null; this.ucUser.SelectedFullName = ""; this.ucUser.SelectedId = ""; this.ucUser.SelectedIds = null; this.ucUser.SetSelectIds = null; this.ucUser.Size = new System.Drawing.Size(227, 22); this.ucUser.TabIndex = 4; // // lblParentReq // this.lblParentReq.AutoSize = true; this.lblParentReq.ForeColor = System.Drawing.Color.Red; this.lblParentReq.Location = new System.Drawing.Point(331, 15); 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(12, 12); this.lblParent.Name = "lblParent"; this.lblParent.Size = new System.Drawing.Size(88, 12); this.lblParent.TabIndex = 3; this.lblParent.Text = "用户(&U):"; 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(26, 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(242, 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(134, 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(331, 44); 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(100, 38); 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(12, 40); this.lblPermissionScope.Name = "lblPermissionScope"; this.lblPermissionScope.Size = new System.Drawing.Size(88, 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(390, 34); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new System.Drawing.Size(347, 26); this.flowLayoutPanel1.TabIndex = 10; // // FrmUseAuthorizationScope // 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.ucUser); this.Controls.Add(this.lblParentReq); this.Controls.Add(this.lblParent); this.Controls.Add(this.tabControl1); this.Name = "FrmUseAuthorizationScope"; 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(); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用主键编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmUserPermissionScope)); 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.ucPermissionScope = new DotNet.WinForm.Common.WinControls.UCScopePermissionSelect(); this.lblPermissionScope = new System.Windows.Forms.Label(); this.lblPermissionScopeReq = new System.Windows.Forms.Label(); this.ucUser = new DotNet.WinForm.Common.WinControls.UCUserSelect(); this.lblStaffReq = new System.Windows.Forms.Label(); this.lblUser = new System.Windows.Forms.Label(); this.grbPermissionScope = new System.Windows.Forms.GroupBox(); this.rdbUserSubCompany = new System.Windows.Forms.RadioButton(); this.rdbNone = new System.Windows.Forms.RadioButton(); this.rdbDetail = new System.Windows.Forms.RadioButton(); this.rdbUser = new System.Windows.Forms.RadioButton(); this.rdbUserWorkgroup = new System.Windows.Forms.RadioButton(); this.rdbUserDepartment = new System.Windows.Forms.RadioButton(); this.rdbUserCompany = new System.Windows.Forms.RadioButton(); this.rdbAll = new System.Windows.Forms.RadioButton(); this.chkInnerOrganize = new System.Windows.Forms.CheckBox(); this.grbPermissionScope.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(93, 507); this.btnInvertSelect.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.btnInvertSelect.Name = "btnInvertSelect"; this.btnInvertSelect.Size = new System.Drawing.Size(78, 23); this.btnInvertSelect.TabIndex = 10; 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(5, 507); this.btnSelectAll.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.btnSelectAll.Name = "btnSelectAll"; this.btnSelectAll.Size = new System.Drawing.Size(78, 23); this.btnSelectAll.TabIndex = 9; 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(666, 507); this.btnCancel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 12; 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(582, 507); this.btnBatchSave.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.btnBatchSave.Name = "btnBatchSave"; this.btnBatchSave.Size = new System.Drawing.Size(75, 23); this.btnBatchSave.TabIndex = 11; 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(7, 131); this.tvOrganize.Name = "tvOrganize"; this.tvOrganize.SelectedImageIndex = 1; this.tvOrganize.Size = new System.Drawing.Size(735, 369); this.tvOrganize.TabIndex = 8; this.tvOrganize.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.tvOrganize_AfterCheck); this.tvOrganize.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tvOrganize_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"); this.imageList.Images.SetKeyName(22, "Role.gif"); // // ucPermissionScope // this.ucPermissionScope.AllowNull = true; this.ucPermissionScope.AllowSelect = false; this.ucPermissionScope.Location = new System.Drawing.Point(120, 38); this.ucPermissionScope.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.ucPermissionScope.MultiSelect = false; this.ucPermissionScope.Name = "ucPermissionScope"; this.ucPermissionScope.SelectedFullName = ""; this.ucPermissionScope.SelectedId = ""; this.ucPermissionScope.Size = new System.Drawing.Size(290, 22); this.ucPermissionScope.TabIndex = 5; // // lblPermissionScope // this.lblPermissionScope.Location = new System.Drawing.Point(6, 42); this.lblPermissionScope.Name = "lblPermissionScope"; this.lblPermissionScope.Size = new System.Drawing.Size(108, 12); this.lblPermissionScope.TabIndex = 4; this.lblPermissionScope.Text = "数据权限:"; this.lblPermissionScope.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // lblPermissionScopeReq // this.lblPermissionScopeReq.AutoSize = true; this.lblPermissionScopeReq.ForeColor = System.Drawing.Color.Red; this.lblPermissionScopeReq.Location = new System.Drawing.Point(417, 44); this.lblPermissionScopeReq.Name = "lblPermissionScopeReq"; this.lblPermissionScopeReq.Size = new System.Drawing.Size(11, 12); this.lblPermissionScopeReq.TabIndex = 6; this.lblPermissionScopeReq.Text = "*"; // // ucUser // this.ucUser.AllowNull = true; this.ucUser.AllowSelect = false; this.ucUser.Location = new System.Drawing.Point(120, 10); this.ucUser.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.ucUser.MultiSelect = false; this.ucUser.Name = "ucUser"; this.ucUser.OpenId = ""; this.ucUser.PermissionItemScopeCode = ""; this.ucUser.RemoveIds = null; this.ucUser.SelectedFullName = ""; this.ucUser.SelectedId = ""; this.ucUser.SelectedIds = null; this.ucUser.SetSelectIds = null; this.ucUser.Size = new System.Drawing.Size(290, 22); this.ucUser.TabIndex = 1; // // lblStaffReq // this.lblStaffReq.AutoSize = true; this.lblStaffReq.ForeColor = System.Drawing.Color.Red; this.lblStaffReq.Location = new System.Drawing.Point(417, 15); this.lblStaffReq.Name = "lblStaffReq"; this.lblStaffReq.Size = new System.Drawing.Size(11, 12); this.lblStaffReq.TabIndex = 2; this.lblStaffReq.Text = "*"; // // lblUser // this.lblUser.Location = new System.Drawing.Point(6, 14); this.lblUser.Name = "lblUser"; this.lblUser.Size = new System.Drawing.Size(108, 12); this.lblUser.TabIndex = 0; this.lblUser.Text = "用户:"; this.lblUser.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // 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.rdbUserSubCompany); this.grbPermissionScope.Controls.Add(this.rdbNone); this.grbPermissionScope.Controls.Add(this.rdbDetail); this.grbPermissionScope.Controls.Add(this.rdbUser); this.grbPermissionScope.Controls.Add(this.rdbUserWorkgroup); this.grbPermissionScope.Controls.Add(this.rdbUserDepartment); this.grbPermissionScope.Controls.Add(this.rdbUserCompany); this.grbPermissionScope.Controls.Add(this.rdbAll); this.grbPermissionScope.Location = new System.Drawing.Point(8, 67); this.grbPermissionScope.Name = "grbPermissionScope"; this.grbPermissionScope.Size = new System.Drawing.Size(734, 54); this.grbPermissionScope.TabIndex = 7; this.grbPermissionScope.TabStop = false; this.grbPermissionScope.Text = "权限范围"; // // rdbUserSubCompany // this.rdbUserSubCompany.AutoSize = true; this.rdbUserSubCompany.Location = new System.Drawing.Point(172, 20); this.rdbUserSubCompany.Name = "rdbUserSubCompany"; this.rdbUserSubCompany.Size = new System.Drawing.Size(95, 16); this.rdbUserSubCompany.TabIndex = 2; this.rdbUserSubCompany.Text = "所在分支机构"; this.rdbUserSubCompany.UseVisualStyleBackColor = true; // // rdbNone // this.rdbNone.AutoSize = true; this.rdbNone.Location = new System.Drawing.Point(608, 20); this.rdbNone.Name = "rdbNone"; this.rdbNone.Size = new System.Drawing.Size(35, 16); this.rdbNone.TabIndex = 7; this.rdbNone.Text = "无"; this.rdbNone.UseVisualStyleBackColor = true; // // rdbDetail // this.rdbDetail.AutoSize = true; this.rdbDetail.Checked = true; this.rdbDetail.Location = new System.Drawing.Point(516, 20); this.rdbDetail.Name = "rdbDetail"; this.rdbDetail.Size = new System.Drawing.Size(83, 16); this.rdbDetail.TabIndex = 6; this.rdbDetail.TabStop = true; this.rdbDetail.Text = "按明细设置"; this.rdbDetail.UseVisualStyleBackColor = true; // // rdbUser // this.rdbUser.AutoSize = true; this.rdbUser.Location = new System.Drawing.Point(448, 20); this.rdbUser.Name = "rdbUser"; this.rdbUser.Size = new System.Drawing.Size(59, 16); this.rdbUser.TabIndex = 5; this.rdbUser.Text = "仅本人"; this.rdbUser.UseVisualStyleBackColor = true; // // rdbUserWorkgroup // this.rdbUserWorkgroup.AutoSize = true; this.rdbUserWorkgroup.Location = new System.Drawing.Point(356, 20); this.rdbUserWorkgroup.Name = "rdbUserWorkgroup"; this.rdbUserWorkgroup.Size = new System.Drawing.Size(83, 16); this.rdbUserWorkgroup.TabIndex = 4; this.rdbUserWorkgroup.Text = "所在工作组"; this.rdbUserWorkgroup.UseVisualStyleBackColor = true; // // rdbUserDepartment // this.rdbUserDepartment.AutoSize = true; this.rdbUserDepartment.Location = new System.Drawing.Point(276, 20); this.rdbUserDepartment.Name = "rdbUserDepartment"; this.rdbUserDepartment.Size = new System.Drawing.Size(71, 16); this.rdbUserDepartment.TabIndex = 3; this.rdbUserDepartment.Text = "所在部门"; this.rdbUserDepartment.UseVisualStyleBackColor = true; // // rdbUserCompany // this.rdbUserCompany.AutoSize = true; this.rdbUserCompany.Location = new System.Drawing.Point(92, 20); this.rdbUserCompany.Name = "rdbUserCompany"; this.rdbUserCompany.Size = new System.Drawing.Size(71, 16); this.rdbUserCompany.TabIndex = 1; this.rdbUserCompany.Text = "所在公司"; this.rdbUserCompany.UseVisualStyleBackColor = true; // // rdbAll // this.rdbAll.AutoSize = true; this.rdbAll.Location = new System.Drawing.Point(12, 20); this.rdbAll.Name = "rdbAll"; this.rdbAll.Size = new System.Drawing.Size(71, 16); this.rdbAll.TabIndex = 0; this.rdbAll.Text = "所有数据"; this.rdbAll.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(609, 30); this.chkInnerOrganize.Name = "chkInnerOrganize"; this.chkInnerOrganize.Size = new System.Drawing.Size(132, 16); this.chkInnerOrganize.TabIndex = 3; this.chkInnerOrganize.Text = "仅显示内部组织机构"; this.chkInnerOrganize.UseVisualStyleBackColor = true; this.chkInnerOrganize.CheckedChanged += new System.EventHandler(this.chkInnerOrganize_CheckedChanged); // // FrmUserPermissionScope // 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(748, 536); this.Controls.Add(this.chkInnerOrganize); this.Controls.Add(this.grbPermissionScope); this.Controls.Add(this.ucUser); this.Controls.Add(this.lblStaffReq); this.Controls.Add(this.lblUser); 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(4, 4, 4, 4); this.Name = "FrmUserPermissionScope"; this.Padding = new System.Windows.Forms.Padding(8, 8, 8, 8); this.Text = "用户数据权限设置"; this.grbPermissionScope.ResumeLayout(false); this.grbPermissionScope.PerformLayout(); 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(FrmUserPermission)); 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.ucUser = new DotNet.WinForm.Common.WinControls.UCUserSelect(); 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.panel2 = new System.Windows.Forms.Panel(); this.tcUser = new System.Windows.Forms.TabControl(); this.tpUser = new System.Windows.Forms.TabPage(); this.cklstRole = new System.Windows.Forms.CheckedListBox(); 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.panel2.SuspendLayout(); this.tcUser.SuspendLayout(); this.tpUser.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(239, 3); this.btnPaste.Name = "btnPaste"; this.btnPaste.Size = new System.Drawing.Size(102, 23); this.btnPaste.TabIndex = 31; 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(131, 3); this.btnCopy.Name = "btnCopy"; this.btnCopy.Size = new System.Drawing.Size(102, 23); this.btnCopy.TabIndex = 30; 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(23, 3); this.btnClearPermission.Name = "btnClearPermission"; this.btnClearPermission.Size = new System.Drawing.Size(102, 23); this.btnClearPermission.TabIndex = 32; this.btnClearPermission.Text = "清除权限(&C)"; this.btnClearPermission.UseVisualStyleBackColor = true; this.btnClearPermission.Click += new System.EventHandler(this.btnClearPermission_Click); // // ucUser // this.ucUser.AllowNull = false; this.ucUser.AllowSelect = false; this.ucUser.Location = new System.Drawing.Point(152, 19); this.ucUser.MultiSelect = false; this.ucUser.Name = "ucUser"; this.ucUser.OpenId = ""; this.ucUser.PermissionItemScopeCode = ""; this.ucUser.RemoveIds = null; this.ucUser.SelectedFullName = ""; this.ucUser.SelectedId = ""; this.ucUser.SelectedIds = null; this.ucUser.SetSelectIds = null; this.ucUser.Size = new System.Drawing.Size(227, 22); this.ucUser.TabIndex = 34; // // lblParentReq // this.lblParentReq.AutoSize = true; this.lblParentReq.ForeColor = System.Drawing.Color.Red; this.lblParentReq.Location = new System.Drawing.Point(383, 24); this.lblParentReq.Name = "lblParentReq"; this.lblParentReq.Size = new System.Drawing.Size(11, 12); this.lblParentReq.TabIndex = 35; this.lblParentReq.Text = "*"; // // lblParent // this.lblParent.Location = new System.Drawing.Point(17, 23); this.lblParent.Name = "lblParent"; this.lblParent.Size = new System.Drawing.Size(131, 12); this.lblParent.TabIndex = 33; this.lblParent.Text = "用户(&U):"; 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.Controls.Add(this.panel2); this.panel1.Location = new System.Drawing.Point(6, 53); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(794, 510); 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(223, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(290, 510); 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(290, 510); this.tcModule.TabIndex = 12; // // 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(282, 484); 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.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(276, 478); this.tvModule.TabIndex = 1; 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(513, 0); this.splitter2.Name = "splitter2"; this.splitter2.Size = new System.Drawing.Size(3, 510); this.splitter2.TabIndex = 4; this.splitter2.TabStop = false; // // splitter1 // this.splitter1.Location = new System.Drawing.Point(220, 0); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(3, 510); 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(516, 0); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(278, 510); 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(278, 510); this.tcPermissionItem.TabIndex = 10; // // 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(270, 484); 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.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(264, 478); this.tvPermissionItem.TabIndex = 1; this.tvPermissionItem.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.tvPermissionItem_AfterCheck); this.tvPermissionItem.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.tvPermissionItem_NodeMouseClick); // // panel2 // this.panel2.Controls.Add(this.tcUser); this.panel2.Dock = System.Windows.Forms.DockStyle.Left; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(220, 510); this.panel2.TabIndex = 0; // // tcUser // this.tcUser.Controls.Add(this.tpUser); this.tcUser.Dock = System.Windows.Forms.DockStyle.Fill; this.tcUser.Location = new System.Drawing.Point(0, 0); this.tcUser.MinimumSize = new System.Drawing.Size(100, 100); this.tcUser.Name = "tcUser"; this.tcUser.SelectedIndex = 0; this.tcUser.Size = new System.Drawing.Size(220, 510); this.tcUser.TabIndex = 9; // // tpUser // this.tpUser.Controls.Add(this.cklstRole); 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(212, 484); this.tpUser.TabIndex = 0; this.tpUser.Text = "归属角色"; this.tpUser.UseVisualStyleBackColor = true; // // cklstRole // this.cklstRole.Dock = System.Windows.Forms.DockStyle.Fill; this.cklstRole.FormattingEnabled = true; this.cklstRole.Location = new System.Drawing.Point(3, 3); this.cklstRole.Name = "cklstRole"; this.cklstRole.Size = new System.Drawing.Size(206, 478); this.cklstRole.TabIndex = 0; this.cklstRole.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.cklstUser_ItemCheck); // // flowLayoutPanel1 // this.flowLayoutPanel1.AutoSize = true; 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(456, 15); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new System.Drawing.Size(344, 30); this.flowLayoutPanel1.TabIndex = 37; // // FrmUserPermission // 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.ucUser); this.Controls.Add(this.lblParentReq); this.Controls.Add(this.lblParent); this.Name = "FrmUserPermission"; 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.panel2.ResumeLayout(false); this.tcUser.ResumeLayout(false); this.tpUser.ResumeLayout(false); this.flowLayoutPanel1.ResumeLayout(false); this.flowLayoutPanel1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用主键编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); this.btnClose = new System.Windows.Forms.Button(); this.btnExport = new System.Windows.Forms.Button(); this.lblUserReq = new System.Windows.Forms.Label(); this.btnClear = new System.Windows.Forms.Button(); this.btnBatchDelete = new System.Windows.Forms.Button(); this.btnInvertSelect = new System.Windows.Forms.Button(); this.btnSelectAll = new System.Windows.Forms.Button(); this.grdLog = new System.Windows.Forms.DataGridView(); this.colSelected = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colProcessName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colUserRealName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colCreateOn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colIPAddress = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colMethodName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colDescription = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.btnQuery = new System.Windows.Forms.Button(); this.lblEndDate = new System.Windows.Forms.Label(); this.lblStartDate = new System.Windows.Forms.Label(); this.dtpEndDate = new System.Windows.Forms.DateTimePicker(); this.dtpStartDate = new System.Windows.Forms.DateTimePicker(); this.lblUser = new System.Windows.Forms.Label(); this.ucUser = new DotNet.WinForm.Common.WinControls.UCUserSelect(); ((System.ComponentModel.ISupportInitialize)(this.grdLog)).BeginInit(); this.SuspendLayout(); // // 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(761, 505); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(78, 23); this.btnClose.TabIndex = 14; this.btnClose.Text = "关闭"; this.btnClose.UseVisualStyleBackColor = true; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // btnExport // this.btnExport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnExport.Location = new System.Drawing.Point(443, 505); this.btnExport.Name = "btnExport"; this.btnExport.Size = new System.Drawing.Size(111, 23); this.btnExport.TabIndex = 11; this.btnExport.Text = "导出Excel..."; this.btnExport.UseVisualStyleBackColor = true; this.btnExport.Click += new System.EventHandler(this.btnExport_Click); // // lblUserReq // this.lblUserReq.AutoSize = true; this.lblUserReq.ForeColor = System.Drawing.Color.Red; this.lblUserReq.Location = new System.Drawing.Point(376, 14); this.lblUserReq.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.lblUserReq.Name = "lblUserReq"; this.lblUserReq.Size = new System.Drawing.Size(11, 12); this.lblUserReq.TabIndex = 2; this.lblUserReq.Text = "*"; // // btnClear // this.btnClear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnClear.Location = new System.Drawing.Point(644, 505); this.btnClear.Name = "btnClear"; this.btnClear.Size = new System.Drawing.Size(111, 23); this.btnClear.TabIndex = 13; this.btnClear.Text = "全部清除(&L)"; this.btnClear.UseVisualStyleBackColor = true; this.btnClear.Click += new System.EventHandler(this.btnClearLog_Click); // // btnBatchDelete // this.btnBatchDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnBatchDelete.Location = new System.Drawing.Point(560, 505); this.btnBatchDelete.Name = "btnBatchDelete"; this.btnBatchDelete.Size = new System.Drawing.Size(78, 23); this.btnBatchDelete.TabIndex = 12; this.btnBatchDelete.Text = "删除(&D)"; this.btnBatchDelete.UseVisualStyleBackColor = true; this.btnBatchDelete.Click += new System.EventHandler(this.btnBatchDelete_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(90, 505); this.btnInvertSelect.Name = "btnInvertSelect"; this.btnInvertSelect.Size = new System.Drawing.Size(78, 23); this.btnInvertSelect.TabIndex = 10; 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(6, 505); this.btnSelectAll.Name = "btnSelectAll"; this.btnSelectAll.Size = new System.Drawing.Size(78, 23); this.btnSelectAll.TabIndex = 9; this.btnSelectAll.Text = "全选"; this.btnSelectAll.UseVisualStyleBackColor = true; this.btnSelectAll.Click += new System.EventHandler(this.btnSelectAll_Click); // // grdLog // this.grdLog.AllowUserToAddRows = false; dataGridViewCellStyle1.BackColor = System.Drawing.Color.AliceBlue; dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(168)))), ((int)(((byte)(168)))), ((int)(((byte)(255))))); this.grdLog.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; this.grdLog.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.grdLog.BackgroundColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; this.grdLog.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; this.grdLog.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.grdLog.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colSelected, this.colProcessName, this.colUserRealName, this.colCreateOn, this.colIPAddress, this.colMethodName, this.colDescription}); this.grdLog.Location = new System.Drawing.Point(8, 66); this.grdLog.MultiSelect = false; this.grdLog.Name = "grdLog"; this.grdLog.RowTemplate.Height = 23; this.grdLog.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.grdLog.Size = new System.Drawing.Size(827, 433); this.grdLog.TabIndex = 8; this.grdLog.UserDeletingRow += new System.Windows.Forms.DataGridViewRowCancelEventHandler(this.grdLogGeneral_UserDeletingRow); // // colSelected // this.colSelected.DataPropertyName = "Selected"; this.colSelected.Frozen = true; this.colSelected.HeaderText = "选择"; this.colSelected.Name = "colSelected"; this.colSelected.Width = 50; // // colProcessName // this.colProcessName.DataPropertyName = "ProcessName"; this.colProcessName.Frozen = true; this.colProcessName.HeaderText = "模块"; this.colProcessName.MaxInputLength = 20; this.colProcessName.Name = "colProcessName"; this.colProcessName.ReadOnly = true; this.colProcessName.Width = 150; // // colUserRealName // this.colUserRealName.DataPropertyName = "UserRealName"; this.colUserRealName.HeaderText = "姓名"; this.colUserRealName.Name = "colUserRealName"; this.colUserRealName.ReadOnly = true; this.colUserRealName.Width = 90; // // colCreateOn // this.colCreateOn.DataPropertyName = "CreateOn"; dataGridViewCellStyle3.Format = "yyyy-MM-dd HH:mm:ss"; this.colCreateOn.DefaultCellStyle = dataGridViewCellStyle3; this.colCreateOn.HeaderText = "访问时间"; this.colCreateOn.Name = "colCreateOn"; this.colCreateOn.ReadOnly = true; this.colCreateOn.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.colCreateOn.Width = 120; // // colIPAddress // this.colIPAddress.DataPropertyName = "IPAddress"; this.colIPAddress.HeaderText = "IP地址"; this.colIPAddress.Name = "colIPAddress"; this.colIPAddress.ReadOnly = true; this.colIPAddress.Resizable = System.Windows.Forms.DataGridViewTriState.True; // // colMethodName // this.colMethodName.DataPropertyName = "MethodName"; this.colMethodName.HeaderText = "操作"; this.colMethodName.MaxInputLength = 150; this.colMethodName.Name = "colMethodName"; this.colMethodName.ReadOnly = true; this.colMethodName.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.colMethodName.Width = 150; // // colDescription // this.colDescription.DataPropertyName = "Description"; this.colDescription.HeaderText = "描述"; this.colDescription.Name = "colDescription"; this.colDescription.ReadOnly = true; this.colDescription.Resizable = System.Windows.Forms.DataGridViewTriState.True; // // btnQuery // this.btnQuery.Location = new System.Drawing.Point(695, 37); this.btnQuery.Name = "btnQuery"; this.btnQuery.Size = new System.Drawing.Size(100, 23); this.btnQuery.TabIndex = 7; this.btnQuery.Text = "查询(&Q)"; this.btnQuery.UseVisualStyleBackColor = true; this.btnQuery.Click += new System.EventHandler(this.btnSearch_Click); // // lblEndDate // this.lblEndDate.Location = new System.Drawing.Point(371, 42); this.lblEndDate.Name = "lblEndDate"; this.lblEndDate.Size = new System.Drawing.Size(102, 12); this.lblEndDate.TabIndex = 5; this.lblEndDate.Text = "结束日期:"; this.lblEndDate.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // lblStartDate // this.lblStartDate.Location = new System.Drawing.Point(8, 41); this.lblStartDate.Name = "lblStartDate"; this.lblStartDate.Size = new System.Drawing.Size(98, 12); this.lblStartDate.TabIndex = 3; this.lblStartDate.Text = "开始日期:"; this.lblStartDate.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // dtpEndDate // this.dtpEndDate.Location = new System.Drawing.Point(480, 38); this.dtpEndDate.Name = "dtpEndDate"; this.dtpEndDate.Size = new System.Drawing.Size(180, 21); this.dtpEndDate.TabIndex = 6; // // dtpStartDate // this.dtpStartDate.Location = new System.Drawing.Point(110, 38); this.dtpStartDate.Name = "dtpStartDate"; this.dtpStartDate.Size = new System.Drawing.Size(180, 21); this.dtpStartDate.TabIndex = 4; // // lblUser // this.lblUser.Location = new System.Drawing.Point(8, 13); this.lblUser.Name = "lblUser"; this.lblUser.Size = new System.Drawing.Size(98, 12); this.lblUser.TabIndex = 0; this.lblUser.Text = "用户:"; this.lblUser.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // ucUser // this.ucUser.AllowNull = true; this.ucUser.AllowSelect = true; this.ucUser.Location = new System.Drawing.Point(110, 10); this.ucUser.MultiSelect = false; this.ucUser.Name = "ucUser"; this.ucUser.OpenId = ""; this.ucUser.PermissionItemScopeCode = ""; this.ucUser.RemoveIds = null; this.ucUser.SelectedFullName = ""; this.ucUser.SelectedId = ""; this.ucUser.SelectedIds = null; this.ucUser.SetSelectIds = null; this.ucUser.Size = new System.Drawing.Size(257, 22); this.ucUser.TabIndex = 1; this.ucUser.SelectedIndexChanged += new BaseBusinessLogic.SelectedIndexChangedEventHandler(this.ucUser_SelectedIndexChanged); // // FrmLogByUser // 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(844, 532); this.Controls.Add(this.ucUser); this.Controls.Add(this.btnExport); this.Controls.Add(this.lblUserReq); this.Controls.Add(this.btnClose); this.Controls.Add(this.btnClear); this.Controls.Add(this.btnBatchDelete); this.Controls.Add(this.btnInvertSelect); this.Controls.Add(this.btnSelectAll); this.Controls.Add(this.grdLog); this.Controls.Add(this.btnQuery); this.Controls.Add(this.lblEndDate); this.Controls.Add(this.lblStartDate); this.Controls.Add(this.dtpEndDate); this.Controls.Add(this.dtpStartDate); this.Controls.Add(this.lblUser); this.Cursor = System.Windows.Forms.Cursors.Default; this.Name = "FrmLogByUser"; this.Padding = new System.Windows.Forms.Padding(8); this.Text = "按查询用户"; ((System.ComponentModel.ISupportInitialize)(this.grdLog)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用主键编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); this.btnClose = new System.Windows.Forms.Button(); this.btnInvertSelect = new System.Windows.Forms.Button(); this.btnSelectAll = new System.Windows.Forms.Button(); this.ucUser = new DotNet.WinForm.Common.WinControls.UCUserSelect(); this.lblParentReq = new System.Windows.Forms.Label(); this.lblUser = new System.Windows.Forms.Label(); this.grdRole = new System.Windows.Forms.DataGridView(); this.colSelected = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colRealName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colDescription = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.btnRemove = new System.Windows.Forms.Button(); this.btnAddToRole = new System.Windows.Forms.Button(); this.btnRolePermission = new System.Windows.Forms.Button(); this.cmbRole = new System.Windows.Forms.ComboBox(); this.lblRole = new System.Windows.Forms.Label(); this.butSave = new System.Windows.Forms.Button(); this.btnPaste = new System.Windows.Forms.Button(); this.btnCopy = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.grdRole)).BeginInit(); this.SuspendLayout(); // // 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(597, 507); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(75, 23); this.btnClose.TabIndex = 14; 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(90, 507); this.btnInvertSelect.Name = "btnInvertSelect"; this.btnInvertSelect.Size = new System.Drawing.Size(78, 23); this.btnInvertSelect.TabIndex = 10; 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, 507); this.btnSelectAll.Name = "btnSelectAll"; this.btnSelectAll.Size = new System.Drawing.Size(78, 23); this.btnSelectAll.TabIndex = 9; this.btnSelectAll.Text = "全选"; this.btnSelectAll.UseVisualStyleBackColor = true; this.btnSelectAll.Click += new System.EventHandler(this.btnSelectAll_Click); // // ucUser // this.ucUser.AllowNull = true; this.ucUser.AllowSelect = false; this.ucUser.Location = new System.Drawing.Point(120, 8); this.ucUser.MultiSelect = false; this.ucUser.Name = "ucUser"; this.ucUser.OpenId = ""; this.ucUser.PermissionItemScopeCode = ""; this.ucUser.RemoveIds = null; this.ucUser.SelectedFullName = ""; this.ucUser.SelectedId = ""; this.ucUser.SelectedIds = null; this.ucUser.SetSelectIds = null; this.ucUser.Size = new System.Drawing.Size(227, 22); this.ucUser.TabIndex = 3; this.ucUser.SelectedIndexChanged += new BaseBusinessLogic.SelectedIndexChangedEventHandler(this.ucUser_SelectedIndexChanged); // // lblParentReq // this.lblParentReq.AutoSize = true; this.lblParentReq.ForeColor = System.Drawing.Color.Red; this.lblParentReq.Location = new System.Drawing.Point(351, 14); this.lblParentReq.Name = "lblParentReq"; this.lblParentReq.Size = new System.Drawing.Size(11, 12); this.lblParentReq.TabIndex = 4; this.lblParentReq.Text = "*"; // // lblUser // this.lblUser.Location = new System.Drawing.Point(5, 12); this.lblUser.Name = "lblUser"; this.lblUser.Size = new System.Drawing.Size(112, 12); this.lblUser.TabIndex = 2; this.lblUser.Text = "用户(&N):"; this.lblUser.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // grdRole // this.grdRole.AllowUserToAddRows = false; dataGridViewCellStyle1.BackColor = System.Drawing.Color.AliceBlue; this.grdRole.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; this.grdRole.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.grdRole.BackgroundColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; this.grdRole.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; this.grdRole.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.grdRole.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colSelected, this.colRealName, this.colDescription}); this.grdRole.Location = new System.Drawing.Point(9, 70); this.grdRole.MultiSelect = false; this.grdRole.Name = "grdRole"; this.grdRole.RowTemplate.Height = 23; this.grdRole.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.grdRole.Size = new System.Drawing.Size(663, 428); this.grdRole.TabIndex = 8; // // colSelected // this.colSelected.DataPropertyName = "Selected"; this.colSelected.Frozen = true; this.colSelected.HeaderText = "选择"; this.colSelected.Name = "colSelected"; this.colSelected.Width = 50; // // colRealName // this.colRealName.DataPropertyName = "RealName"; this.colRealName.HeaderText = "名称"; this.colRealName.Name = "colRealName"; this.colRealName.ReadOnly = true; this.colRealName.Width = 250; // // colDescription // this.colDescription.DataPropertyName = "Description"; this.colDescription.HeaderText = "描述"; this.colDescription.MaxInputLength = 200; this.colDescription.Name = "colDescription"; this.colDescription.ReadOnly = true; this.colDescription.Width = 300; // // btnRemove // this.btnRemove.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnRemove.Location = new System.Drawing.Point(304, 507); this.btnRemove.Name = "btnRemove"; this.btnRemove.Size = new System.Drawing.Size(75, 23); this.btnRemove.TabIndex = 12; this.btnRemove.Text = "移除(&R)"; this.btnRemove.UseVisualStyleBackColor = true; this.btnRemove.Click += new System.EventHandler(this.btnRemove_Click); // // btnAddToRole // this.btnAddToRole.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnAddToRole.Location = new System.Drawing.Point(199, 507); this.btnAddToRole.Name = "btnAddToRole"; this.btnAddToRole.Size = new System.Drawing.Size(101, 23); this.btnAddToRole.TabIndex = 11; this.btnAddToRole.Text = "添加角色(&D)..."; this.btnAddToRole.UseVisualStyleBackColor = true; this.btnAddToRole.Click += new System.EventHandler(this.btnAdd_Click); // // btnRolePermission // this.btnRolePermission.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnRolePermission.Enabled = false; this.btnRolePermission.Location = new System.Drawing.Point(383, 507); this.btnRolePermission.Name = "btnRolePermission"; this.btnRolePermission.Size = new System.Drawing.Size(131, 23); this.btnRolePermission.TabIndex = 13; this.btnRolePermission.Text = "查看角色权限(&P)..."; this.btnRolePermission.UseVisualStyleBackColor = true; this.btnRolePermission.Click += new System.EventHandler(this.btnRolePermission_Click); // // cmbRole // this.cmbRole.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbRole.Location = new System.Drawing.Point(120, 36); this.cmbRole.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.cmbRole.Name = "cmbRole"; this.cmbRole.Size = new System.Drawing.Size(227, 20); this.cmbRole.TabIndex = 6; // // lblRole // this.lblRole.Location = new System.Drawing.Point(5, 39); this.lblRole.Name = "lblRole"; this.lblRole.Size = new System.Drawing.Size(112, 12); this.lblRole.TabIndex = 5; this.lblRole.Text = "默认角色(&R):"; this.lblRole.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // butSave // this.butSave.Location = new System.Drawing.Point(518, 507); this.butSave.Name = "butSave"; this.butSave.Size = new System.Drawing.Size(75, 23); this.butSave.TabIndex = 7; this.butSave.Text = "保存(&S)"; this.butSave.UseVisualStyleBackColor = true; this.butSave.Click += new System.EventHandler(this.butSave_Click); // // btnPaste // this.btnPaste.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnPaste.Enabled = false; this.btnPaste.Location = new System.Drawing.Point(570, 16); this.btnPaste.Name = "btnPaste"; this.btnPaste.Size = new System.Drawing.Size(102, 23); this.btnPaste.TabIndex = 1; 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.Enabled = false; this.btnCopy.Location = new System.Drawing.Point(465, 16); this.btnCopy.Name = "btnCopy"; this.btnCopy.Size = new System.Drawing.Size(102, 23); this.btnCopy.TabIndex = 0; this.btnCopy.Text = "复制角色"; this.btnCopy.UseVisualStyleBackColor = true; this.btnCopy.Click += new System.EventHandler(this.btnCopy_Click); // // FrmUserRoleAdmin // 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(681, 534); this.Controls.Add(this.btnPaste); this.Controls.Add(this.btnCopy); this.Controls.Add(this.butSave); this.Controls.Add(this.cmbRole); this.Controls.Add(this.lblRole); this.Controls.Add(this.btnRolePermission); this.Controls.Add(this.btnRemove); this.Controls.Add(this.btnAddToRole); this.Controls.Add(this.grdRole); this.Controls.Add(this.ucUser); this.Controls.Add(this.lblParentReq); this.Controls.Add(this.lblUser); this.Controls.Add(this.btnInvertSelect); this.Controls.Add(this.btnSelectAll); this.Controls.Add(this.btnClose); this.Cursor = System.Windows.Forms.Cursors.Default; this.Name = "FrmUserRoleAdmin"; this.Padding = new System.Windows.Forms.Padding(8); this.Text = "用户角色关联"; ((System.ComponentModel.ISupportInitialize)(this.grdRole)).EndInit(); 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(FrmUserModulePermissionItem)); this.tvModulePermissionItem = 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.ucUser = new DotNet.WinForm.Common.WinControls.UCUserSelect(); this.lblParentReq = new System.Windows.Forms.Label(); this.lblUser = new System.Windows.Forms.Label(); this.tcModule = new System.Windows.Forms.TabControl(); this.tpModule = new System.Windows.Forms.TabPage(); this.tcModule.SuspendLayout(); this.tpModule.SuspendLayout(); this.SuspendLayout(); // // tvModulePermissionItem // this.tvModulePermissionItem.AllowDrop = true; this.tvModulePermissionItem.CheckBoxes = true; this.tvModulePermissionItem.Dock = System.Windows.Forms.DockStyle.Fill; this.tvModulePermissionItem.ImageIndex = 0; this.tvModulePermissionItem.ImageList = this.imageList; this.tvModulePermissionItem.Location = new System.Drawing.Point(3, 3); this.tvModulePermissionItem.Name = "tvModulePermissionItem"; this.tvModulePermissionItem.SelectedImageIndex = 0; this.tvModulePermissionItem.Size = new System.Drawing.Size(662, 414); this.tvModulePermissionItem.TabIndex = 1; this.tvModulePermissionItem.BeforeCheck += new System.Windows.Forms.TreeViewCancelEventHandler(this.tvModule_BeforeCheck); this.tvModulePermissionItem.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.tvModulePermissionItem_NodeMouseClick); this.tvModulePermissionItem.DoubleClick += new System.EventHandler(this.tvModulePermissionItem_DoubleClick); // // 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(520, 490); this.btnBatchSave.Name = "btnBatchSave"; this.btnBatchSave.Size = new System.Drawing.Size(78, 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(606, 490); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(78, 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(94, 490); 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, 490); 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); // // ucUser // this.ucUser.AllowNull = false; this.ucUser.AllowSelect = false; this.ucUser.Location = new System.Drawing.Point(117, 12); this.ucUser.MultiSelect = false; this.ucUser.Name = "ucUser"; this.ucUser.OpenId = ""; this.ucUser.PermissionItemScopeCode = ""; this.ucUser.RemoveIds = null; this.ucUser.SelectedFullName = ""; this.ucUser.SelectedId = ""; this.ucUser.SelectedIds = null; this.ucUser.SetSelectIds = null; this.ucUser.Size = new System.Drawing.Size(266, 22); this.ucUser.TabIndex = 6; // // lblParentReq // this.lblParentReq.AutoSize = true; this.lblParentReq.ForeColor = System.Drawing.Color.Red; this.lblParentReq.Location = new System.Drawing.Point(389, 17); this.lblParentReq.Name = "lblParentReq"; this.lblParentReq.Size = new System.Drawing.Size(11, 12); this.lblParentReq.TabIndex = 7; this.lblParentReq.Text = "*"; // // lblUser // this.lblUser.AutoSize = true; this.lblUser.Location = new System.Drawing.Point(48, 16); this.lblUser.Name = "lblUser"; this.lblUser.Size = new System.Drawing.Size(59, 12); this.lblUser.TabIndex = 5; this.lblUser.Text = "用户(&U):"; // // tcModule // this.tcModule.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.tcModule.Controls.Add(this.tpModule); this.tcModule.Location = new System.Drawing.Point(9, 40); this.tcModule.Name = "tcModule"; this.tcModule.SelectedIndex = 0; this.tcModule.Size = new System.Drawing.Size(676, 446); this.tcModule.TabIndex = 8; // // tpModule // this.tpModule.Controls.Add(this.tvModulePermissionItem); 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(668, 420); this.tpModule.TabIndex = 0; this.tpModule.Text = "用户权限"; this.tpModule.UseVisualStyleBackColor = true; // // FrmUserModulePermissionItem // 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, 518); this.Controls.Add(this.tcModule); this.Controls.Add(this.ucUser); this.Controls.Add(this.lblParentReq); 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 = "FrmUserModulePermissionItem"; this.Text = "用户权限"; this.tcModule.ResumeLayout(false); this.tpModule.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(FrmUserPermissionItemScope)); this.lblUser = 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.ucUser = new DotNet.WinForm.Common.WinControls.UCUserSelect(); this.tcPermission = new System.Windows.Forms.TabControl(); this.tpPermission = new System.Windows.Forms.TabPage(); this.tcPermission.SuspendLayout(); this.tpPermission.SuspendLayout(); this.SuspendLayout(); // // lblUser // this.lblUser.Location = new System.Drawing.Point(15, 13); this.lblUser.Name = "lblUser"; this.lblUser.Size = new System.Drawing.Size(108, 12); this.lblUser.TabIndex = 1; this.lblUser.Text = "用户(&U):"; this.lblUser.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(661, 426); 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(94, 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(8, 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(605, 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(519, 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(405, 13); this.lblParentReq.Name = "lblParentReq"; this.lblParentReq.Size = new System.Drawing.Size(11, 12); this.lblParentReq.TabIndex = 3; this.lblParentReq.Text = "*"; // // ucUser // this.ucUser.AllowNull = true; this.ucUser.AllowSelect = false; this.ucUser.Location = new System.Drawing.Point(124, 9); this.ucUser.MultiSelect = false; this.ucUser.Name = "ucUser"; this.ucUser.OpenId = ""; this.ucUser.PermissionItemScopeCode = ""; this.ucUser.RemoveIds = null; this.ucUser.SelectedFullName = ""; this.ucUser.SelectedId = ""; this.ucUser.SelectedIds = null; this.ucUser.SetSelectIds = null; this.ucUser.Size = new System.Drawing.Size(275, 22); this.ucUser.TabIndex = 2; this.ucUser.SelectedIndexChanged += new BaseBusinessLogic.SelectedIndexChangedEventHandler(this.ucStaffSelect_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(10, 42); this.tcPermission.Name = "tcPermission"; this.tcPermission.SelectedIndex = 0; this.tcPermission.Size = new System.Drawing.Size(675, 458); 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(667, 432); this.tpPermission.TabIndex = 0; this.tpPermission.Text = "操作权限"; this.tpPermission.UseVisualStyleBackColor = true; // // FrmUserPermissionItemScope // 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.ucUser); 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.lblUser); this.Cursor = System.Windows.Forms.Cursors.Default; this.Name = "FrmUserPermissionItemScope"; this.Text = "用户可授权范围设置"; this.Load += new System.EventHandler(this.FrmUserPermission_Load); this.tcPermission.ResumeLayout(false); this.tpPermission.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.panel2 = new System.Windows.Forms.Panel(); this.tab1 = new System.Windows.Forms.TabControl(); this.tpIP = new System.Windows.Forms.TabPage(); this.cklstIp = new System.Windows.Forms.CheckedListBox(); this.panel3 = new System.Windows.Forms.Panel(); this.tcMac = new System.Windows.Forms.TabControl(); this.tpMac = new System.Windows.Forms.TabPage(); this.cklstMac = new System.Windows.Forms.CheckedListBox(); this.lblCodeReq = new System.Windows.Forms.Label(); this.txtMacAddress = new System.Windows.Forms.TextBox(); this.txtIPAddress = new System.Windows.Forms.TextBox(); this.lblMACAddress = new System.Windows.Forms.Label(); this.lblIPAddress = new System.Windows.Forms.Label(); this.btnDelete = new System.Windows.Forms.Button(); this.btnInvertSelect = new System.Windows.Forms.Button(); this.btnClose = new System.Windows.Forms.Button(); this.btnSelectAll = new System.Windows.Forms.Button(); this.btnAdd = new System.Windows.Forms.Button(); this.ucUser = new DotNet.WinForm.Common.WinControls.UCUserSelect(); this.lblUser = new System.Windows.Forms.Label(); this.lblIPFormat = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.lblMACFormat = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.panel2.SuspendLayout(); this.tab1.SuspendLayout(); this.tpIP.SuspendLayout(); this.panel3.SuspendLayout(); this.tcMac.SuspendLayout(); this.tpMac.SuspendLayout(); this.SuspendLayout(); // // panel2 // this.panel2.Controls.Add(this.tab1); this.panel2.Location = new System.Drawing.Point(12, 41); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(255, 362); this.panel2.TabIndex = 1; // // tab1 // this.tab1.Controls.Add(this.tpIP); this.tab1.Dock = System.Windows.Forms.DockStyle.Left; this.tab1.Location = new System.Drawing.Point(0, 0); this.tab1.Name = "tab1"; this.tab1.SelectedIndex = 0; this.tab1.Size = new System.Drawing.Size(245, 362); this.tab1.TabIndex = 9; // // tpIP // this.tpIP.Controls.Add(this.cklstIp); this.tpIP.Location = new System.Drawing.Point(4, 22); this.tpIP.Name = "tpIP"; this.tpIP.Padding = new System.Windows.Forms.Padding(3); this.tpIP.Size = new System.Drawing.Size(237, 336); this.tpIP.TabIndex = 0; this.tpIP.Text = "IP地址"; this.tpIP.UseVisualStyleBackColor = true; // // cklstIp // this.cklstIp.Dock = System.Windows.Forms.DockStyle.Fill; this.cklstIp.FormattingEnabled = true; this.cklstIp.Location = new System.Drawing.Point(3, 3); this.cklstIp.Name = "cklstIp"; this.cklstIp.Size = new System.Drawing.Size(231, 330); this.cklstIp.TabIndex = 0; this.cklstIp.Click += new System.EventHandler(this.cklstIp_Click); // // panel3 // this.panel3.Controls.Add(this.tcMac); this.panel3.Location = new System.Drawing.Point(263, 41); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(255, 362); this.panel3.TabIndex = 2; // // tcMac // this.tcMac.Controls.Add(this.tpMac); this.tcMac.Dock = System.Windows.Forms.DockStyle.Left; this.tcMac.Location = new System.Drawing.Point(0, 0); this.tcMac.Name = "tcMac"; this.tcMac.SelectedIndex = 0; this.tcMac.Size = new System.Drawing.Size(252, 362); this.tcMac.TabIndex = 9; // // tpMac // this.tpMac.Controls.Add(this.cklstMac); this.tpMac.Location = new System.Drawing.Point(4, 22); this.tpMac.Name = "tpMac"; this.tpMac.Padding = new System.Windows.Forms.Padding(3); this.tpMac.Size = new System.Drawing.Size(244, 336); this.tpMac.TabIndex = 0; this.tpMac.Text = "MAC地址"; this.tpMac.UseVisualStyleBackColor = true; // // cklstMac // this.cklstMac.Dock = System.Windows.Forms.DockStyle.Fill; this.cklstMac.FormattingEnabled = true; this.cklstMac.Location = new System.Drawing.Point(3, 3); this.cklstMac.Name = "cklstMac"; this.cklstMac.Size = new System.Drawing.Size(238, 330); this.cklstMac.TabIndex = 1; this.cklstMac.Click += new System.EventHandler(this.cklstMac_Click); // // lblCodeReq // this.lblCodeReq.AutoSize = true; this.lblCodeReq.ForeColor = System.Drawing.Color.Red; this.lblCodeReq.Location = new System.Drawing.Point(259, 423); this.lblCodeReq.Name = "lblCodeReq"; this.lblCodeReq.Size = new System.Drawing.Size(11, 12); this.lblCodeReq.TabIndex = 9; this.lblCodeReq.Text = "*"; // // txtMacAddress // this.txtMacAddress.Location = new System.Drawing.Point(350, 418); this.txtMacAddress.MaxLength = 50; this.txtMacAddress.Name = "txtMacAddress"; this.txtMacAddress.Size = new System.Drawing.Size(168, 21); this.txtMacAddress.TabIndex = 11; // // txtIPAddress // this.txtIPAddress.Location = new System.Drawing.Point(87, 419); this.txtIPAddress.MaxLength = 100; this.txtIPAddress.Name = "txtIPAddress"; this.txtIPAddress.Size = new System.Drawing.Size(163, 21); this.txtIPAddress.TabIndex = 8; // // lblMACAddress // this.lblMACAddress.Location = new System.Drawing.Point(237, 423); this.lblMACAddress.Name = "lblMACAddress"; this.lblMACAddress.Size = new System.Drawing.Size(112, 12); this.lblMACAddress.TabIndex = 10; this.lblMACAddress.Text = "MAC地址(&M):"; this.lblMACAddress.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // lblIPAddress // this.lblIPAddress.Location = new System.Drawing.Point(-13, 422); this.lblIPAddress.Name = "lblIPAddress"; this.lblIPAddress.Size = new System.Drawing.Size(101, 12); this.lblIPAddress.TabIndex = 7; this.lblIPAddress.Text = "IP地址(&P):"; this.lblIPAddress.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // btnDelete // this.btnDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnDelete.Location = new System.Drawing.Point(360, 493); this.btnDelete.Name = "btnDelete"; this.btnDelete.Size = new System.Drawing.Size(75, 23); this.btnDelete.TabIndex = 15; this.btnDelete.Text = "删除(&R)"; this.btnDelete.UseVisualStyleBackColor = true; this.btnDelete.Click += new System.EventHandler(this.btnDelete_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(90, 493); this.btnInvertSelect.Name = "btnInvertSelect"; this.btnInvertSelect.Size = new System.Drawing.Size(78, 23); this.btnInvertSelect.TabIndex = 14; this.btnInvertSelect.Text = "反选"; this.btnInvertSelect.UseVisualStyleBackColor = true; this.btnInvertSelect.Click += new System.EventHandler(this.btnInvertSelect_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(439, 493); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(75, 23); this.btnClose.TabIndex = 16; this.btnClose.Text = "关闭"; this.btnClose.UseVisualStyleBackColor = true; // // 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, 493); this.btnSelectAll.Name = "btnSelectAll"; this.btnSelectAll.Size = new System.Drawing.Size(78, 23); this.btnSelectAll.TabIndex = 13; this.btnSelectAll.Text = "全选"; this.btnSelectAll.UseVisualStyleBackColor = true; this.btnSelectAll.Click += new System.EventHandler(this.btnSelectAll_Click); // // btnAdd // this.btnAdd.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnAdd.Location = new System.Drawing.Point(280, 493); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(75, 23); this.btnAdd.TabIndex = 17; this.btnAdd.Text = "添加(&D)"; this.btnAdd.UseVisualStyleBackColor = true; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // ucUser // this.ucUser.AllowNull = false; this.ucUser.AllowSelect = false; this.ucUser.Location = new System.Drawing.Point(122, 9); this.ucUser.MultiSelect = false; this.ucUser.Name = "ucUser"; this.ucUser.OpenId = ""; this.ucUser.PermissionItemScopeCode = ""; this.ucUser.RemoveIds = null; this.ucUser.SelectedFullName = ""; this.ucUser.SelectedId = ""; this.ucUser.SelectedIds = null; this.ucUser.SetSelectIds = null; this.ucUser.Size = new System.Drawing.Size(241, 22); this.ucUser.TabIndex = 19; // // lblUser // this.lblUser.Location = new System.Drawing.Point(9, 12); this.lblUser.Name = "lblUser"; this.lblUser.Size = new System.Drawing.Size(107, 12); this.lblUser.TabIndex = 18; this.lblUser.Text = "用户(&U):"; this.lblUser.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // lblIPFormat // this.lblIPFormat.Location = new System.Drawing.Point(-13, 444); this.lblIPFormat.Name = "lblIPFormat"; this.lblIPFormat.Size = new System.Drawing.Size(101, 12); this.lblIPFormat.TabIndex = 20; this.lblIPFormat.Text = "IP地址格式:"; this.lblIPFormat.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label2 // this.label2.Location = new System.Drawing.Point(80, 445); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(76, 12); this.label2.TabIndex = 21; this.label2.Text = "192.168.0.1"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label3 // this.label3.Location = new System.Drawing.Point(67, 461); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(167, 12); this.label3.TabIndex = 22; this.label3.Text = "192.168.0.1-192.168.0.10"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label4 // this.label4.Location = new System.Drawing.Point(82, 476); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(74, 12); this.label4.TabIndex = 23; this.label4.Text = "192.168.0.*"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // lblMACFormat // this.lblMACFormat.Location = new System.Drawing.Point(249, 445); this.lblMACFormat.Name = "lblMACFormat"; this.lblMACFormat.Size = new System.Drawing.Size(101, 12); this.lblMACFormat.TabIndex = 24; this.lblMACFormat.Text = "MAC地址格式:"; this.lblMACFormat.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label6 // this.label6.Location = new System.Drawing.Point(342, 445); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(113, 12); this.label6.TabIndex = 25; this.label6.Text = "00-16-36-3F-95-98"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // FrmIpLimit // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(526, 518); this.Controls.Add(this.label6); this.Controls.Add(this.lblMACFormat); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.lblIPFormat); this.Controls.Add(this.ucUser); this.Controls.Add(this.lblUser); this.Controls.Add(this.btnAdd); this.Controls.Add(this.btnDelete); this.Controls.Add(this.btnInvertSelect); this.Controls.Add(this.btnClose); this.Controls.Add(this.btnSelectAll); this.Controls.Add(this.lblCodeReq); this.Controls.Add(this.txtMacAddress); this.Controls.Add(this.txtIPAddress); this.Controls.Add(this.lblMACAddress); this.Controls.Add(this.lblIPAddress); this.Controls.Add(this.panel3); this.Controls.Add(this.panel2); this.Name = "FrmIpLimit"; this.Text = "IP访问限制"; this.panel2.ResumeLayout(false); this.tab1.ResumeLayout(false); this.tpIP.ResumeLayout(false); this.panel3.ResumeLayout(false); this.tcMac.ResumeLayout(false); this.tpMac.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }