/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); this.ucTableSort = new DotNet.WinForm.Common.WinControls.UCTableSort(); this.btnClose = new System.Windows.Forms.Button(); this.grdUser = new System.Windows.Forms.DataGridView(); this.colRealName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colAll = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colUserCompany = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colUserSubCompany = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colUserDepartment = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colUserWorkgroup = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colUser = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colDetail = new System.Windows.Forms.DataGridViewButtonColumn(); this.btnBatchSave = 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.btnSearch = new System.Windows.Forms.Button(); this.lblContents = new System.Windows.Forms.Label(); this.txtSearch = new System.Windows.Forms.TextBox(); this.btnExport = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.grdUser)).BeginInit(); this.SuspendLayout(); // // ucTableSort // this.ucTableSort.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.ucTableSort.Location = new System.Drawing.Point(8, 563); this.ucTableSort.Margin = new System.Windows.Forms.Padding(0); this.ucTableSort.Name = "ucTableSort"; this.ucTableSort.OEntityId = null; this.ucTableSort.Padding = new System.Windows.Forms.Padding(1); this.ucTableSort.SetBottomEnabled = false; this.ucTableSort.SetDownEnabled = false; this.ucTableSort.SetTopEnabled = false; this.ucTableSort.SetUpEnabled = false; this.ucTableSort.Size = new System.Drawing.Size(99, 24); this.ucTableSort.TabIndex = 7; // // 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(841, 564); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(75, 23); this.btnClose.TabIndex = 9; this.btnClose.Text = "关闭"; this.btnClose.UseVisualStyleBackColor = true; // // grdUser // this.grdUser.AllowUserToAddRows = false; this.grdUser.AllowUserToDeleteRows = false; this.grdUser.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.grdUser.BackgroundColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; this.grdUser.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.grdUser.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.grdUser.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colRealName, this.colAll, this.colUserCompany, this.colUserSubCompany, this.colUserDepartment, this.colUserWorkgroup, this.colUser, this.colDetail}); this.grdUser.Location = new System.Drawing.Point(10, 40); this.grdUser.MultiSelect = false; this.grdUser.Name = "grdUser"; this.grdUser.RowTemplate.Height = 23; this.grdUser.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.grdUser.Size = new System.Drawing.Size(904, 516); this.grdUser.TabIndex = 6; this.grdUser.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.grdUser_CellContentClick); // // colRealName // this.colRealName.DataPropertyName = "RealName"; this.colRealName.FillWeight = 150F; this.colRealName.Frozen = true; this.colRealName.HeaderText = "名称"; this.colRealName.MaxInputLength = 200; this.colRealName.Name = "colRealName"; this.colRealName.ReadOnly = true; this.colRealName.Width = 150; // // colAll // this.colAll.DataPropertyName = "colAll"; this.colAll.FillWeight = 80F; this.colAll.HeaderText = "全部"; this.colAll.Name = "colAll"; // // colUserCompany // this.colUserCompany.DataPropertyName = "colUserCompany"; this.colUserCompany.FillWeight = 80F; this.colUserCompany.HeaderText = "所在公司"; this.colUserCompany.Name = "colUserCompany"; // // colUserSubCompany // this.colUserSubCompany.DataPropertyName = "colUserSubCompany"; this.colUserSubCompany.HeaderText = "所在分支机构"; this.colUserSubCompany.Name = "colUserSubCompany"; this.colUserSubCompany.Resizable = System.Windows.Forms.DataGridViewTriState.True; // // colUserDepartment // this.colUserDepartment.DataPropertyName = "colUserDepartment"; this.colUserDepartment.FillWeight = 80F; this.colUserDepartment.HeaderText = "所在部门"; this.colUserDepartment.Name = "colUserDepartment"; // // colUserWorkgroup // this.colUserWorkgroup.DataPropertyName = "colUserWorkgroup"; this.colUserWorkgroup.HeaderText = "所在工作组"; this.colUserWorkgroup.Name = "colUserWorkgroup"; // // colUser // this.colUser.DataPropertyName = "colUser"; this.colUser.FillWeight = 80F; this.colUser.HeaderText = "仅本人"; this.colUser.Name = "colUser"; // // colDetail // this.colDetail.FillWeight = 80F; this.colDetail.HeaderText = "设置明细"; this.colDetail.Name = "colDetail"; this.colDetail.Text = "Detail"; this.colDetail.ToolTipText = "组织机构为基础数据权限明细"; this.colDetail.UseColumnTextForButtonValue = true; this.colDetail.Width = 80; // // 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(763, 564); this.btnBatchSave.Name = "btnBatchSave"; this.btnBatchSave.Size = new System.Drawing.Size(75, 23); this.btnBatchSave.TabIndex = 8; this.btnBatchSave.Text = "保存(&S)"; this.btnBatchSave.UseVisualStyleBackColor = true; this.btnBatchSave.Click += new System.EventHandler(this.btnBatchSave_Click); // // lblPermissionScopeReq // this.lblPermissionScopeReq.AutoSize = true; this.lblPermissionScopeReq.ForeColor = System.Drawing.Color.Red; this.lblPermissionScopeReq.Location = new System.Drawing.Point(372, 16); this.lblPermissionScopeReq.Name = "lblPermissionScopeReq"; this.lblPermissionScopeReq.Size = new System.Drawing.Size(11, 12); this.lblPermissionScopeReq.TabIndex = 2; this.lblPermissionScopeReq.Text = "*"; // // ucPermissionScope // this.ucPermissionScope.AllowNull = false; this.ucPermissionScope.AllowSelect = true; this.ucPermissionScope.Location = new System.Drawing.Point(91, 11); this.ucPermissionScope.MultiSelect = false; this.ucPermissionScope.Name = "ucPermissionScope"; this.ucPermissionScope.SelectedFullName = ""; this.ucPermissionScope.SelectedId = ""; this.ucPermissionScope.Size = new System.Drawing.Size(276, 22); this.ucPermissionScope.TabIndex = 1; this.ucPermissionScope.SelectedIndexChanged += new BaseBusinessLogic.SelectedIndexChangedEventHandler(this.ucPermissionScope_SelectedIndexChanged); // // lblPermissionScope // this.lblPermissionScope.Location = new System.Drawing.Point(14, 14); this.lblPermissionScope.Name = "lblPermissionScope"; this.lblPermissionScope.Size = new System.Drawing.Size(81, 12); this.lblPermissionScope.TabIndex = 0; this.lblPermissionScope.Text = "数据权限:"; this.lblPermissionScope.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // btnSearch // this.btnSearch.Location = new System.Drawing.Point(702, 11); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(75, 23); this.btnSearch.TabIndex = 5; this.btnSearch.Text = "查询(&F)"; this.btnSearch.UseVisualStyleBackColor = true; // // lblContents // this.lblContents.Location = new System.Drawing.Point(425, 16); this.lblContents.Name = "lblContents"; this.lblContents.Size = new System.Drawing.Size(87, 12); this.lblContents.TabIndex = 3; this.lblContents.Text = "查询(&S):"; this.lblContents.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // txtSearch // this.txtSearch.Location = new System.Drawing.Point(515, 12); this.txtSearch.MaxLength = 20; this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(184, 21); this.txtSearch.TabIndex = 4; this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged); // // btnExport // this.btnExport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnExport.Location = new System.Drawing.Point(805, 10); this.btnExport.Name = "btnExport"; this.btnExport.Size = new System.Drawing.Size(111, 23); this.btnExport.TabIndex = 10; this.btnExport.Text = "导出Excel..."; this.btnExport.UseVisualStyleBackColor = true; this.btnExport.Click += new System.EventHandler(this.btnExport_Click); // // FrmUserOrganizeScope // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(923, 593); this.Controls.Add(this.btnExport); this.Controls.Add(this.btnSearch); this.Controls.Add(this.lblContents); this.Controls.Add(this.txtSearch); this.Controls.Add(this.lblPermissionScopeReq); this.Controls.Add(this.ucPermissionScope); this.Controls.Add(this.lblPermissionScope); this.Controls.Add(this.btnBatchSave); this.Controls.Add(this.ucTableSort); this.Controls.Add(this.btnClose); this.Controls.Add(this.grdUser); this.Name = "FrmUserOrganizeScope"; this.Text = "用户管理范围设置"; ((System.ComponentModel.ISupportInitialize)(this.grdUser)).EndInit(); 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(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> /// 设计器支持所需的方法 - 不要 /// 使用主键编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmRolePermissionScope)); this.btnInvertSelect = new System.Windows.Forms.Button(); this.btnSelectAll = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.btnBatchSave = new System.Windows.Forms.Button(); this.tvOrganize = new System.Windows.Forms.TreeView(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.lblRoleReq = new System.Windows.Forms.Label(); this.lblRole = new System.Windows.Forms.Label(); this.lblPermissionScopeReq = new System.Windows.Forms.Label(); this.ucPermissionScope = new DotNet.WinForm.Common.WinControls.UCScopePermissionSelect(); this.lblPermissionScope = new System.Windows.Forms.Label(); this.ucRole = new DotNet.WinForm.Common.WinControls.UCRoleSelect(); this.grbPermissionScope = new System.Windows.Forms.GroupBox(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.rdbAll = new System.Windows.Forms.RadioButton(); this.rdbUserCompany = new System.Windows.Forms.RadioButton(); this.rdbUserSubCompany = new System.Windows.Forms.RadioButton(); this.rdbUserDepartment = new System.Windows.Forms.RadioButton(); this.rdbUserWorkgroup = new System.Windows.Forms.RadioButton(); this.rdbUser = new System.Windows.Forms.RadioButton(); this.rdbDetail = new System.Windows.Forms.RadioButton(); this.rdbNone = new System.Windows.Forms.RadioButton(); this.chkInnerOrganize = new System.Windows.Forms.CheckBox(); this.grbPermissionScope.SuspendLayout(); this.flowLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // // btnInvertSelect // this.btnInvertSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnInvertSelect.Location = new System.Drawing.Point(128, 634); this.btnInvertSelect.Margin = new System.Windows.Forms.Padding(5); this.btnInvertSelect.Name = "btnInvertSelect"; this.btnInvertSelect.Size = new System.Drawing.Size(104, 29); this.btnInvertSelect.TabIndex = 11; this.btnInvertSelect.Text = "反选"; this.btnInvertSelect.UseVisualStyleBackColor = true; this.btnInvertSelect.Click += new System.EventHandler(this.btnInvertSelect_Click); // // btnSelectAll // this.btnSelectAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnSelectAll.Location = new System.Drawing.Point(8, 634); this.btnSelectAll.Margin = new System.Windows.Forms.Padding(5); this.btnSelectAll.Name = "btnSelectAll"; this.btnSelectAll.Size = new System.Drawing.Size(104, 29); this.btnSelectAll.TabIndex = 10; this.btnSelectAll.Text = "全选"; this.btnSelectAll.UseVisualStyleBackColor = true; this.btnSelectAll.Click += new System.EventHandler(this.btnSelectAll_Click); // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(804, 634); this.btnCancel.Margin = new System.Windows.Forms.Padding(5); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(100, 29); this.btnCancel.TabIndex = 9; this.btnCancel.Text = "取消"; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // btnBatchSave // this.btnBatchSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnBatchSave.Location = new System.Drawing.Point(688, 634); this.btnBatchSave.Margin = new System.Windows.Forms.Padding(5); this.btnBatchSave.Name = "btnBatchSave"; this.btnBatchSave.Size = new System.Drawing.Size(100, 29); this.btnBatchSave.TabIndex = 8; this.btnBatchSave.Text = "保存(&S)"; this.btnBatchSave.UseVisualStyleBackColor = true; this.btnBatchSave.Click += new System.EventHandler(this.btnBatchSave_Click); // // tvOrganize // this.tvOrganize.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.tvOrganize.CheckBoxes = true; this.tvOrganize.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.tvOrganize.ImageIndex = 0; this.tvOrganize.ImageList = this.imageList; this.tvOrganize.Location = new System.Drawing.Point(9, 169); this.tvOrganize.Margin = new System.Windows.Forms.Padding(4); this.tvOrganize.Name = "tvOrganize"; this.tvOrganize.SelectedImageIndex = 0; this.tvOrganize.Size = new System.Drawing.Size(893, 455); this.tvOrganize.TabIndex = 7; this.tvOrganize.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.tvOrganize_AfterCheck); // // imageList // this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream"))); this.imageList.TransparentColor = System.Drawing.Color.Transparent; this.imageList.Images.SetKeyName(0, ""); this.imageList.Images.SetKeyName(1, ""); this.imageList.Images.SetKeyName(2, ""); this.imageList.Images.SetKeyName(3, ""); this.imageList.Images.SetKeyName(4, ""); this.imageList.Images.SetKeyName(5, ""); this.imageList.Images.SetKeyName(6, ""); this.imageList.Images.SetKeyName(7, ""); this.imageList.Images.SetKeyName(8, ""); this.imageList.Images.SetKeyName(9, ""); this.imageList.Images.SetKeyName(10, ""); this.imageList.Images.SetKeyName(11, ""); this.imageList.Images.SetKeyName(12, ""); this.imageList.Images.SetKeyName(13, ""); this.imageList.Images.SetKeyName(14, ""); this.imageList.Images.SetKeyName(15, "icon_messenger1.gif"); this.imageList.Images.SetKeyName(16, "icon_messenger0.gif"); this.imageList.Images.SetKeyName(17, "icon_messenger2.gif"); this.imageList.Images.SetKeyName(18, "icon_messenger3.gif"); this.imageList.Images.SetKeyName(19, "icon_messenger4.gif"); this.imageList.Images.SetKeyName(20, "icon_messenger5.gif"); this.imageList.Images.SetKeyName(21, "icon_messenger6.gif"); this.imageList.Images.SetKeyName(22, "Role.gif"); // // lblRoleReq // this.lblRoleReq.AutoSize = true; this.lblRoleReq.ForeColor = System.Drawing.Color.Red; this.lblRoleReq.Location = new System.Drawing.Point(633, 22); this.lblRoleReq.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lblRoleReq.Name = "lblRoleReq"; this.lblRoleReq.Size = new System.Drawing.Size(15, 15); this.lblRoleReq.TabIndex = 2; this.lblRoleReq.Text = "*"; // // lblRole // this.lblRole.Location = new System.Drawing.Point(11, 22); this.lblRole.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lblRole.Name = "lblRole"; this.lblRole.Size = new System.Drawing.Size(203, 15); this.lblRole.TabIndex = 0; this.lblRole.Text = "角色:"; this.lblRole.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // lblPermissionScopeReq // this.lblPermissionScopeReq.AutoSize = true; this.lblPermissionScopeReq.ForeColor = System.Drawing.Color.Red; this.lblPermissionScopeReq.Location = new System.Drawing.Point(633, 62); this.lblPermissionScopeReq.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lblPermissionScopeReq.Name = "lblPermissionScopeReq"; this.lblPermissionScopeReq.Size = new System.Drawing.Size(15, 15); this.lblPermissionScopeReq.TabIndex = 5; this.lblPermissionScopeReq.Text = "*"; // // ucPermissionScope // this.ucPermissionScope.AllowNull = true; this.ucPermissionScope.AllowSelect = false; this.ucPermissionScope.Location = new System.Drawing.Point(217, 54); this.ucPermissionScope.Margin = new System.Windows.Forms.Padding(5); this.ucPermissionScope.MultiSelect = false; this.ucPermissionScope.Name = "ucPermissionScope"; this.ucPermissionScope.SelectedFullName = ""; this.ucPermissionScope.SelectedId = ""; this.ucPermissionScope.Size = new System.Drawing.Size(407, 28); this.ucPermissionScope.TabIndex = 4; // // lblPermissionScope // this.lblPermissionScope.Location = new System.Drawing.Point(8, 58); this.lblPermissionScope.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lblPermissionScope.Name = "lblPermissionScope"; this.lblPermissionScope.Size = new System.Drawing.Size(205, 15); this.lblPermissionScope.TabIndex = 3; this.lblPermissionScope.Text = "数据权限:"; this.lblPermissionScope.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // ucRole // this.ucRole.AllowNull = true; this.ucRole.AllowSelect = false; this.ucRole.Location = new System.Drawing.Point(217, 15); this.ucRole.Margin = new System.Windows.Forms.Padding(5); this.ucRole.MultiSelect = false; this.ucRole.Name = "ucRole"; this.ucRole.OpenId = ""; this.ucRole.PermissionItemScopeCode = ""; this.ucRole.RemoveIds = null; this.ucRole.SelectedFullName = ""; this.ucRole.SelectedId = ""; this.ucRole.SelectedIds = null; this.ucRole.ShowRoleOnly = true; this.ucRole.Size = new System.Drawing.Size(407, 28); this.ucRole.TabIndex = 1; // // grbPermissionScope // this.grbPermissionScope.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.grbPermissionScope.Controls.Add(this.flowLayoutPanel1); this.grbPermissionScope.Location = new System.Drawing.Point(11, 90); this.grbPermissionScope.Margin = new System.Windows.Forms.Padding(4); this.grbPermissionScope.Name = "grbPermissionScope"; this.grbPermissionScope.Padding = new System.Windows.Forms.Padding(4); this.grbPermissionScope.Size = new System.Drawing.Size(893, 58); this.grbPermissionScope.TabIndex = 12; this.grbPermissionScope.TabStop = false; this.grbPermissionScope.Text = "权限范围"; // // flowLayoutPanel1 // this.flowLayoutPanel1.Controls.Add(this.rdbAll); this.flowLayoutPanel1.Controls.Add(this.rdbUserCompany); this.flowLayoutPanel1.Controls.Add(this.rdbUserSubCompany); this.flowLayoutPanel1.Controls.Add(this.rdbUserDepartment); this.flowLayoutPanel1.Controls.Add(this.rdbUserWorkgroup); this.flowLayoutPanel1.Controls.Add(this.rdbUser); this.flowLayoutPanel1.Controls.Add(this.rdbDetail); this.flowLayoutPanel1.Controls.Add(this.rdbNone); this.flowLayoutPanel1.Location = new System.Drawing.Point(7, 21); this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(4); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new System.Drawing.Size(881, 29); this.flowLayoutPanel1.TabIndex = 14; // // rdbAll // this.rdbAll.AutoSize = true; this.rdbAll.Location = new System.Drawing.Point(4, 4); this.rdbAll.Margin = new System.Windows.Forms.Padding(4); this.rdbAll.Name = "rdbAll"; this.rdbAll.Size = new System.Drawing.Size(88, 19); this.rdbAll.TabIndex = 0; this.rdbAll.Text = "所有数据"; this.rdbAll.UseVisualStyleBackColor = true; // // rdbUserCompany // this.rdbUserCompany.AutoSize = true; this.rdbUserCompany.Location = new System.Drawing.Point(100, 4); this.rdbUserCompany.Margin = new System.Windows.Forms.Padding(4); this.rdbUserCompany.Name = "rdbUserCompany"; this.rdbUserCompany.Size = new System.Drawing.Size(88, 19); this.rdbUserCompany.TabIndex = 1; this.rdbUserCompany.Text = "所在公司"; this.rdbUserCompany.UseVisualStyleBackColor = true; // // rdbUserSubCompany // this.rdbUserSubCompany.AutoSize = true; this.rdbUserSubCompany.Location = new System.Drawing.Point(196, 4); this.rdbUserSubCompany.Margin = new System.Windows.Forms.Padding(4); this.rdbUserSubCompany.Name = "rdbUserSubCompany"; this.rdbUserSubCompany.Size = new System.Drawing.Size(118, 19); this.rdbUserSubCompany.TabIndex = 7; this.rdbUserSubCompany.Text = "所在分支机构"; this.rdbUserSubCompany.UseVisualStyleBackColor = true; // // rdbUserDepartment // this.rdbUserDepartment.AutoSize = true; this.rdbUserDepartment.Location = new System.Drawing.Point(322, 4); this.rdbUserDepartment.Margin = new System.Windows.Forms.Padding(4); this.rdbUserDepartment.Name = "rdbUserDepartment"; this.rdbUserDepartment.Size = new System.Drawing.Size(88, 19); this.rdbUserDepartment.TabIndex = 2; this.rdbUserDepartment.Text = "所在部门"; this.rdbUserDepartment.UseVisualStyleBackColor = true; // // rdbUserWorkgroup // this.rdbUserWorkgroup.AutoSize = true; this.rdbUserWorkgroup.Location = new System.Drawing.Point(418, 4); this.rdbUserWorkgroup.Margin = new System.Windows.Forms.Padding(4); this.rdbUserWorkgroup.Name = "rdbUserWorkgroup"; this.rdbUserWorkgroup.Size = new System.Drawing.Size(103, 19); this.rdbUserWorkgroup.TabIndex = 3; this.rdbUserWorkgroup.Text = "所在工作组"; this.rdbUserWorkgroup.UseVisualStyleBackColor = true; // // rdbUser // this.rdbUser.AutoSize = true; this.rdbUser.Location = new System.Drawing.Point(529, 4); this.rdbUser.Margin = new System.Windows.Forms.Padding(4); this.rdbUser.Name = "rdbUser"; this.rdbUser.Size = new System.Drawing.Size(73, 19); this.rdbUser.TabIndex = 4; this.rdbUser.Text = "仅本人"; this.rdbUser.UseVisualStyleBackColor = true; // // rdbDetail // this.rdbDetail.AutoSize = true; this.rdbDetail.Checked = true; this.rdbDetail.Location = new System.Drawing.Point(610, 4); this.rdbDetail.Margin = new System.Windows.Forms.Padding(4); this.rdbDetail.Name = "rdbDetail"; this.rdbDetail.Size = new System.Drawing.Size(103, 19); this.rdbDetail.TabIndex = 5; this.rdbDetail.TabStop = true; this.rdbDetail.Text = "按明细设置"; this.rdbDetail.UseVisualStyleBackColor = true; // // rdbNone // this.rdbNone.AutoSize = true; this.rdbNone.Location = new System.Drawing.Point(721, 4); this.rdbNone.Margin = new System.Windows.Forms.Padding(4); this.rdbNone.Name = "rdbNone"; this.rdbNone.Size = new System.Drawing.Size(43, 19); this.rdbNone.TabIndex = 6; this.rdbNone.Text = "无"; this.rdbNone.UseVisualStyleBackColor = true; // // chkInnerOrganize // this.chkInnerOrganize.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkInnerOrganize.AutoSize = true; this.chkInnerOrganize.Checked = true; this.chkInnerOrganize.CheckState = System.Windows.Forms.CheckState.Checked; this.chkInnerOrganize.Location = new System.Drawing.Point(733, 39); this.chkInnerOrganize.Margin = new System.Windows.Forms.Padding(4); this.chkInnerOrganize.Name = "chkInnerOrganize"; this.chkInnerOrganize.Size = new System.Drawing.Size(164, 19); this.chkInnerOrganize.TabIndex = 13; this.chkInnerOrganize.Text = "仅显示内部组织机构"; this.chkInnerOrganize.UseVisualStyleBackColor = true; this.chkInnerOrganize.CheckedChanged += new System.EventHandler(this.chkInnerOrganize_CheckedChanged); // // FrmRolePermissionScope // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(912, 670); this.Controls.Add(this.chkInnerOrganize); this.Controls.Add(this.grbPermissionScope); this.Controls.Add(this.ucRole); this.Controls.Add(this.lblRoleReq); this.Controls.Add(this.lblRole); this.Controls.Add(this.lblPermissionScopeReq); this.Controls.Add(this.ucPermissionScope); this.Controls.Add(this.lblPermissionScope); this.Controls.Add(this.btnInvertSelect); this.Controls.Add(this.btnSelectAll); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnBatchSave); this.Controls.Add(this.tvOrganize); this.Cursor = System.Windows.Forms.Cursors.Default; this.Margin = new System.Windows.Forms.Padding(5); this.Name = "FrmRolePermissionScope"; this.Padding = new System.Windows.Forms.Padding(11, 10, 11, 10); this.Text = "角色数据权限设置"; this.grbPermissionScope.ResumeLayout(false); this.flowLayoutPanel1.ResumeLayout(false); this.flowLayoutPanel1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); this.ucTableSort = new DotNet.WinForm.Common.WinControls.UCTableSort(); this.btnClose = new System.Windows.Forms.Button(); this.grdRole = new System.Windows.Forms.DataGridView(); this.colRealName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colAll = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colUserCompany = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colUserSubCompany = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colUserDepartment = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colUserWorkgroup = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colUser = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colDetail = new System.Windows.Forms.DataGridViewButtonColumn(); this.btnBatchSave = 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.cmbRoleCategory = new System.Windows.Forms.ComboBox(); this.lblRoleCategories = new System.Windows.Forms.Label(); this.btnExport = new System.Windows.Forms.Button(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); ((System.ComponentModel.ISupportInitialize)(this.grdRole)).BeginInit(); this.flowLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // // ucTableSort // this.ucTableSort.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.ucTableSort.Location = new System.Drawing.Point(8, 567); this.ucTableSort.Margin = new System.Windows.Forms.Padding(0); this.ucTableSort.Name = "ucTableSort"; this.ucTableSort.OEntityId = null; this.ucTableSort.Padding = new System.Windows.Forms.Padding(1); this.ucTableSort.SetBottomEnabled = false; this.ucTableSort.SetDownEnabled = false; this.ucTableSort.SetTopEnabled = false; this.ucTableSort.SetUpEnabled = false; this.ucTableSort.Size = new System.Drawing.Size(99, 24); this.ucTableSort.TabIndex = 6; // // 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(842, 568); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(75, 23); this.btnClose.TabIndex = 8; this.btnClose.Text = "关闭"; this.btnClose.UseVisualStyleBackColor = true; // // grdRole // this.grdRole.AllowUserToAddRows = false; this.grdRole.AllowUserToDeleteRows = false; 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; dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; this.grdRole.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.grdRole.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.grdRole.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colRealName, this.colAll, this.colUserCompany, this.colUserSubCompany, this.colUserDepartment, this.colUserWorkgroup, this.colUser, this.colDetail}); this.grdRole.Location = new System.Drawing.Point(10, 32); 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(905, 528); this.grdRole.TabIndex = 5; this.grdRole.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.grdRole_CellContentClick); // // colRealName // this.colRealName.DataPropertyName = "RealName"; this.colRealName.FillWeight = 150F; this.colRealName.Frozen = true; this.colRealName.HeaderText = "名称"; this.colRealName.MaxInputLength = 200; this.colRealName.Name = "colRealName"; this.colRealName.ReadOnly = true; this.colRealName.Width = 150; // // colAll // this.colAll.DataPropertyName = "colAll"; this.colAll.FillWeight = 80F; this.colAll.HeaderText = "全部"; this.colAll.Name = "colAll"; // // colUserCompany // this.colUserCompany.DataPropertyName = "colUserCompany"; this.colUserCompany.FillWeight = 80F; this.colUserCompany.HeaderText = "所在公司"; this.colUserCompany.Name = "colUserCompany"; // // colUserSubCompany // this.colUserSubCompany.DataPropertyName = "colUserSubCompany"; this.colUserSubCompany.HeaderText = "所在分支机构"; this.colUserSubCompany.Name = "colUserSubCompany"; // // colUserDepartment // this.colUserDepartment.DataPropertyName = "colUserDepartment"; this.colUserDepartment.FillWeight = 80F; this.colUserDepartment.HeaderText = "所在部门"; this.colUserDepartment.Name = "colUserDepartment"; // // colUserWorkgroup // this.colUserWorkgroup.DataPropertyName = "colUserWorkgroup"; this.colUserWorkgroup.FillWeight = 80F; this.colUserWorkgroup.HeaderText = "所在工作组"; this.colUserWorkgroup.Name = "colUserWorkgroup"; // // colUser // this.colUser.DataPropertyName = "colUser"; this.colUser.FillWeight = 80F; this.colUser.HeaderText = "仅本人"; this.colUser.Name = "colUser"; // // colDetail // this.colDetail.FillWeight = 80F; this.colDetail.HeaderText = "设置明细"; this.colDetail.Name = "colDetail"; this.colDetail.Text = "Detail"; this.colDetail.ToolTipText = "组织机构为基础数据权限明细"; this.colDetail.UseColumnTextForButtonValue = true; this.colDetail.Width = 80; // // 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(764, 568); this.btnBatchSave.Name = "btnBatchSave"; this.btnBatchSave.Size = new System.Drawing.Size(75, 23); this.btnBatchSave.TabIndex = 7; this.btnBatchSave.Text = "保存(&S)"; this.btnBatchSave.UseVisualStyleBackColor = true; this.btnBatchSave.Click += new System.EventHandler(this.btnBatchSave_Click); // // lblPermissionScopeReq // this.lblPermissionScopeReq.Anchor = System.Windows.Forms.AnchorStyles.Right; this.lblPermissionScopeReq.AutoSize = true; this.lblPermissionScopeReq.ForeColor = System.Drawing.Color.Red; this.lblPermissionScopeReq.Location = new System.Drawing.Point(391, 8); this.lblPermissionScopeReq.Name = "lblPermissionScopeReq"; this.lblPermissionScopeReq.Size = new System.Drawing.Size(11, 12); this.lblPermissionScopeReq.TabIndex = 2; this.lblPermissionScopeReq.Text = "*"; // // ucPermissionScope // this.ucPermissionScope.AllowNull = false; this.ucPermissionScope.AllowSelect = true; this.ucPermissionScope.Anchor = System.Windows.Forms.AnchorStyles.Right; this.ucPermissionScope.Location = new System.Drawing.Point(146, 3); this.ucPermissionScope.MultiSelect = false; this.ucPermissionScope.Name = "ucPermissionScope"; this.ucPermissionScope.SelectedFullName = ""; this.ucPermissionScope.SelectedId = ""; this.ucPermissionScope.Size = new System.Drawing.Size(239, 22); this.ucPermissionScope.TabIndex = 1; this.ucPermissionScope.SelectedIndexChanged += new BaseBusinessLogic.SelectedIndexChangedEventHandler(this.ucPermissionScope_SelectedIndexChanged); // // lblPermissionScope // this.lblPermissionScope.Anchor = System.Windows.Forms.AnchorStyles.Right; this.lblPermissionScope.AutoSize = true; this.lblPermissionScope.Location = new System.Drawing.Point(75, 8); this.lblPermissionScope.Name = "lblPermissionScope"; this.lblPermissionScope.Size = new System.Drawing.Size(65, 12); this.lblPermissionScope.TabIndex = 0; this.lblPermissionScope.Text = "数据权限:"; this.lblPermissionScope.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // cmbRoleCategory // this.cmbRoleCategory.Anchor = System.Windows.Forms.AnchorStyles.Right; this.cmbRoleCategory.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbRoleCategory.Location = new System.Drawing.Point(478, 4); this.cmbRoleCategory.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.cmbRoleCategory.Name = "cmbRoleCategory"; this.cmbRoleCategory.Size = new System.Drawing.Size(184, 20); this.cmbRoleCategory.TabIndex = 4; this.cmbRoleCategory.SelectedIndexChanged += new System.EventHandler(this.cmbRoleCategory_SelectedIndexChanged); // // lblRoleCategories // this.lblRoleCategories.Anchor = System.Windows.Forms.AnchorStyles.Right; this.lblRoleCategories.AutoSize = true; this.lblRoleCategories.Location = new System.Drawing.Point(408, 8); this.lblRoleCategories.Name = "lblRoleCategories"; this.lblRoleCategories.Size = new System.Drawing.Size(65, 12); this.lblRoleCategories.TabIndex = 3; this.lblRoleCategories.Text = "角色分类:"; this.lblRoleCategories.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // btnExport // this.btnExport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnExport.Enabled = false; this.btnExport.Location = new System.Drawing.Point(806, 4); this.btnExport.Name = "btnExport"; this.btnExport.Size = new System.Drawing.Size(111, 23); this.btnExport.TabIndex = 16; this.btnExport.Text = "导出Excel..."; this.btnExport.UseVisualStyleBackColor = true; this.btnExport.Click += new System.EventHandler(this.btnExport_Click); // // flowLayoutPanel1 // this.flowLayoutPanel1.Controls.Add(this.cmbRoleCategory); this.flowLayoutPanel1.Controls.Add(this.lblRoleCategories); this.flowLayoutPanel1.Controls.Add(this.lblPermissionScopeReq); this.flowLayoutPanel1.Controls.Add(this.ucPermissionScope); this.flowLayoutPanel1.Controls.Add(this.lblPermissionScope); this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; this.flowLayoutPanel1.Location = new System.Drawing.Point(8, 4); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new System.Drawing.Size(664, 27); this.flowLayoutPanel1.TabIndex = 17; // // FrmRoleOrganizeScope // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(924, 597); this.Controls.Add(this.flowLayoutPanel1); this.Controls.Add(this.btnExport); this.Controls.Add(this.btnBatchSave); this.Controls.Add(this.ucTableSort); this.Controls.Add(this.btnClose); this.Controls.Add(this.grdRole); this.Name = "FrmRoleOrganizeScope"; this.Text = "角色管理范围设置"; ((System.ComponentModel.ISupportInitialize)(this.grdRole)).EndInit(); this.flowLayoutPanel1.ResumeLayout(false); this.flowLayoutPanel1.PerformLayout(); this.ResumeLayout(false); }