/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用主键编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmOrganizePermissionAdmin)); 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(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.cMnuOrganize = new System.Windows.Forms.ContextMenuStrip(this.components); this.mItmAdd = new System.Windows.Forms.ToolStripMenuItem(); this.mItmEdit = new System.Windows.Forms.ToolStripMenuItem(); this.mItmMove = new System.Windows.Forms.ToolStripMenuItem(); this.mItmDelete = new System.Windows.Forms.ToolStripMenuItem(); this.mItmAddRoot = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.mItmUserAdd = new System.Windows.Forms.ToolStripMenuItem(); this.mItmStaffAdd = new System.Windows.Forms.ToolStripMenuItem(); this.mItemRoleAdd = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.mItmOrganizeCategory = new System.Windows.Forms.ToolStripMenuItem(); this.mItmFrmCodeBuilder = new System.Windows.Forms.ToolStripMenuItem(); this.mItmSetSortCode = new System.Windows.Forms.ToolStripMenuItem(); this.btnClose = new System.Windows.Forms.Button(); this.btnPermission = new System.Windows.Forms.Button(); this.btnInvertSelect = new System.Windows.Forms.Button(); this.btnSelectAll = new System.Windows.Forms.Button(); this.chkInnerOrganize = new System.Windows.Forms.CheckBox(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.btnExport = new System.Windows.Forms.Button(); this.btnRoleResourcePermission = new System.Windows.Forms.Button(); this.btnUserResourcePermission = new System.Windows.Forms.Button(); this.chkRefresh = new System.Windows.Forms.CheckBox(); this.lblContents = new System.Windows.Forms.Label(); this.txtSearch = new System.Windows.Forms.TextBox(); this.btnBatchSave = new System.Windows.Forms.Button(); this.btnSearch = new System.Windows.Forms.Button(); this.pnlOrganize = new System.Windows.Forms.Panel(); this.grdOrganize = new System.Windows.Forms.DataGridView(); this.colSelected = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colFullName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colIsInnerOrganize = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colDescription = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.splOrganize = new System.Windows.Forms.Splitter(); this.tvOrganize = new System.Windows.Forms.TreeView(); this.btnBatchDelete = new System.Windows.Forms.Button(); this.btnAdd = new System.Windows.Forms.Button(); this.btnMove = new System.Windows.Forms.Button(); this.btnEdit = new System.Windows.Forms.Button(); this.ucTableSort = new DotNet.WinForm.Common.WinControls.UCTableSort(); this.cMnuOrganize.SuspendLayout(); this.flowLayoutPanel1.SuspendLayout(); this.pnlOrganize.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdOrganize)).BeginInit(); 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"); // // cMnuOrganize // this.cMnuOrganize.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mItmAdd, this.mItmEdit, this.mItmMove, this.mItmDelete, this.mItmAddRoot, this.toolStripSeparator1, this.mItmUserAdd, this.mItmStaffAdd, this.mItemRoleAdd, this.toolStripSeparator2, this.mItmOrganizeCategory, this.mItmFrmCodeBuilder, this.mItmSetSortCode}); this.cMnuOrganize.Name = "cMnuModule"; this.cMnuOrganize.Size = new System.Drawing.Size(182, 258); // // mItmAdd // this.mItmAdd.Enabled = false; this.mItmAdd.Name = "mItmAdd"; this.mItmAdd.Size = new System.Drawing.Size(181, 22); this.mItmAdd.Text = "添加(&A)..."; this.mItmAdd.Click += new System.EventHandler(this.mItmAdd_Click); // // mItmEdit // this.mItmEdit.Enabled = false; this.mItmEdit.Name = "mItmEdit"; this.mItmEdit.Size = new System.Drawing.Size(181, 22); this.mItmEdit.Text = "编辑(&E)..."; this.mItmEdit.Click += new System.EventHandler(this.mItmEdit_Click); // // mItmMove // this.mItmMove.Enabled = false; this.mItmMove.Name = "mItmMove"; this.mItmMove.Size = new System.Drawing.Size(181, 22); this.mItmMove.Text = "移动(&M)..."; this.mItmMove.Click += new System.EventHandler(this.mItmMove_Click); // // mItmDelete // this.mItmDelete.Enabled = false; this.mItmDelete.Name = "mItmDelete"; this.mItmDelete.Size = new System.Drawing.Size(181, 22); this.mItmDelete.Text = "删除(&D)"; this.mItmDelete.Click += new System.EventHandler(this.mItmDelete_Click); // // mItmAddRoot // this.mItmAddRoot.Enabled = false; this.mItmAddRoot.Name = "mItmAddRoot"; this.mItmAddRoot.Size = new System.Drawing.Size(181, 22); this.mItmAddRoot.Text = "添加根组织机构..."; this.mItmAddRoot.Click += new System.EventHandler(this.mItmAddRoot_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(178, 6); // // mItmUserAdd // this.mItmUserAdd.Enabled = false; this.mItmUserAdd.Name = "mItmUserAdd"; this.mItmUserAdd.Size = new System.Drawing.Size(181, 22); this.mItmUserAdd.Text = "添加用户(&U)..."; this.mItmUserAdd.Click += new System.EventHandler(this.mItmUserAdd_Click); // // mItmStaffAdd // this.mItmStaffAdd.Enabled = false; this.mItmStaffAdd.Name = "mItmStaffAdd"; this.mItmStaffAdd.ShowShortcutKeys = false; this.mItmStaffAdd.Size = new System.Drawing.Size(181, 22); this.mItmStaffAdd.Text = "添加员工(&S)..."; this.mItmStaffAdd.Click += new System.EventHandler(this.mItmAddStaff_Click); // // mItemRoleAdd // this.mItemRoleAdd.Enabled = false; this.mItemRoleAdd.Name = "mItemRoleAdd"; this.mItemRoleAdd.Size = new System.Drawing.Size(181, 22); this.mItemRoleAdd.Text = "添加角色(&R)..."; this.mItemRoleAdd.Visible = false; this.mItemRoleAdd.Click += new System.EventHandler(this.mItmAddRole_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(178, 6); // // mItmOrganizeCategory // this.mItmOrganizeCategory.Enabled = false; this.mItmOrganizeCategory.Name = "mItmOrganizeCategory"; this.mItmOrganizeCategory.Size = new System.Drawing.Size(181, 22); this.mItmOrganizeCategory.Text = "组织机构类别维护..."; this.mItmOrganizeCategory.Click += new System.EventHandler(this.mItmOrganizeCategory_Click); // // mItmFrmCodeBuilder // this.mItmFrmCodeBuilder.Enabled = false; this.mItmFrmCodeBuilder.Name = "mItmFrmCodeBuilder"; this.mItmFrmCodeBuilder.Size = new System.Drawing.Size(181, 22); this.mItmFrmCodeBuilder.Text = "编号产生器设置..."; this.mItmFrmCodeBuilder.Click += new System.EventHandler(this.mItmFrmOrganizeCodeBuilder_Click); // // mItmSetSortCode // this.mItmSetSortCode.Enabled = false; this.mItmSetSortCode.Name = "mItmSetSortCode"; this.mItmSetSortCode.Size = new System.Drawing.Size(181, 22); this.mItmSetSortCode.Text = "保存排序顺序"; this.mItmSetSortCode.Click += new System.EventHandler(this.mItmSetSortCode_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(884, 545); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(75, 23); this.btnClose.TabIndex = 15; this.btnClose.Text = "关闭"; this.btnClose.UseVisualStyleBackColor = true; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // btnPermission // this.btnPermission.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnPermission.Location = new System.Drawing.Point(402, 545); this.btnPermission.Name = "btnPermission"; this.btnPermission.Size = new System.Drawing.Size(75, 23); this.btnPermission.TabIndex = 24; this.btnPermission.Text = "权限(&P)..."; this.btnPermission.Click += new System.EventHandler(this.btnPermission_Click); // // btnInvertSelect // this.btnInvertSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnInvertSelect.Enabled = false; this.btnInvertSelect.Location = new System.Drawing.Point(89, 545); this.btnInvertSelect.Name = "btnInvertSelect"; this.btnInvertSelect.Size = new System.Drawing.Size(78, 23); this.btnInvertSelect.TabIndex = 23; 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.Enabled = false; this.btnSelectAll.Location = new System.Drawing.Point(6, 545); this.btnSelectAll.Name = "btnSelectAll"; this.btnSelectAll.Size = new System.Drawing.Size(78, 23); this.btnSelectAll.TabIndex = 22; this.btnSelectAll.Text = "全选"; this.btnSelectAll.UseVisualStyleBackColor = true; this.btnSelectAll.Click += new System.EventHandler(this.btnSelectAll_Click); // // 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(730, 38); this.chkInnerOrganize.Name = "chkInnerOrganize"; this.chkInnerOrganize.Size = new System.Drawing.Size(132, 16); this.chkInnerOrganize.TabIndex = 6; this.chkInnerOrganize.Text = "仅显示内部组织机构"; this.chkInnerOrganize.UseVisualStyleBackColor = true; this.chkInnerOrganize.CheckedChanged += new System.EventHandler(this.chkInnerOrganize_CheckedChanged); // // flowLayoutPanel1 // this.flowLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.flowLayoutPanel1.Controls.Add(this.btnExport); this.flowLayoutPanel1.Controls.Add(this.btnRoleResourcePermission); this.flowLayoutPanel1.Controls.Add(this.btnUserResourcePermission); this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; this.flowLayoutPanel1.Location = new System.Drawing.Point(575, 3); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new System.Drawing.Size(388, 29); this.flowLayoutPanel1.TabIndex = 16; // // 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(265, 3); this.btnExport.Name = "btnExport"; this.btnExport.Size = new System.Drawing.Size(120, 23); this.btnExport.TabIndex = 5; this.btnExport.Text = "导出Excel..."; this.btnExport.UseVisualStyleBackColor = true; this.btnExport.Click += new System.EventHandler(this.btnExport_Click); // // btnRoleResourcePermission // this.btnRoleResourcePermission.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnRoleResourcePermission.Enabled = false; this.btnRoleResourcePermission.Location = new System.Drawing.Point(139, 3); this.btnRoleResourcePermission.Name = "btnRoleResourcePermission"; this.btnRoleResourcePermission.Size = new System.Drawing.Size(120, 23); this.btnRoleResourcePermission.TabIndex = 4; this.btnRoleResourcePermission.Text = "角色权限..."; this.btnRoleResourcePermission.UseVisualStyleBackColor = true; this.btnRoleResourcePermission.Click += new System.EventHandler(this.btnRoleResourcePermission_Click); // // btnUserResourcePermission // this.btnUserResourcePermission.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnUserResourcePermission.Enabled = false; this.btnUserResourcePermission.Location = new System.Drawing.Point(13, 3); this.btnUserResourcePermission.Name = "btnUserResourcePermission"; this.btnUserResourcePermission.Size = new System.Drawing.Size(120, 23); this.btnUserResourcePermission.TabIndex = 3; this.btnUserResourcePermission.Text = "用户权限..."; this.btnUserResourcePermission.UseVisualStyleBackColor = true; this.btnUserResourcePermission.Click += new System.EventHandler(this.btnUserResourcePermission_Click); // // chkRefresh // this.chkRefresh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkRefresh.AutoSize = true; this.chkRefresh.Checked = true; this.chkRefresh.CheckState = System.Windows.Forms.CheckState.Checked; this.chkRefresh.Location = new System.Drawing.Point(884, 38); this.chkRefresh.Name = "chkRefresh"; this.chkRefresh.Size = new System.Drawing.Size(72, 16); this.chkRefresh.TabIndex = 7; this.chkRefresh.Text = "即时刷新"; this.chkRefresh.UseVisualStyleBackColor = true; this.chkRefresh.CheckedChanged += new System.EventHandler(this.chkRefresh_CheckedChanged); // // lblContents // this.lblContents.Location = new System.Drawing.Point(23, 25); this.lblContents.Name = "lblContents"; this.lblContents.Size = new System.Drawing.Size(90, 12); this.lblContents.TabIndex = 0; this.lblContents.Text = "查询内容(&C):"; this.lblContents.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // txtSearch // this.txtSearch.Location = new System.Drawing.Point(117, 21); this.txtSearch.MaxLength = 20; this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(168, 21); this.txtSearch.TabIndex = 1; this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged); // // btnBatchSave // this.btnBatchSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnBatchSave.Enabled = false; this.btnBatchSave.Location = new System.Drawing.Point(804, 545); this.btnBatchSave.Name = "btnBatchSave"; this.btnBatchSave.Size = new System.Drawing.Size(75, 23); this.btnBatchSave.TabIndex = 14; this.btnBatchSave.Text = "保存(&S)"; this.btnBatchSave.UseVisualStyleBackColor = true; this.btnBatchSave.Click += new System.EventHandler(this.btnBatchSave_Click); // // btnSearch // this.btnSearch.Location = new System.Drawing.Point(290, 21); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(75, 23); this.btnSearch.TabIndex = 2; this.btnSearch.Text = "查询(&F)"; this.btnSearch.UseVisualStyleBackColor = true; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // pnlOrganize // this.pnlOrganize.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.pnlOrganize.Controls.Add(this.grdOrganize); this.pnlOrganize.Controls.Add(this.splOrganize); this.pnlOrganize.Controls.Add(this.tvOrganize); this.pnlOrganize.Location = new System.Drawing.Point(8, 60); this.pnlOrganize.Name = "pnlOrganize"; this.pnlOrganize.Size = new System.Drawing.Size(951, 478); this.pnlOrganize.TabIndex = 1; // // grdOrganize // this.grdOrganize.AllowUserToAddRows = false; this.grdOrganize.AllowUserToDeleteRows = false; this.grdOrganize.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.grdOrganize.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.grdOrganize.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.grdOrganize.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colSelected, this.colCode, this.colFullName, this.colIsInnerOrganize, this.colDescription}); this.grdOrganize.Dock = System.Windows.Forms.DockStyle.Fill; this.grdOrganize.Location = new System.Drawing.Point(263, 0); this.grdOrganize.MultiSelect = false; this.grdOrganize.Name = "grdOrganize"; this.grdOrganize.RowTemplate.Height = 23; this.grdOrganize.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.grdOrganize.Size = new System.Drawing.Size(688, 478); this.grdOrganize.TabIndex = 2; this.grdOrganize.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.grdOrganize_CellDoubleClick); this.grdOrganize.Sorted += new System.EventHandler(this.grdOrganize_Sorted); this.grdOrganize.UserDeletingRow += new System.Windows.Forms.DataGridViewRowCancelEventHandler(this.grdOrganize_UserDeletingRow); this.grdOrganize.Click += new System.EventHandler(this.grdOrganize_Click); // // colSelected // this.colSelected.DataPropertyName = "Selected"; this.colSelected.Frozen = true; this.colSelected.HeaderText = "选择"; this.colSelected.Name = "colSelected"; this.colSelected.Width = 50; // // colCode // this.colCode.DataPropertyName = "Code"; this.colCode.Frozen = true; this.colCode.HeaderText = "编号"; this.colCode.MaxInputLength = 20; this.colCode.Name = "colCode"; this.colCode.ReadOnly = true; // // colFullName // this.colFullName.DataPropertyName = "FullName"; dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.colFullName.DefaultCellStyle = dataGridViewCellStyle2; this.colFullName.FillWeight = 170F; this.colFullName.HeaderText = "名称"; this.colFullName.MaxInputLength = 100; this.colFullName.Name = "colFullName"; this.colFullName.Width = 170; // // colIsInnerOrganize // this.colIsInnerOrganize.DataPropertyName = "IsInnerOrganize"; dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); dataGridViewCellStyle3.NullValue = false; this.colIsInnerOrganize.DefaultCellStyle = dataGridViewCellStyle3; this.colIsInnerOrganize.FalseValue = "0"; this.colIsInnerOrganize.HeaderText = "内部组织"; this.colIsInnerOrganize.Name = "colIsInnerOrganize"; this.colIsInnerOrganize.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; this.colIsInnerOrganize.TrueValue = "1"; // // colDescription // this.colDescription.DataPropertyName = "Description"; dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.colDescription.DefaultCellStyle = dataGridViewCellStyle4; this.colDescription.HeaderText = "描述"; this.colDescription.MaxInputLength = 200; this.colDescription.Name = "colDescription"; this.colDescription.Width = 105; // // splOrganize // this.splOrganize.Location = new System.Drawing.Point(260, 0); this.splOrganize.Name = "splOrganize"; this.splOrganize.Size = new System.Drawing.Size(3, 478); this.splOrganize.TabIndex = 8; this.splOrganize.TabStop = false; // // tvOrganize // this.tvOrganize.AllowDrop = true; this.tvOrganize.Dock = System.Windows.Forms.DockStyle.Left; this.tvOrganize.HotTracking = true; this.tvOrganize.ImageIndex = 0; this.tvOrganize.ImageList = this.imageList; this.tvOrganize.Location = new System.Drawing.Point(0, 0); this.tvOrganize.Name = "tvOrganize"; this.tvOrganize.SelectedImageIndex = 1; this.tvOrganize.Size = new System.Drawing.Size(260, 478); this.tvOrganize.TabIndex = 1; this.tvOrganize.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.tvOrganize_ItemDrag); this.tvOrganize.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvOrganize_AfterSelect); this.tvOrganize.Click += new System.EventHandler(this.tvOrganize_Click); this.tvOrganize.DragDrop += new System.Windows.Forms.DragEventHandler(this.tvOrganize_DragDrop); this.tvOrganize.DragEnter += new System.Windows.Forms.DragEventHandler(this.tvOrganize_DragEnter); this.tvOrganize.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tvOrganize_MouseDown); // // btnBatchDelete // this.btnBatchDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnBatchDelete.Enabled = false; this.btnBatchDelete.Location = new System.Drawing.Point(724, 545); this.btnBatchDelete.Name = "btnBatchDelete"; this.btnBatchDelete.Size = new System.Drawing.Size(75, 23); this.btnBatchDelete.TabIndex = 13; this.btnBatchDelete.Text = "删除(&D)"; this.btnBatchDelete.UseVisualStyleBackColor = true; this.btnBatchDelete.Click += new System.EventHandler(this.btnBatchDelete_Click); // // btnAdd // this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnAdd.Enabled = false; this.btnAdd.Location = new System.Drawing.Point(483, 545); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(75, 23); this.btnAdd.TabIndex = 9; this.btnAdd.Text = "添加(&A)..."; this.btnAdd.UseVisualStyleBackColor = true; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // btnMove // this.btnMove.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnMove.Enabled = false; this.btnMove.Location = new System.Drawing.Point(644, 545); this.btnMove.Name = "btnMove"; this.btnMove.Size = new System.Drawing.Size(75, 23); this.btnMove.TabIndex = 11; this.btnMove.Text = "移动(&M)..."; this.btnMove.UseVisualStyleBackColor = true; this.btnMove.Click += new System.EventHandler(this.btnMove_Click); // // btnEdit // this.btnEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnEdit.Enabled = false; this.btnEdit.Location = new System.Drawing.Point(564, 545); this.btnEdit.Name = "btnEdit"; this.btnEdit.Size = new System.Drawing.Size(75, 23); this.btnEdit.TabIndex = 10; this.btnEdit.Text = "编辑(&E)..."; this.btnEdit.UseVisualStyleBackColor = true; this.btnEdit.Click += new System.EventHandler(this.btnEdit_Click); // // 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(172, 543); 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, 26); this.ucTableSort.TabIndex = 8; // // FrmOrganizePermissionAdmin // 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(967, 572); this.Controls.Add(this.btnPermission); this.Controls.Add(this.btnInvertSelect); this.Controls.Add(this.btnSelectAll); this.Controls.Add(this.chkInnerOrganize); this.Controls.Add(this.flowLayoutPanel1); this.Controls.Add(this.chkRefresh); this.Controls.Add(this.lblContents); this.Controls.Add(this.ucTableSort); this.Controls.Add(this.txtSearch); this.Controls.Add(this.btnBatchSave); this.Controls.Add(this.btnSearch); this.Controls.Add(this.pnlOrganize); this.Controls.Add(this.btnClose); this.Controls.Add(this.btnBatchDelete); this.Controls.Add(this.btnAdd); this.Controls.Add(this.btnMove); this.Controls.Add(this.btnEdit); this.Cursor = System.Windows.Forms.Cursors.Default; this.Name = "FrmOrganizePermissionAdmin"; this.Padding = new System.Windows.Forms.Padding(8); this.Text = "组织机构权限管理"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmOrganizeAdmin_FormClosing); this.cMnuOrganize.ResumeLayout(false); this.flowLayoutPanel1.ResumeLayout(false); this.pnlOrganize.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grdOrganize)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用主键编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); 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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmFolderAdmin)); this.btnBatchSave = new System.Windows.Forms.Button(); this.btnMove = new System.Windows.Forms.Button(); this.pnlFolder = new System.Windows.Forms.Panel(); this.grdFolder = new System.Windows.Forms.DataGridView(); this.colSelected = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colFolderName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colDescription = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.splFolder = new System.Windows.Forms.Splitter(); this.tvFolder = new System.Windows.Forms.TreeView(); this.cMnuFolder = new System.Windows.Forms.ContextMenuStrip(this.components); this.mItmAdd = new System.Windows.Forms.ToolStripMenuItem(); this.mItmEdit = new System.Windows.Forms.ToolStripMenuItem(); this.mItmMove = new System.Windows.Forms.ToolStripMenuItem(); this.mItmDelete = new System.Windows.Forms.ToolStripMenuItem(); this.tsspAddRootFolder = new System.Windows.Forms.ToolStripSeparator(); this.mItmAddRootFolder = new System.Windows.Forms.ToolStripMenuItem(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.btnBatchDelete = new System.Windows.Forms.Button(); this.btnEdit = new System.Windows.Forms.Button(); this.btnClose = new System.Windows.Forms.Button(); this.btnAdd = new System.Windows.Forms.Button(); this.ucTableSort = new DotNet.WinForm.Common.WinControls.UCTableSort(); this.btnInvertSelect = new System.Windows.Forms.Button(); this.btnSelectAll = new System.Windows.Forms.Button(); this.btnExport = new System.Windows.Forms.Button(); this.pnlFolder.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdFolder)).BeginInit(); this.cMnuFolder.SuspendLayout(); this.SuspendLayout(); // // 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(788, 533); this.btnBatchSave.Name = "btnBatchSave"; this.btnBatchSave.Size = new System.Drawing.Size(75, 23); this.btnBatchSave.TabIndex = 9; this.btnBatchSave.Text = "保存(&S)"; this.btnBatchSave.UseVisualStyleBackColor = true; this.btnBatchSave.Click += new System.EventHandler(this.btnBatchSave_Click); // // btnMove // this.btnMove.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnMove.Location = new System.Drawing.Point(628, 533); this.btnMove.Name = "btnMove"; this.btnMove.Size = new System.Drawing.Size(75, 23); this.btnMove.TabIndex = 7; this.btnMove.Text = "移动(&M)..."; this.btnMove.UseVisualStyleBackColor = true; this.btnMove.Click += new System.EventHandler(this.btnMove_Click); // // pnlFolder // this.pnlFolder.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.pnlFolder.Controls.Add(this.grdFolder); this.pnlFolder.Controls.Add(this.splFolder); this.pnlFolder.Controls.Add(this.tvFolder); this.pnlFolder.Location = new System.Drawing.Point(8, 65); this.pnlFolder.Name = "pnlFolder"; this.pnlFolder.Size = new System.Drawing.Size(935, 463); this.pnlFolder.TabIndex = 1; // // grdFolder // this.grdFolder.AllowDrop = true; this.grdFolder.AllowUserToAddRows = false; this.grdFolder.AllowUserToDeleteRows = false; this.grdFolder.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.grdFolder.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.grdFolder.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.grdFolder.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colSelected, this.colFolderName, this.colDescription}); this.grdFolder.Dock = System.Windows.Forms.DockStyle.Fill; this.grdFolder.Location = new System.Drawing.Point(263, 0); this.grdFolder.MultiSelect = false; this.grdFolder.Name = "grdFolder"; this.grdFolder.RowTemplate.Height = 23; this.grdFolder.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.grdFolder.Size = new System.Drawing.Size(672, 463); this.grdFolder.TabIndex = 1; this.grdFolder.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.grdFolder_CellDoubleClick); this.grdFolder.Sorted += new System.EventHandler(this.grdFolder_Sorted); this.grdFolder.UserDeletingRow += new System.Windows.Forms.DataGridViewRowCancelEventHandler(this.grdFolder_UserDeletingRow); this.grdFolder.Click += new System.EventHandler(this.grdFolder_Click); this.grdFolder.DragDrop += new System.Windows.Forms.DragEventHandler(this.grdFolder_DragDrop); this.grdFolder.DragOver += new System.Windows.Forms.DragEventHandler(this.grdFolder_DragOver); // // colSelected // this.colSelected.DataPropertyName = "Selected"; this.colSelected.Frozen = true; this.colSelected.HeaderText = "选择"; this.colSelected.Name = "colSelected"; this.colSelected.Width = 50; // // colFolderName // this.colFolderName.DataPropertyName = "FolderName"; dataGridViewCellStyle2.BackColor = System.Drawing.Color.White; this.colFolderName.DefaultCellStyle = dataGridViewCellStyle2; this.colFolderName.HeaderText = "名称"; this.colFolderName.MaxInputLength = 100; this.colFolderName.Name = "colFolderName"; this.colFolderName.ReadOnly = true; this.colFolderName.Width = 200; // // colDescription // this.colDescription.DataPropertyName = "DESCRIPTION"; dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.colDescription.DefaultCellStyle = dataGridViewCellStyle3; this.colDescription.HeaderText = "描述"; this.colDescription.MaxInputLength = 200; this.colDescription.Name = "colDescription"; this.colDescription.Width = 210; // // splFolder // this.splFolder.Location = new System.Drawing.Point(260, 0); this.splFolder.Name = "splFolder"; this.splFolder.Size = new System.Drawing.Size(3, 463); this.splFolder.TabIndex = 8; this.splFolder.TabStop = false; // // tvFolder // this.tvFolder.AllowDrop = true; this.tvFolder.ContextMenuStrip = this.cMnuFolder; this.tvFolder.Dock = System.Windows.Forms.DockStyle.Left; this.tvFolder.ImageIndex = 0; this.tvFolder.ImageList = this.imageList; this.tvFolder.Location = new System.Drawing.Point(0, 0); this.tvFolder.Name = "tvFolder"; this.tvFolder.SelectedImageIndex = 1; this.tvFolder.Size = new System.Drawing.Size(260, 463); this.tvFolder.TabIndex = 0; this.tvFolder.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.tvFolder_ItemDrag); this.tvFolder.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvFolder_AfterSelect); this.tvFolder.Click += new System.EventHandler(this.tvFolder_Click); this.tvFolder.DragDrop += new System.Windows.Forms.DragEventHandler(this.tvFolder_DragDrop); this.tvFolder.DragEnter += new System.Windows.Forms.DragEventHandler(this.tvFolder_DragEnter); this.tvFolder.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tvFolder_MouseDown); // // cMnuFolder // this.cMnuFolder.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mItmAdd, this.mItmEdit, this.mItmMove, this.mItmDelete, this.tsspAddRootFolder, this.mItmAddRootFolder}); this.cMnuFolder.Name = "cMnuModule"; this.cMnuFolder.Size = new System.Drawing.Size(174, 120); this.cMnuFolder.Opened += new System.EventHandler(this.cMnuFolder_Opened); // // mItmAdd // this.mItmAdd.Name = "mItmAdd"; this.mItmAdd.Size = new System.Drawing.Size(173, 22); this.mItmAdd.Text = "添加(&A)..."; this.mItmAdd.Click += new System.EventHandler(this.mItmAdd_Click); // // mItmEdit // this.mItmEdit.Name = "mItmEdit"; this.mItmEdit.Size = new System.Drawing.Size(173, 22); this.mItmEdit.Text = "编辑(&E)..."; this.mItmEdit.Click += new System.EventHandler(this.mItmEdit_Click); // // mItmMove // this.mItmMove.Name = "mItmMove"; this.mItmMove.Size = new System.Drawing.Size(173, 22); this.mItmMove.Text = "移动(&M)..."; this.mItmMove.Click += new System.EventHandler(this.mItmMove_Click); // // mItmDelete // this.mItmDelete.Name = "mItmDelete"; this.mItmDelete.Size = new System.Drawing.Size(173, 22); this.mItmDelete.Text = "删除(&D)"; this.mItmDelete.Click += new System.EventHandler(this.mItmDelete_Click); // // tsspAddRootFolder // this.tsspAddRootFolder.Name = "tsspAddRootFolder"; this.tsspAddRootFolder.Size = new System.Drawing.Size(170, 6); // // mItmAddRootFolder // this.mItmAddRootFolder.Name = "mItmAddRootFolder"; this.mItmAddRootFolder.Size = new System.Drawing.Size(173, 22); this.mItmAddRootFolder.Text = "添加根文件夹(&A)..."; this.mItmAddRootFolder.Click += new System.EventHandler(this.mItmAddFolder_Click); // // 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"); // // 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(708, 533); this.btnBatchDelete.Name = "btnBatchDelete"; this.btnBatchDelete.Size = new System.Drawing.Size(75, 23); this.btnBatchDelete.TabIndex = 8; this.btnBatchDelete.Text = "删除(&D)"; this.btnBatchDelete.UseVisualStyleBackColor = true; this.btnBatchDelete.Click += new System.EventHandler(this.btnBatchDelete_Click); // // btnEdit // this.btnEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnEdit.Location = new System.Drawing.Point(548, 533); this.btnEdit.Name = "btnEdit"; this.btnEdit.Size = new System.Drawing.Size(75, 23); this.btnEdit.TabIndex = 6; this.btnEdit.Text = "编辑(&E)..."; this.btnEdit.UseVisualStyleBackColor = true; this.btnEdit.Click += new System.EventHandler(this.btnEdit_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(868, 533); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(75, 23); this.btnClose.TabIndex = 9; this.btnClose.Text = "关闭"; this.btnClose.UseVisualStyleBackColor = true; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // btnAdd // this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnAdd.Location = new System.Drawing.Point(468, 533); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(75, 23); this.btnAdd.TabIndex = 5; this.btnAdd.Text = "添加(&A)..."; this.btnAdd.UseVisualStyleBackColor = true; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // 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(174, 534); 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 = 2; // // 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, 534); 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(7, 534); 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); // // 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(829, 20); this.btnExport.Name = "btnExport"; this.btnExport.Size = new System.Drawing.Size(111, 23); this.btnExport.TabIndex = 12; this.btnExport.Text = "导出E&xcel..."; this.btnExport.UseVisualStyleBackColor = true; this.btnExport.Click += new System.EventHandler(this.btnExport_Click); // // FrmFolderAdmin // this.AllowDrop = true; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackgroundImage = global::DotNet.WinForm.Files.Properties.Resources.Head; this.CancelButton = this.btnClose; this.ClientSize = new System.Drawing.Size(951, 560); this.Controls.Add(this.btnInvertSelect); this.Controls.Add(this.btnSelectAll); this.Controls.Add(this.btnExport); this.Controls.Add(this.ucTableSort); this.Controls.Add(this.pnlFolder); this.Controls.Add(this.btnClose); this.Controls.Add(this.btnBatchSave); this.Controls.Add(this.btnAdd); this.Controls.Add(this.btnEdit); this.Controls.Add(this.btnBatchDelete); this.Controls.Add(this.btnMove); this.Cursor = System.Windows.Forms.Cursors.Default; this.MinimumSize = new System.Drawing.Size(375, 288); this.Name = "FrmFolderAdmin"; this.Padding = new System.Windows.Forms.Padding(8); this.Text = "文件夹管理"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmFolderAdmin_FormClosing); this.Load += new System.EventHandler(this.FrmFolderAdmin_Load); this.pnlFolder.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grdFolder)).EndInit(); this.cMnuFolder.ResumeLayout(false); this.ResumeLayout(false); }
/// <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.btnBatchDelete = new System.Windows.Forms.Button(); this.btnEdit = new System.Windows.Forms.Button(); this.btnClose = new System.Windows.Forms.Button(); this.btnAdd = new System.Windows.Forms.Button(); this.btnBatchSave = new System.Windows.Forms.Button(); this.btnRoleUser = new System.Windows.Forms.Button(); this.btnRolePermission = new System.Windows.Forms.Button(); this.ucTableSort = new DotNet.WinForm.Common.WinControls.UCTableSort(); this.grdRole = new System.Windows.Forms.DataGridView(); this.colSelected = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colRealName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colEnabled = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colDescription = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.btnExport = new System.Windows.Forms.Button(); this.lblContents = new System.Windows.Forms.Label(); this.txtSearch = new System.Windows.Forms.TextBox(); this.lblRoleCategories = new System.Windows.Forms.Label(); this.cmbRoleCategory = new System.Windows.Forms.ComboBox(); this.btnFrmRoleTableScope = new System.Windows.Forms.Button(); this.btnBatchPermission = new System.Windows.Forms.Button(); this.btnRoleUserBatchSet = new System.Windows.Forms.Button(); this.btnFrmRoleAuthorizationScope = new System.Windows.Forms.Button(); this.btnFrmRoleAdminScope = new System.Windows.Forms.Button(); this.btnFrmTableColumnPermission = new System.Windows.Forms.Button(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); ((System.ComponentModel.ISupportInitialize)(this.grdRole)).BeginInit(); this.flowLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // // btnBatchDelete // this.btnBatchDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnBatchDelete.Enabled = false; this.btnBatchDelete.Location = new System.Drawing.Point(682, 483); this.btnBatchDelete.Name = "btnBatchDelete"; this.btnBatchDelete.Size = new System.Drawing.Size(75, 23); this.btnBatchDelete.TabIndex = 16; this.btnBatchDelete.Text = "删除(&D)"; this.btnBatchDelete.UseVisualStyleBackColor = true; this.btnBatchDelete.Click += new System.EventHandler(this.btnBatchDelete_Click); // // btnEdit // this.btnEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnEdit.Enabled = false; this.btnEdit.Location = new System.Drawing.Point(327, 483); this.btnEdit.Name = "btnEdit"; this.btnEdit.Size = new System.Drawing.Size(80, 23); this.btnEdit.TabIndex = 12; this.btnEdit.Text = "编辑(&E)..."; this.btnEdit.UseVisualStyleBackColor = true; this.btnEdit.Click += new System.EventHandler(this.btnEdit_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(834, 483); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(75, 23); this.btnClose.TabIndex = 18; this.btnClose.Text = "关闭"; this.btnClose.UseVisualStyleBackColor = true; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // btnAdd // this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnAdd.Enabled = false; this.btnAdd.Location = new System.Drawing.Point(246, 483); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(80, 23); this.btnAdd.TabIndex = 11; this.btnAdd.Text = "添加(&A)..."; this.btnAdd.UseVisualStyleBackColor = true; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // btnBatchSave // this.btnBatchSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnBatchSave.Enabled = false; this.btnBatchSave.Location = new System.Drawing.Point(758, 483); this.btnBatchSave.Name = "btnBatchSave"; this.btnBatchSave.Size = new System.Drawing.Size(75, 23); this.btnBatchSave.TabIndex = 17; this.btnBatchSave.Text = "保存(&S)"; this.btnBatchSave.UseVisualStyleBackColor = true; this.btnBatchSave.Click += new System.EventHandler(this.btnBatchSave_Click); // // btnRoleUser // this.btnRoleUser.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnRoleUser.Enabled = false; this.btnRoleUser.Location = new System.Drawing.Point(408, 483); this.btnRoleUser.Name = "btnRoleUser"; this.btnRoleUser.Size = new System.Drawing.Size(80, 23); this.btnRoleUser.TabIndex = 13; this.btnRoleUser.Text = "用户(&U)..."; this.btnRoleUser.UseVisualStyleBackColor = true; this.btnRoleUser.Click += new System.EventHandler(this.btnRoleUser_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(489, 483); this.btnRolePermission.Name = "btnRolePermission"; this.btnRolePermission.Size = new System.Drawing.Size(80, 23); this.btnRolePermission.TabIndex = 14; this.btnRolePermission.Text = "权限(&P)..."; this.btnRolePermission.UseVisualStyleBackColor = true; this.btnRolePermission.Click += new System.EventHandler(this.btnPermission_Click); // // 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(7, 481); 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 = 10; // // 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.colSelected, this.colCode, this.colRealName, this.colEnabled, this.colDescription}); this.grdRole.Location = new System.Drawing.Point(7, 65); 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(900, 411); this.grdRole.TabIndex = 9; this.grdRole.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.grdRole_CellDoubleClick); this.grdRole.SelectionChanged += new System.EventHandler(this.grdRole_SelectionChanged); this.grdRole.Sorted += new System.EventHandler(this.grdRole_Sorted); // // colSelected // this.colSelected.DataPropertyName = "Selected"; this.colSelected.Frozen = true; this.colSelected.HeaderText = "选择"; this.colSelected.Name = "colSelected"; this.colSelected.Width = 50; // // colCode // this.colCode.DataPropertyName = "Code"; this.colCode.HeaderText = "编号"; this.colCode.MaxInputLength = 200; this.colCode.Name = "colCode"; this.colCode.ReadOnly = true; this.colCode.Width = 180; // // colRealName // this.colRealName.DataPropertyName = "RealName"; this.colRealName.HeaderText = "名称"; this.colRealName.MaxInputLength = 200; this.colRealName.Name = "colRealName"; this.colRealName.ReadOnly = true; this.colRealName.Width = 220; // // colEnabled // this.colEnabled.DataPropertyName = "Enabled"; dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); dataGridViewCellStyle2.NullValue = false; this.colEnabled.DefaultCellStyle = dataGridViewCellStyle2; this.colEnabled.FalseValue = "0"; this.colEnabled.HeaderText = "有效"; this.colEnabled.Name = "colEnabled"; this.colEnabled.TrueValue = "1"; this.colEnabled.Width = 80; // // colDescription // this.colDescription.DataPropertyName = "Description"; dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.colDescription.DefaultCellStyle = dataGridViewCellStyle3; this.colDescription.HeaderText = "描述"; this.colDescription.MaxInputLength = 200; this.colDescription.Name = "colDescription"; this.colDescription.Width = 300; // // btnExport // this.btnExport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnExport.Enabled = false; this.btnExport.Location = new System.Drawing.Point(570, 483); this.btnExport.Name = "btnExport"; this.btnExport.Size = new System.Drawing.Size(111, 23); this.btnExport.TabIndex = 15; this.btnExport.Text = "导出Excel..."; this.btnExport.UseVisualStyleBackColor = true; this.btnExport.Click += new System.EventHandler(this.btnExport_Click); // // lblContents // this.lblContents.Location = new System.Drawing.Point(30, 40); this.lblContents.Name = "lblContents"; this.lblContents.Size = new System.Drawing.Size(89, 12); this.lblContents.TabIndex = 5; this.lblContents.Text = "查询内容(&C):"; this.lblContents.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // txtSearch // this.txtSearch.Location = new System.Drawing.Point(124, 36); this.txtSearch.MaxLength = 20; this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(157, 21); this.txtSearch.TabIndex = 6; this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged); // // lblRoleCategories // this.lblRoleCategories.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lblRoleCategories.Location = new System.Drawing.Point(672, 43); this.lblRoleCategories.Name = "lblRoleCategories"; this.lblRoleCategories.Size = new System.Drawing.Size(110, 12); this.lblRoleCategories.TabIndex = 7; this.lblRoleCategories.Text = "角色分类:"; this.lblRoleCategories.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // cmbRoleCategory // this.cmbRoleCategory.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cmbRoleCategory.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbRoleCategory.Location = new System.Drawing.Point(788, 39); this.cmbRoleCategory.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.cmbRoleCategory.Name = "cmbRoleCategory"; this.cmbRoleCategory.Size = new System.Drawing.Size(118, 20); this.cmbRoleCategory.TabIndex = 8; this.cmbRoleCategory.SelectedIndexChanged += new System.EventHandler(this.cmbRoleCategory_SelectedIndexChanged); // // btnFrmRoleTableScope // this.btnFrmRoleTableScope.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnFrmRoleTableScope.Enabled = false; this.btnFrmRoleTableScope.Location = new System.Drawing.Point(569, 3); this.btnFrmRoleTableScope.Name = "btnFrmRoleTableScope"; this.btnFrmRoleTableScope.Size = new System.Drawing.Size(135, 23); this.btnFrmRoleTableScope.TabIndex = 2; this.btnFrmRoleTableScope.Text = "约束条件..."; this.btnFrmRoleTableScope.UseVisualStyleBackColor = true; this.btnFrmRoleTableScope.Click += new System.EventHandler(this.btnFrmRoleOrganizeScope_Click); // // btnBatchPermission // this.btnBatchPermission.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnBatchPermission.Enabled = false; this.btnBatchPermission.Location = new System.Drawing.Point(146, 3); this.btnBatchPermission.Name = "btnBatchPermission"; this.btnBatchPermission.Size = new System.Drawing.Size(135, 23); this.btnBatchPermission.TabIndex = 3; this.btnBatchPermission.Text = "批量设置权限..."; this.btnBatchPermission.UseVisualStyleBackColor = true; this.btnBatchPermission.Visible = false; this.btnBatchPermission.Click += new System.EventHandler(this.btnBatchPermission_Click); // // btnRoleUserBatchSet // this.btnRoleUserBatchSet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnRoleUserBatchSet.Enabled = false; this.btnRoleUserBatchSet.Location = new System.Drawing.Point(5, 3); this.btnRoleUserBatchSet.Name = "btnRoleUserBatchSet"; this.btnRoleUserBatchSet.Size = new System.Drawing.Size(135, 23); this.btnRoleUserBatchSet.TabIndex = 4; this.btnRoleUserBatchSet.Text = "角色用户关联..."; this.btnRoleUserBatchSet.UseVisualStyleBackColor = true; this.btnRoleUserBatchSet.Click += new System.EventHandler(this.btnRoleUserBatchSet_Click); // // btnFrmRoleAuthorizationScope // this.btnFrmRoleAuthorizationScope.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnFrmRoleAuthorizationScope.Enabled = false; this.btnFrmRoleAuthorizationScope.Location = new System.Drawing.Point(710, 3); this.btnFrmRoleAuthorizationScope.Name = "btnFrmRoleAuthorizationScope"; this.btnFrmRoleAuthorizationScope.Size = new System.Drawing.Size(135, 23); this.btnFrmRoleAuthorizationScope.TabIndex = 0; this.btnFrmRoleAuthorizationScope.Text = "角色授权范围..."; this.btnFrmRoleAuthorizationScope.UseVisualStyleBackColor = true; this.btnFrmRoleAuthorizationScope.Click += new System.EventHandler(this.btnFrmRoleAuthorizationScope_Click); // // btnFrmRoleAdminScope // this.btnFrmRoleAdminScope.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnFrmRoleAdminScope.Enabled = false; this.btnFrmRoleAdminScope.Location = new System.Drawing.Point(287, 3); this.btnFrmRoleAdminScope.Name = "btnFrmRoleAdminScope"; this.btnFrmRoleAdminScope.Size = new System.Drawing.Size(135, 23); this.btnFrmRoleAdminScope.TabIndex = 1; this.btnFrmRoleAdminScope.Text = "角色管理范围..."; this.btnFrmRoleAdminScope.UseVisualStyleBackColor = true; this.btnFrmRoleAdminScope.Click += new System.EventHandler(this.btnFrmRoleAdminScope_Click); // // btnFrmTableColumnPermission // this.btnFrmTableColumnPermission.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnFrmTableColumnPermission.Enabled = false; this.btnFrmTableColumnPermission.Location = new System.Drawing.Point(428, 3); this.btnFrmTableColumnPermission.Name = "btnFrmTableColumnPermission"; this.btnFrmTableColumnPermission.Size = new System.Drawing.Size(135, 23); this.btnFrmTableColumnPermission.TabIndex = 19; this.btnFrmTableColumnPermission.Text = "表字段权限..."; this.btnFrmTableColumnPermission.UseVisualStyleBackColor = true; this.btnFrmTableColumnPermission.Click += new System.EventHandler(this.btnFrmTableColumnPermission_Click); // // flowLayoutPanel1 // this.flowLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.flowLayoutPanel1.Controls.Add(this.btnFrmRoleAuthorizationScope); this.flowLayoutPanel1.Controls.Add(this.btnFrmRoleTableScope); this.flowLayoutPanel1.Controls.Add(this.btnFrmTableColumnPermission); this.flowLayoutPanel1.Controls.Add(this.btnFrmRoleAdminScope); this.flowLayoutPanel1.Controls.Add(this.btnBatchPermission); this.flowLayoutPanel1.Controls.Add(this.btnRoleUserBatchSet); this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; this.flowLayoutPanel1.Location = new System.Drawing.Point(62, 3); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new System.Drawing.Size(848, 29); this.flowLayoutPanel1.TabIndex = 20; // // FrmRolePermissionAdmin // 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(915, 510); this.Controls.Add(this.flowLayoutPanel1); this.Controls.Add(this.cmbRoleCategory); this.Controls.Add(this.lblRoleCategories); this.Controls.Add(this.lblContents); this.Controls.Add(this.txtSearch); this.Controls.Add(this.btnExport); this.Controls.Add(this.ucTableSort); this.Controls.Add(this.btnBatchSave); this.Controls.Add(this.btnRolePermission); this.Controls.Add(this.btnRoleUser); this.Controls.Add(this.btnClose); this.Controls.Add(this.btnAdd); this.Controls.Add(this.grdRole); this.Controls.Add(this.btnEdit); this.Controls.Add(this.btnBatchDelete); this.Cursor = System.Windows.Forms.Cursors.Default; this.Name = "FrmRolePermissionAdmin"; this.Padding = new System.Windows.Forms.Padding(8); this.Text = "角色权限管理"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmRoleAdmin_FormClosing); ((System.ComponentModel.ISupportInitialize)(this.grdRole)).EndInit(); this.flowLayoutPanel1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用主键编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); 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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmUserAdmin)); this.helpProvider = new System.Windows.Forms.HelpProvider(); this.grdUser = new System.Windows.Forms.DataGridView(); this.colSelected = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colUserName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colRealName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colDepartment = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colEmail = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colTelephone = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colMobile = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colDefaultRole = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colEnabled = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colDescription = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.btnSetPassword = new System.Windows.Forms.Button(); this.btnClose = new System.Windows.Forms.Button(); this.btnProperty = new System.Windows.Forms.Button(); this.btnDelete = new System.Windows.Forms.Button(); this.btnAdd = new System.Windows.Forms.Button(); this.lblContents = new System.Windows.Forms.Label(); this.txtSearch = new System.Windows.Forms.TextBox(); this.btnSearch = new System.Windows.Forms.Button(); this.chkEnabled = new System.Windows.Forms.CheckBox(); this.ucTableSort = new DotNet.WinForm.Common.WinControls.UCTableSort(); this.btnBatchSave = new System.Windows.Forms.Button(); this.btnRoleUser = new System.Windows.Forms.Button(); this.picBug = new System.Windows.Forms.PictureBox(); this.picSetting = new System.Windows.Forms.PictureBox(); this.picImport = new System.Windows.Forms.PictureBox(); this.picExport = new System.Windows.Forms.PictureBox(); this.btnInvertSelect = new System.Windows.Forms.Button(); this.btnSelectAll = new System.Windows.Forms.Button(); this.btnSetOrganize = new System.Windows.Forms.Button(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.splUser = new System.Windows.Forms.SplitContainer(); this.tvOrganize = new System.Windows.Forms.TreeView(); ((System.ComponentModel.ISupportInitialize)(this.grdUser)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.picBug)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.picSetting)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.picImport)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.picExport)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splUser)).BeginInit(); this.splUser.Panel1.SuspendLayout(); this.splUser.Panel2.SuspendLayout(); this.splUser.SuspendLayout(); this.SuspendLayout(); // // grdUser // this.grdUser.AllowUserToAddRows = false; this.grdUser.AllowUserToDeleteRows = 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.grdUser.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; this.grdUser.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; dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.grdUser.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; this.grdUser.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.grdUser.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colSelected, this.colUserName, this.colCode, this.colRealName, this.colDepartment, this.colEmail, this.colTelephone, this.colMobile, this.colDefaultRole, this.colEnabled, this.colDescription}); this.grdUser.Dock = System.Windows.Forms.DockStyle.Fill; this.grdUser.GridColor = System.Drawing.SystemColors.Control; this.grdUser.Location = new System.Drawing.Point(0, 0); this.grdUser.MultiSelect = false; this.grdUser.Name = "grdUser"; dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(188)))), ((int)(((byte)(188)))), ((int)(((byte)(255))))); dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.WindowText; this.grdUser.RowsDefaultCellStyle = dataGridViewCellStyle3; this.grdUser.RowTemplate.Height = 23; this.grdUser.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.grdUser.Size = new System.Drawing.Size(741, 511); this.grdUser.TabIndex = 4; this.grdUser.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.grdUser_CellDoubleClick); this.grdUser.Sorted += new System.EventHandler(this.grdUser_Sorted); // // colSelected // this.colSelected.DataPropertyName = "Selected"; this.colSelected.Frozen = true; this.colSelected.HeaderText = "选择"; this.colSelected.Name = "colSelected"; this.colSelected.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.colSelected.Width = 50; // // colUserName // this.colUserName.DataPropertyName = "UserName"; this.colUserName.HeaderText = "用户名"; this.colUserName.Name = "colUserName"; this.colUserName.ReadOnly = true; // // colCode // this.colCode.DataPropertyName = "Code"; this.colCode.HeaderText = "工号"; this.colCode.MaxInputLength = 100; this.colCode.Name = "colCode"; this.colCode.ReadOnly = true; // // colRealName // this.colRealName.DataPropertyName = "RealName"; this.colRealName.FillWeight = 70F; this.colRealName.HeaderText = "姓名"; this.colRealName.MaxInputLength = 200; this.colRealName.Name = "colRealName"; this.colRealName.ReadOnly = true; this.colRealName.Width = 70; // // colDepartment // this.colDepartment.DataPropertyName = "DepartmentName"; this.colDepartment.FillWeight = 200F; this.colDepartment.HeaderText = "部门"; this.colDepartment.MaxInputLength = 200; this.colDepartment.Name = "colDepartment"; this.colDepartment.ReadOnly = true; this.colDepartment.Width = 200; // // colEmail // this.colEmail.DataPropertyName = "Email"; this.colEmail.HeaderText = "Email"; this.colEmail.Name = "colEmail"; // // colTelephone // this.colTelephone.DataPropertyName = "Telephone"; this.colTelephone.HeaderText = "电话"; this.colTelephone.Name = "colTelephone"; // // colMobile // this.colMobile.DataPropertyName = "Mobile"; this.colMobile.HeaderText = "手机"; this.colMobile.Name = "colMobile"; // // colDefaultRole // this.colDefaultRole.DataPropertyName = "RoleName"; this.colDefaultRole.HeaderText = "默认角色"; this.colDefaultRole.Name = "colDefaultRole"; this.colDefaultRole.ReadOnly = true; // // colEnabled // this.colEnabled.DataPropertyName = "Enabled"; this.colEnabled.FalseValue = "0"; this.colEnabled.FillWeight = 80F; this.colEnabled.HeaderText = "有效"; this.colEnabled.Name = "colEnabled"; this.colEnabled.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; this.colEnabled.TrueValue = "1"; this.colEnabled.Width = 80; // // colDescription // this.colDescription.DataPropertyName = "Description"; this.colDescription.FillWeight = 135F; this.colDescription.HeaderText = "描述"; this.colDescription.MaxInputLength = 200; this.colDescription.Name = "colDescription"; this.colDescription.Width = 135; // // btnSetPassword // this.btnSetPassword.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnSetPassword.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnSetPassword.Enabled = false; this.btnSetPassword.Location = new System.Drawing.Point(517, 563); this.btnSetPassword.Name = "btnSetPassword"; this.btnSetPassword.Size = new System.Drawing.Size(108, 23); this.btnSetPassword.TabIndex = 7; this.btnSetPassword.Text = "重置密码(&P)..."; this.btnSetPassword.Click += new System.EventHandler(this.btnSetPassword_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(885, 563); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(75, 23); this.btnClose.TabIndex = 11; this.btnClose.Text = "关闭"; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // btnProperty // this.btnProperty.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnProperty.Enabled = false; this.btnProperty.Location = new System.Drawing.Point(434, 563); this.btnProperty.Name = "btnProperty"; this.btnProperty.Size = new System.Drawing.Size(80, 23); this.btnProperty.TabIndex = 6; this.btnProperty.Text = "属性(&O)..."; this.btnProperty.Click += new System.EventHandler(this.btnProperty_Click); // // btnDelete // this.btnDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnDelete.Enabled = false; this.btnDelete.Location = new System.Drawing.Point(729, 563); this.btnDelete.Name = "btnDelete"; this.btnDelete.Size = new System.Drawing.Size(75, 23); this.btnDelete.TabIndex = 9; this.btnDelete.Text = "删除(&D)"; this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click); // // btnAdd // this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnAdd.Enabled = false; this.btnAdd.Location = new System.Drawing.Point(356, 563); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(75, 23); this.btnAdd.TabIndex = 5; this.btnAdd.Text = "添加(&A)..."; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // lblContents // this.lblContents.Location = new System.Drawing.Point(21, 16); this.lblContents.Name = "lblContents"; this.lblContents.Size = new System.Drawing.Size(87, 12); this.lblContents.TabIndex = 0; this.lblContents.Text = "查询内容(&C):"; this.lblContents.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // txtSearch // this.txtSearch.Location = new System.Drawing.Point(112, 11); this.txtSearch.MaxLength = 20; this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(168, 21); this.txtSearch.TabIndex = 1; this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged); // // btnSearch // this.btnSearch.Location = new System.Drawing.Point(285, 11); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(75, 23); this.btnSearch.TabIndex = 2; this.btnSearch.Text = "查询(&F)"; this.btnSearch.UseVisualStyleBackColor = true; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // chkEnabled // this.chkEnabled.AutoSize = true; this.chkEnabled.Checked = true; this.chkEnabled.CheckState = System.Windows.Forms.CheckState.Checked; this.chkEnabled.Location = new System.Drawing.Point(366, 16); this.chkEnabled.Name = "chkEnabled"; this.chkEnabled.Size = new System.Drawing.Size(96, 16); this.chkEnabled.TabIndex = 3; this.chkEnabled.Text = "只显示有效的"; this.chkEnabled.UseVisualStyleBackColor = true; this.chkEnabled.CheckedChanged += new System.EventHandler(this.chkEnabled_CheckedChanged); // // ucTableSort // this.ucTableSort.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.ucTableSort.Enabled = false; this.ucTableSort.Location = new System.Drawing.Point(167, 562); 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 = 12; // // btnBatchSave // this.btnBatchSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnBatchSave.Enabled = false; this.btnBatchSave.Location = new System.Drawing.Point(807, 563); this.btnBatchSave.Name = "btnBatchSave"; this.btnBatchSave.Size = new System.Drawing.Size(75, 23); this.btnBatchSave.TabIndex = 10; this.btnBatchSave.Text = "保存(&S)"; this.btnBatchSave.UseVisualStyleBackColor = true; this.btnBatchSave.Click += new System.EventHandler(this.btnBatchSave_Click); // // btnRoleUser // this.btnRoleUser.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnRoleUser.Enabled = false; this.btnRoleUser.Location = new System.Drawing.Point(628, 563); this.btnRoleUser.Name = "btnRoleUser"; this.btnRoleUser.Size = new System.Drawing.Size(98, 23); this.btnRoleUser.TabIndex = 8; this.btnRoleUser.Text = "角色关联..."; this.btnRoleUser.UseVisualStyleBackColor = true; this.btnRoleUser.Click += new System.EventHandler(this.btnRoleUser_Click); // // picBug // this.picBug.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.picBug.Cursor = System.Windows.Forms.Cursors.Hand; this.picBug.Image = ((System.Drawing.Image)(resources.GetObject("picBug.Image"))); this.picBug.Location = new System.Drawing.Point(929, 5); this.picBug.Name = "picBug"; this.picBug.Size = new System.Drawing.Size(30, 30); this.picBug.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.picBug.TabIndex = 14; this.picBug.TabStop = false; this.picBug.Click += new System.EventHandler(this.picBug_Click); // // picSetting // this.picSetting.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.picSetting.Cursor = System.Windows.Forms.Cursors.Hand; this.picSetting.Image = ((System.Drawing.Image)(resources.GetObject("picSetting.Image"))); this.picSetting.Location = new System.Drawing.Point(897, 5); this.picSetting.Name = "picSetting"; this.picSetting.Size = new System.Drawing.Size(30, 30); this.picSetting.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.picSetting.TabIndex = 15; this.picSetting.TabStop = false; this.picSetting.Click += new System.EventHandler(this.picSetting_Click); // // picImport // this.picImport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.picImport.Cursor = System.Windows.Forms.Cursors.Hand; this.picImport.Image = ((System.Drawing.Image)(resources.GetObject("picImport.Image"))); this.picImport.Location = new System.Drawing.Point(865, 5); this.picImport.Name = "picImport"; this.picImport.Size = new System.Drawing.Size(30, 30); this.picImport.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.picImport.TabIndex = 16; this.picImport.TabStop = false; this.picImport.Click += new System.EventHandler(this.picImport_Click); // // picExport // this.picExport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.picExport.Cursor = System.Windows.Forms.Cursors.Hand; this.picExport.Image = ((System.Drawing.Image)(resources.GetObject("picExport.Image"))); this.picExport.Location = new System.Drawing.Point(833, 5); this.picExport.Name = "picExport"; this.picExport.Size = new System.Drawing.Size(30, 30); this.picExport.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.picExport.TabIndex = 17; this.picExport.TabStop = false; this.picExport.Click += new System.EventHandler(this.picExport_Click); // // btnInvertSelect // this.btnInvertSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnInvertSelect.Enabled = false; this.btnInvertSelect.Location = new System.Drawing.Point(86, 562); this.btnInvertSelect.Name = "btnInvertSelect"; this.btnInvertSelect.Size = new System.Drawing.Size(78, 23); this.btnInvertSelect.TabIndex = 20; 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.Enabled = false; this.btnSelectAll.Location = new System.Drawing.Point(5, 562); this.btnSelectAll.Name = "btnSelectAll"; this.btnSelectAll.Size = new System.Drawing.Size(78, 23); this.btnSelectAll.TabIndex = 19; this.btnSelectAll.Text = "全选"; this.btnSelectAll.UseVisualStyleBackColor = true; this.btnSelectAll.Click += new System.EventHandler(this.btnSelectAll_Click); // // btnSetOrganize // this.btnSetOrganize.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnSetOrganize.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnSetOrganize.Enabled = false; this.btnSetOrganize.Location = new System.Drawing.Point(714, 9); this.btnSetOrganize.Name = "btnSetOrganize"; this.btnSetOrganize.Size = new System.Drawing.Size(113, 23); this.btnSetOrganize.TabIndex = 21; this.btnSetOrganize.Text = "设置部门..."; this.btnSetOrganize.Click += new System.EventHandler(this.btnSetOrganize_Click); // // 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"); // // splUser // this.splUser.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.splUser.Location = new System.Drawing.Point(6, 45); this.splUser.Name = "splUser"; // // splUser.Panel1 // this.splUser.Panel1.Controls.Add(this.tvOrganize); this.splUser.Panel1MinSize = 0; // // splUser.Panel2 // this.splUser.Panel2.Controls.Add(this.grdUser); this.splUser.Panel2MinSize = 0; this.splUser.Size = new System.Drawing.Size(954, 511); this.splUser.SplitterDistance = 209; this.splUser.TabIndex = 22; // // tvOrganize // this.tvOrganize.AllowDrop = true; this.tvOrganize.Dock = System.Windows.Forms.DockStyle.Fill; this.tvOrganize.ImageIndex = 0; this.tvOrganize.ImageList = this.imageList; this.tvOrganize.Location = new System.Drawing.Point(0, 0); this.tvOrganize.Name = "tvOrganize"; this.tvOrganize.SelectedImageIndex = 1; this.tvOrganize.Size = new System.Drawing.Size(209, 511); this.tvOrganize.TabIndex = 1; this.tvOrganize.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvOrganize_AfterSelect); this.tvOrganize.Click += new System.EventHandler(this.tvOrganize_Click); this.tvOrganize.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tvOrganize_MouseDown); // // FrmUserAdmin // 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(967, 590); this.Controls.Add(this.splUser); this.Controls.Add(this.btnSetOrganize); this.Controls.Add(this.btnInvertSelect); this.Controls.Add(this.btnSelectAll); this.Controls.Add(this.picExport); this.Controls.Add(this.picImport); this.Controls.Add(this.picSetting); this.Controls.Add(this.picBug); this.Controls.Add(this.btnRoleUser); this.Controls.Add(this.btnBatchSave); this.Controls.Add(this.ucTableSort); this.Controls.Add(this.chkEnabled); this.Controls.Add(this.btnSearch); this.Controls.Add(this.lblContents); this.Controls.Add(this.txtSearch); this.Controls.Add(this.btnSetPassword); this.Controls.Add(this.btnClose); this.Controls.Add(this.btnProperty); this.Controls.Add(this.btnDelete); this.Controls.Add(this.btnAdd); this.Cursor = System.Windows.Forms.Cursors.Default; this.Name = "FrmUserAdmin"; this.Padding = new System.Windows.Forms.Padding(8); this.Text = "用户管理"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmUserAdmin_FormClosing); ((System.ComponentModel.ISupportInitialize)(this.grdUser)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.picBug)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.picSetting)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.picImport)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.picExport)).EndInit(); this.splUser.Panel1.ResumeLayout(false); this.splUser.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splUser)).EndInit(); this.splUser.ResumeLayout(false); 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(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = 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.labelTarget = new System.Windows.Forms.Label(); this.txtTargetTable = new System.Windows.Forms.TextBox(); this.btnUserResourcePermission = new System.Windows.Forms.Button(); this.btnRoleResourcePermission = new System.Windows.Forms.Button(); this.btnExport = new System.Windows.Forms.Button(); this.ucTableSort = new DotNet.WinForm.Common.WinControls.UCTableSort(); this.lblContents = new System.Windows.Forms.Label(); this.txtSearch = new System.Windows.Forms.TextBox(); this.grdItemDetails = new System.Windows.Forms.DataGridView(); this.colSelected = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colItemCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colItemName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colItemValue = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colEnabled = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colDescription = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.btnBatchSave = new System.Windows.Forms.Button(); this.btnBatchDelete = new System.Windows.Forms.Button(); this.btnEdit = new System.Windows.Forms.Button(); this.btnAdd = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.grdItemDetails)).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(758, 553); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(75, 23); this.btnClose.TabIndex = 15; 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.Enabled = false; this.btnInvertSelect.Location = new System.Drawing.Point(87, 553); this.btnInvertSelect.Name = "btnInvertSelect"; this.btnInvertSelect.Size = new System.Drawing.Size(78, 23); this.btnInvertSelect.TabIndex = 8; 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.Enabled = false; this.btnSelectAll.Location = new System.Drawing.Point(6, 553); this.btnSelectAll.Name = "btnSelectAll"; this.btnSelectAll.Size = new System.Drawing.Size(78, 23); this.btnSelectAll.TabIndex = 7; this.btnSelectAll.Text = "全选"; this.btnSelectAll.UseVisualStyleBackColor = true; this.btnSelectAll.Click += new System.EventHandler(this.btnSelectAll_Click); // // labelTarget // this.labelTarget.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labelTarget.Location = new System.Drawing.Point(274, 14); this.labelTarget.Name = "labelTarget"; this.labelTarget.Size = new System.Drawing.Size(73, 12); this.labelTarget.TabIndex = 2; this.labelTarget.Text = "目标表(&T):"; this.labelTarget.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // txtTargetTable // this.txtTargetTable.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtTargetTable.Location = new System.Drawing.Point(351, 10); this.txtTargetTable.MaxLength = 20; this.txtTargetTable.Name = "txtTargetTable"; this.txtTargetTable.ReadOnly = true; this.txtTargetTable.Size = new System.Drawing.Size(203, 21); this.txtTargetTable.TabIndex = 3; // // btnUserResourcePermission // this.btnUserResourcePermission.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnUserResourcePermission.Location = new System.Drawing.Point(561, 9); this.btnUserResourcePermission.Name = "btnUserResourcePermission"; this.btnUserResourcePermission.Size = new System.Drawing.Size(135, 23); this.btnUserResourcePermission.TabIndex = 4; this.btnUserResourcePermission.Text = "用户权限..."; this.btnUserResourcePermission.UseVisualStyleBackColor = true; this.btnUserResourcePermission.Click += new System.EventHandler(this.btnUserResourcePermission_Click); // // btnRoleResourcePermission // this.btnRoleResourcePermission.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnRoleResourcePermission.Location = new System.Drawing.Point(699, 9); this.btnRoleResourcePermission.Name = "btnRoleResourcePermission"; this.btnRoleResourcePermission.Size = new System.Drawing.Size(135, 23); this.btnRoleResourcePermission.TabIndex = 5; this.btnRoleResourcePermission.Text = "角色权限..."; this.btnRoleResourcePermission.UseVisualStyleBackColor = true; this.btnRoleResourcePermission.Click += new System.EventHandler(this.btnRoleResourcePermission_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(489, 553); this.btnExport.Name = "btnExport"; this.btnExport.Size = new System.Drawing.Size(111, 23); this.btnExport.TabIndex = 12; this.btnExport.Text = "导出Excel..."; this.btnExport.UseVisualStyleBackColor = true; this.btnExport.Click += new System.EventHandler(this.btnExport_Click); // // ucTableSort // this.ucTableSort.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.ucTableSort.Enabled = false; this.ucTableSort.Location = new System.Drawing.Point(168, 553); 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 = true; this.ucTableSort.SetDownEnabled = true; this.ucTableSort.SetTopEnabled = true; this.ucTableSort.SetUpEnabled = true; this.ucTableSort.Size = new System.Drawing.Size(99, 24); this.ucTableSort.TabIndex = 9; // // lblContents // this.lblContents.Location = new System.Drawing.Point(10, 14); this.lblContents.Name = "lblContents"; this.lblContents.Size = new System.Drawing.Size(93, 12); this.lblContents.TabIndex = 0; this.lblContents.Text = "查询内容(&C):"; this.lblContents.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // txtSearch // this.txtSearch.Location = new System.Drawing.Point(108, 10); this.txtSearch.MaxLength = 20; this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(160, 21); this.txtSearch.TabIndex = 1; this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged); // // grdItemDetails // this.grdItemDetails.AllowUserToAddRows = false; this.grdItemDetails.AllowUserToDeleteRows = false; this.grdItemDetails.AllowUserToOrderColumns = true; this.grdItemDetails.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.grdItemDetails.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; dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.grdItemDetails.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.grdItemDetails.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.grdItemDetails.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colSelected, this.colItemCode, this.colItemName, this.colItemValue, this.colEnabled, this.colDescription}); this.grdItemDetails.Location = new System.Drawing.Point(8, 41); this.grdItemDetails.MultiSelect = false; this.grdItemDetails.Name = "grdItemDetails"; this.grdItemDetails.RowTemplate.Height = 23; this.grdItemDetails.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.grdItemDetails.Size = new System.Drawing.Size(826, 506); this.grdItemDetails.TabIndex = 6; this.grdItemDetails.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.grdItemDetails_CellDoubleClick); this.grdItemDetails.Sorted += new System.EventHandler(this.grdItemDetails_Sorted); this.grdItemDetails.UserDeletingRow += new System.Windows.Forms.DataGridViewRowCancelEventHandler(this.grdItemDetails_UserDeletingRow); // // colSelected // this.colSelected.DataPropertyName = "Selected"; this.colSelected.HeaderText = "选择"; this.colSelected.Name = "colSelected"; this.colSelected.Width = 50; // // colItemCode // this.colItemCode.DataPropertyName = "ItemCode"; dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.colItemCode.DefaultCellStyle = dataGridViewCellStyle2; this.colItemCode.FillWeight = 180F; this.colItemCode.HeaderText = "编号"; this.colItemCode.MaxInputLength = 20; this.colItemCode.Name = "colItemCode"; this.colItemCode.Width = 180; // // colItemName // this.colItemName.DataPropertyName = "ItemName"; dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.colItemName.DefaultCellStyle = dataGridViewCellStyle3; this.colItemName.FillWeight = 180F; this.colItemName.HeaderText = "名称"; this.colItemName.MaxInputLength = 80; this.colItemName.Name = "colItemName"; this.colItemName.Width = 180; // // colItemValue // this.colItemValue.DataPropertyName = "ItemValue"; dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.colItemValue.DefaultCellStyle = dataGridViewCellStyle4; this.colItemValue.HeaderText = "值"; this.colItemValue.MaxInputLength = 100; this.colItemValue.Name = "colItemValue"; this.colItemValue.Width = 140; // // colEnabled // this.colEnabled.DataPropertyName = "Enabled"; this.colEnabled.HeaderText = "有效"; this.colEnabled.Name = "colEnabled"; this.colEnabled.ReadOnly = true; this.colEnabled.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; this.colEnabled.Width = 60; // // colDescription // this.colDescription.DataPropertyName = "Description"; dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.colDescription.DefaultCellStyle = dataGridViewCellStyle5; this.colDescription.HeaderText = "描述"; this.colDescription.MaxInputLength = 200; this.colDescription.Name = "colDescription"; this.colDescription.Width = 150; // // 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(681, 553); this.btnBatchSave.Name = "btnBatchSave"; this.btnBatchSave.Size = new System.Drawing.Size(75, 23); this.btnBatchSave.TabIndex = 14; this.btnBatchSave.Text = "保存(&S)"; this.btnBatchSave.UseVisualStyleBackColor = true; this.btnBatchSave.Click += new System.EventHandler(this.btnBatchSave_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(603, 553); this.btnBatchDelete.Name = "btnBatchDelete"; this.btnBatchDelete.Size = new System.Drawing.Size(75, 23); this.btnBatchDelete.TabIndex = 13; this.btnBatchDelete.Text = "删除(&D)"; this.btnBatchDelete.UseVisualStyleBackColor = true; this.btnBatchDelete.Click += new System.EventHandler(this.btnBatchDelete_Click); // // btnEdit // this.btnEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnEdit.Location = new System.Drawing.Point(411, 553); this.btnEdit.Name = "btnEdit"; this.btnEdit.Size = new System.Drawing.Size(75, 23); this.btnEdit.TabIndex = 11; this.btnEdit.Text = "编辑(&E)..."; this.btnEdit.UseVisualStyleBackColor = true; this.btnEdit.Click += new System.EventHandler(this.btnEdit_Click); // // btnAdd // this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnAdd.Location = new System.Drawing.Point(333, 553); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(75, 23); this.btnAdd.TabIndex = 10; this.btnAdd.Text = "添加(&A)..."; this.btnAdd.UseVisualStyleBackColor = true; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // FrmItemDetailsAdmin // 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, 580); this.Controls.Add(this.btnInvertSelect); this.Controls.Add(this.btnSelectAll); this.Controls.Add(this.labelTarget); this.Controls.Add(this.txtTargetTable); this.Controls.Add(this.btnUserResourcePermission); this.Controls.Add(this.btnRoleResourcePermission); this.Controls.Add(this.btnExport); this.Controls.Add(this.ucTableSort); this.Controls.Add(this.lblContents); this.Controls.Add(this.txtSearch); this.Controls.Add(this.grdItemDetails); this.Controls.Add(this.btnBatchSave); this.Controls.Add(this.btnBatchDelete); this.Controls.Add(this.btnEdit); this.Controls.Add(this.btnClose); this.Controls.Add(this.btnAdd); this.Cursor = System.Windows.Forms.Cursors.Default; this.Name = "FrmItemDetailsAdmin"; this.Text = "选项明细管理"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmItemDetailsAdmin_FormClosing); ((System.ComponentModel.ISupportInitialize)(this.grdItemDetails)).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() { 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> /// 设计器支持所需的方法 - 不要 /// 使用主键编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmModuleAdmin)); 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(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.cMnuModule = new System.Windows.Forms.ContextMenuStrip(this.components); this.mItmAdd = new System.Windows.Forms.ToolStripMenuItem(); this.mItmEdit = new System.Windows.Forms.ToolStripMenuItem(); this.mItmMove = new System.Windows.Forms.ToolStripMenuItem(); this.mItmDelete = new System.Windows.Forms.ToolStripMenuItem(); this.mItmAddRoot = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.mItmModulePermissionRelation = new System.Windows.Forms.ToolStripMenuItem(); this.mItmModuleSetPermission = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.mItmSetSortCode = new System.Windows.Forms.ToolStripMenuItem(); this.btnClose = new System.Windows.Forms.Button(); this.btnInvertSelect = new System.Windows.Forms.Button(); this.btnSelectAll = new System.Windows.Forms.Button(); this.cmbSystem = new System.Windows.Forms.ComboBox(); this.lblSystem = new System.Windows.Forms.Label(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.btnExport = new System.Windows.Forms.Button(); this.btnModulePermissionRelation = new System.Windows.Forms.Button(); this.btnModuleConfig = new System.Windows.Forms.Button(); this.btnUserModulePermission = new System.Windows.Forms.Button(); this.btnRoleModulePermission = new System.Windows.Forms.Button(); this.pnlModule = new System.Windows.Forms.Panel(); this.grdModule = new System.Windows.Forms.DataGridView(); this.colSelected = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colFullName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colNavigateUrl = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colDescription = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colIsPublic = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colExpand = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colEnabled = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.splModule = new System.Windows.Forms.Splitter(); this.tvModule = new System.Windows.Forms.TreeView(); this.btnBatchSave = new System.Windows.Forms.Button(); this.ucTableSort = new DotNet.WinForm.Common.WinControls.UCTableSort(); this.btnBatchDelete = new System.Windows.Forms.Button(); this.btnMove = new System.Windows.Forms.Button(); this.btnEdit = new System.Windows.Forms.Button(); this.btnAdd = new System.Windows.Forms.Button(); this.cMnuModule.SuspendLayout(); this.flowLayoutPanel1.SuspendLayout(); this.pnlModule.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdModule)).BeginInit(); 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"); // // cMnuModule // this.cMnuModule.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mItmAdd, this.mItmEdit, this.mItmMove, this.mItmDelete, this.mItmAddRoot, this.toolStripSeparator1, this.mItmModulePermissionRelation, this.mItmModuleSetPermission, this.toolStripSeparator2, this.mItmSetSortCode}); this.cMnuModule.Name = "cMnuModule"; this.cMnuModule.Size = new System.Drawing.Size(173, 192); // // mItmAdd // this.mItmAdd.Enabled = false; this.mItmAdd.Name = "mItmAdd"; this.mItmAdd.Size = new System.Drawing.Size(172, 22); this.mItmAdd.Text = "添加(&A)..."; this.mItmAdd.Click += new System.EventHandler(this.mItmAdd_Click); // // mItmEdit // this.mItmEdit.Enabled = false; this.mItmEdit.Name = "mItmEdit"; this.mItmEdit.Size = new System.Drawing.Size(172, 22); this.mItmEdit.Text = "编辑(&E)..."; this.mItmEdit.Click += new System.EventHandler(this.mItmEdit_Click); // // mItmMove // this.mItmMove.Enabled = false; this.mItmMove.Name = "mItmMove"; this.mItmMove.Size = new System.Drawing.Size(172, 22); this.mItmMove.Text = "移动(&M)..."; this.mItmMove.Click += new System.EventHandler(this.mItmMove_Click); // // mItmDelete // this.mItmDelete.Enabled = false; this.mItmDelete.Name = "mItmDelete"; this.mItmDelete.Size = new System.Drawing.Size(172, 22); this.mItmDelete.Text = "删除(&D)"; this.mItmDelete.Click += new System.EventHandler(this.mItmDelete_Click); // // mItmAddRoot // this.mItmAddRoot.Enabled = false; this.mItmAddRoot.Name = "mItmAddRoot"; this.mItmAddRoot.Size = new System.Drawing.Size(172, 22); this.mItmAddRoot.Text = "添加根菜单..."; this.mItmAddRoot.Click += new System.EventHandler(this.mItmAddRoot_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(169, 6); // // mItmModulePermissionRelation // this.mItmModulePermissionRelation.Enabled = false; this.mItmModulePermissionRelation.Name = "mItmModulePermissionRelation"; this.mItmModulePermissionRelation.Size = new System.Drawing.Size(172, 22); this.mItmModulePermissionRelation.Text = "关联操作权限(&I)..."; this.mItmModulePermissionRelation.Click += new System.EventHandler(this.mItmModulePermissionRelation_Click); // // mItmModuleSetPermission // this.mItmModuleSetPermission.Enabled = false; this.mItmModuleSetPermission.Name = "mItmModuleSetPermission"; this.mItmModuleSetPermission.Size = new System.Drawing.Size(172, 22); this.mItmModuleSetPermission.Text = "菜单访问权限(&P)..."; this.mItmModuleSetPermission.Click += new System.EventHandler(this.mItmModuleSetPermission_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(169, 6); // // mItmSetSortCode // this.mItmSetSortCode.Enabled = false; this.mItmSetSortCode.Name = "mItmSetSortCode"; this.mItmSetSortCode.Size = new System.Drawing.Size(172, 22); this.mItmSetSortCode.Text = "保存排序顺序"; this.mItmSetSortCode.Click += new System.EventHandler(this.mItmSetSortCode_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(944, 522); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(75, 23); this.btnClose.TabIndex = 12; 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.Enabled = false; this.btnInvertSelect.Location = new System.Drawing.Point(88, 521); this.btnInvertSelect.Name = "btnInvertSelect"; this.btnInvertSelect.Size = new System.Drawing.Size(78, 23); this.btnInvertSelect.TabIndex = 17; 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.Enabled = false; this.btnSelectAll.Location = new System.Drawing.Point(6, 521); this.btnSelectAll.Name = "btnSelectAll"; this.btnSelectAll.Size = new System.Drawing.Size(78, 23); this.btnSelectAll.TabIndex = 16; this.btnSelectAll.Text = "全选"; this.btnSelectAll.UseVisualStyleBackColor = true; this.btnSelectAll.Click += new System.EventHandler(this.btnSelectAll_Click); // // cmbSystem // this.cmbSystem.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbSystem.Location = new System.Drawing.Point(78, 8); this.cmbSystem.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.cmbSystem.Name = "cmbSystem"; this.cmbSystem.Size = new System.Drawing.Size(190, 20); this.cmbSystem.TabIndex = 15; this.cmbSystem.SelectedIndexChanged += new System.EventHandler(this.cmbSystem_SelectedIndexChanged); // // lblSystem // this.lblSystem.Location = new System.Drawing.Point(0, 11); this.lblSystem.Name = "lblSystem"; this.lblSystem.Size = new System.Drawing.Size(73, 12); this.lblSystem.TabIndex = 14; this.lblSystem.Text = "业务系统:"; this.lblSystem.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // flowLayoutPanel1 // this.flowLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.flowLayoutPanel1.Controls.Add(this.btnExport); this.flowLayoutPanel1.Controls.Add(this.btnModulePermissionRelation); this.flowLayoutPanel1.Controls.Add(this.btnModuleConfig); this.flowLayoutPanel1.Controls.Add(this.btnUserModulePermission); this.flowLayoutPanel1.Controls.Add(this.btnRoleModulePermission); this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; this.flowLayoutPanel1.Location = new System.Drawing.Point(336, 3); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new System.Drawing.Size(687, 29); this.flowLayoutPanel1.TabIndex = 13; // // 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(584, 3); this.btnExport.Name = "btnExport"; this.btnExport.Size = new System.Drawing.Size(100, 23); this.btnExport.TabIndex = 3; this.btnExport.Text = "导出Excel..."; this.btnExport.UseVisualStyleBackColor = true; this.btnExport.Click += new System.EventHandler(this.btnExportAll_Click); // // btnModulePermissionRelation // this.btnModulePermissionRelation.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnModulePermissionRelation.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnModulePermissionRelation.Enabled = false; this.btnModulePermissionRelation.Location = new System.Drawing.Point(478, 3); this.btnModulePermissionRelation.Name = "btnModulePermissionRelation"; this.btnModulePermissionRelation.Size = new System.Drawing.Size(100, 23); this.btnModulePermissionRelation.TabIndex = 11; this.btnModulePermissionRelation.Text = "关联操作权限(&P)..."; this.btnModulePermissionRelation.UseVisualStyleBackColor = true; this.btnModulePermissionRelation.Click += new System.EventHandler(this.btnModulePermissionRelation_Click); // // btnModuleConfig // this.btnModuleConfig.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnModuleConfig.Enabled = false; this.btnModuleConfig.Location = new System.Drawing.Point(372, 3); this.btnModuleConfig.Name = "btnModuleConfig"; this.btnModuleConfig.Size = new System.Drawing.Size(100, 23); this.btnModuleConfig.TabIndex = 2; this.btnModuleConfig.Text = "菜单配置..."; this.btnModuleConfig.UseVisualStyleBackColor = true; this.btnModuleConfig.Click += new System.EventHandler(this.btnModuleConfig_Click); // // btnUserModulePermission // this.btnUserModulePermission.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnUserModulePermission.Enabled = false; this.btnUserModulePermission.Location = new System.Drawing.Point(266, 3); this.btnUserModulePermission.Name = "btnUserModulePermission"; this.btnUserModulePermission.Size = new System.Drawing.Size(100, 23); this.btnUserModulePermission.TabIndex = 0; this.btnUserModulePermission.Text = "用户菜单权限..."; this.btnUserModulePermission.UseVisualStyleBackColor = true; this.btnUserModulePermission.Click += new System.EventHandler(this.btnUserModulePermission_Click); // // btnRoleModulePermission // this.btnRoleModulePermission.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnRoleModulePermission.Enabled = false; this.btnRoleModulePermission.Location = new System.Drawing.Point(160, 3); this.btnRoleModulePermission.Name = "btnRoleModulePermission"; this.btnRoleModulePermission.Size = new System.Drawing.Size(100, 23); this.btnRoleModulePermission.TabIndex = 1; this.btnRoleModulePermission.Text = "角色菜单权限..."; this.btnRoleModulePermission.UseVisualStyleBackColor = true; this.btnRoleModulePermission.Click += new System.EventHandler(this.btnRoleModulePermission_Click); // // pnlModule // this.pnlModule.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.pnlModule.Controls.Add(this.grdModule); this.pnlModule.Controls.Add(this.splModule); this.pnlModule.Controls.Add(this.tvModule); this.pnlModule.Location = new System.Drawing.Point(8, 37); this.pnlModule.Name = "pnlModule"; this.pnlModule.Size = new System.Drawing.Size(1011, 477); this.pnlModule.TabIndex = 1; // // grdModule // this.grdModule.AllowUserToAddRows = false; this.grdModule.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.grdModule.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.grdModule.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.grdModule.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colSelected, this.colCode, this.colFullName, this.colNavigateUrl, this.colDescription, this.colIsPublic, this.colExpand, this.colEnabled}); this.grdModule.Dock = System.Windows.Forms.DockStyle.Fill; this.grdModule.Location = new System.Drawing.Point(245, 0); this.grdModule.MultiSelect = false; this.grdModule.Name = "grdModule"; this.grdModule.RowTemplate.Height = 23; this.grdModule.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.grdModule.Size = new System.Drawing.Size(766, 477); this.grdModule.TabIndex = 1; this.grdModule.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.grdModule_CellDoubleClick); this.grdModule.Sorted += new System.EventHandler(this.grdModule_Sorted); this.grdModule.UserDeletingRow += new System.Windows.Forms.DataGridViewRowCancelEventHandler(this.grdModule_UserDeletingRow); this.grdModule.Click += new System.EventHandler(this.grdModule_Click); // // colSelected // this.colSelected.DataPropertyName = "Selected"; this.colSelected.Frozen = true; this.colSelected.HeaderText = "选择"; this.colSelected.Name = "colSelected"; this.colSelected.Width = 50; // // colCode // this.colCode.DataPropertyName = "Code"; this.colCode.FillWeight = 150F; this.colCode.Frozen = true; this.colCode.HeaderText = "编号"; this.colCode.MaxInputLength = 20; this.colCode.Name = "colCode"; this.colCode.ReadOnly = true; this.colCode.Width = 120; // // colFullName // this.colFullName.DataPropertyName = "FullName"; dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.colFullName.DefaultCellStyle = dataGridViewCellStyle2; this.colFullName.FillWeight = 180F; this.colFullName.Frozen = true; this.colFullName.HeaderText = "名称"; this.colFullName.MaxInputLength = 120; this.colFullName.Name = "colFullName"; // // colNavigateUrl // this.colNavigateUrl.DataPropertyName = "NavigateUrl"; dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.colNavigateUrl.DefaultCellStyle = dataGridViewCellStyle3; this.colNavigateUrl.Frozen = true; this.colNavigateUrl.HeaderText = "web地址"; this.colNavigateUrl.MaxInputLength = 500; this.colNavigateUrl.Name = "colNavigateUrl"; this.colNavigateUrl.Width = 200; // // colDescription // this.colDescription.DataPropertyName = "Description"; dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.colDescription.DefaultCellStyle = dataGridViewCellStyle4; this.colDescription.FillWeight = 70F; this.colDescription.HeaderText = "描述"; this.colDescription.MaxInputLength = 200; this.colDescription.Name = "colDescription"; this.colDescription.Width = 80; // // colIsPublic // this.colIsPublic.DataPropertyName = "IsPublic"; this.colIsPublic.FalseValue = "0"; this.colIsPublic.FillWeight = 70F; this.colIsPublic.HeaderText = "公开"; this.colIsPublic.Name = "colIsPublic"; this.colIsPublic.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.colIsPublic.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; this.colIsPublic.TrueValue = "1"; this.colIsPublic.Width = 50; // // colExpand // this.colExpand.DataPropertyName = "Expand"; this.colExpand.FalseValue = "0"; this.colExpand.HeaderText = "展开"; this.colExpand.Name = "colExpand"; this.colExpand.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; this.colExpand.TrueValue = "1"; this.colExpand.Width = 50; // // colEnabled // this.colEnabled.DataPropertyName = "Enabled"; this.colEnabled.FalseValue = "0"; this.colEnabled.FillWeight = 70F; this.colEnabled.HeaderText = "有效"; this.colEnabled.Name = "colEnabled"; this.colEnabled.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.colEnabled.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; this.colEnabled.TrueValue = "1"; this.colEnabled.Width = 50; // // splModule // this.splModule.Location = new System.Drawing.Point(242, 0); this.splModule.Name = "splModule"; this.splModule.Size = new System.Drawing.Size(3, 477); this.splModule.TabIndex = 8; this.splModule.TabStop = false; // // tvModule // this.tvModule.AllowDrop = true; this.tvModule.Dock = System.Windows.Forms.DockStyle.Left; this.tvModule.ImageIndex = 0; this.tvModule.ImageList = this.imageList; this.tvModule.Location = new System.Drawing.Point(0, 0); this.tvModule.Name = "tvModule"; this.tvModule.SelectedImageIndex = 1; this.tvModule.Size = new System.Drawing.Size(242, 477); this.tvModule.TabIndex = 0; this.tvModule.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.tvModule_ItemDrag); this.tvModule.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvModule_AfterSelect); this.tvModule.Click += new System.EventHandler(this.tvModule_Click); this.tvModule.DragDrop += new System.Windows.Forms.DragEventHandler(this.tvModule_DragDrop); this.tvModule.DragEnter += new System.Windows.Forms.DragEventHandler(this.tvModule_DragEnter); this.tvModule.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tvModule_MouseDown); // // btnBatchSave // this.btnBatchSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnBatchSave.Enabled = false; this.btnBatchSave.Location = new System.Drawing.Point(865, 522); this.btnBatchSave.Name = "btnBatchSave"; this.btnBatchSave.Size = new System.Drawing.Size(75, 23); this.btnBatchSave.TabIndex = 10; this.btnBatchSave.Text = "保存(&S)"; this.btnBatchSave.UseVisualStyleBackColor = true; this.btnBatchSave.Click += new System.EventHandler(this.btnBatchSave_Click); // // 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(170, 520); 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 = 4; // // btnBatchDelete // this.btnBatchDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnBatchDelete.Enabled = false; this.btnBatchDelete.Location = new System.Drawing.Point(786, 522); this.btnBatchDelete.Name = "btnBatchDelete"; this.btnBatchDelete.Size = new System.Drawing.Size(75, 23); this.btnBatchDelete.TabIndex = 9; this.btnBatchDelete.Text = "删除(&D)"; this.btnBatchDelete.UseVisualStyleBackColor = true; this.btnBatchDelete.Click += new System.EventHandler(this.btnBatchDelete_Click); // // btnMove // this.btnMove.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnMove.Enabled = false; this.btnMove.Location = new System.Drawing.Point(707, 522); this.btnMove.Name = "btnMove"; this.btnMove.Size = new System.Drawing.Size(75, 23); this.btnMove.TabIndex = 7; this.btnMove.Text = "移动(&M)..."; this.btnMove.UseVisualStyleBackColor = true; this.btnMove.Click += new System.EventHandler(this.btnMove_Click); // // btnEdit // this.btnEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnEdit.Enabled = false; this.btnEdit.Location = new System.Drawing.Point(628, 522); this.btnEdit.Name = "btnEdit"; this.btnEdit.Size = new System.Drawing.Size(75, 23); this.btnEdit.TabIndex = 6; this.btnEdit.Text = "编辑(&E)..."; this.btnEdit.UseVisualStyleBackColor = true; this.btnEdit.Click += new System.EventHandler(this.btnEdit_Click); // // btnAdd // this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnAdd.Enabled = false; this.btnAdd.Location = new System.Drawing.Point(548, 522); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(75, 23); this.btnAdd.TabIndex = 5; this.btnAdd.Text = "添加(&A)..."; this.btnAdd.UseVisualStyleBackColor = true; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // FrmModuleAdmin // 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(1027, 549); this.Controls.Add(this.btnInvertSelect); this.Controls.Add(this.btnSelectAll); this.Controls.Add(this.cmbSystem); this.Controls.Add(this.lblSystem); this.Controls.Add(this.flowLayoutPanel1); this.Controls.Add(this.pnlModule); this.Controls.Add(this.btnBatchSave); this.Controls.Add(this.ucTableSort); this.Controls.Add(this.btnClose); this.Controls.Add(this.btnBatchDelete); this.Controls.Add(this.btnMove); this.Controls.Add(this.btnEdit); this.Controls.Add(this.btnAdd); this.Cursor = System.Windows.Forms.Cursors.Default; this.Name = "FrmModuleAdmin"; this.Padding = new System.Windows.Forms.Padding(8); this.Text = "菜单管理"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmModuleAdmin_FormClosing); this.cMnuModule.ResumeLayout(false); this.flowLayoutPanel1.ResumeLayout(false); this.pnlModule.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grdModule)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用主键编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); 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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmStaffAdmin)); this.btnBatchSave = new System.Windows.Forms.Button(); this.btnMove = new System.Windows.Forms.Button(); this.btnBatchDelete = new System.Windows.Forms.Button(); this.btnEdit = new System.Windows.Forms.Button(); this.btnClose = new System.Windows.Forms.Button(); this.btnAdd = new System.Windows.Forms.Button(); this.btnSetPassword = new System.Windows.Forms.Button(); this.pnlStaff = new System.Windows.Forms.Panel(); this.grdStaff = new System.Windows.Forms.DataGridView(); this.colSelected = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colRealName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colGender = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colMobile = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colOfficePhone = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colDescription = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.splOrganize = new System.Windows.Forms.Splitter(); this.tvOrganize = new System.Windows.Forms.TreeView(); this.cMnuStaff = new System.Windows.Forms.ContextMenuStrip(this.components); this.mItmStaffAdd = new System.Windows.Forms.ToolStripMenuItem(); this.mItemRoleAdd = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.mItmAdd = new System.Windows.Forms.ToolStripMenuItem(); this.mItmEdit = new System.Windows.Forms.ToolStripMenuItem(); this.mItmMove = new System.Windows.Forms.ToolStripMenuItem(); this.mItmDelete = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.mItmGender = new System.Windows.Forms.ToolStripMenuItem(); this.mItmParty = new System.Windows.Forms.ToolStripMenuItem(); this.mItmNationality = new System.Windows.Forms.ToolStripMenuItem(); this.mItmTitle = new System.Windows.Forms.ToolStripMenuItem(); this.mItmDuty = new System.Windows.Forms.ToolStripMenuItem(); this.mItmEducation = new System.Windows.Forms.ToolStripMenuItem(); this.mItmDegree = new System.Windows.Forms.ToolStripMenuItem(); this.mItmWorkingProperty = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.mItemResetSortCode = new System.Windows.Forms.ToolStripMenuItem(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.btnUserPermission = new System.Windows.Forms.Button(); this.lblSearch = new System.Windows.Forms.Label(); this.txtSearch = new System.Windows.Forms.TextBox(); this.btnSearch = new System.Windows.Forms.Button(); this.ucTableSort = new DotNet.WinForm.Common.WinControls.UCTableSort(); this.chkNotIsUser = new System.Windows.Forms.CheckBox(); this.chkEnabled = new System.Windows.Forms.CheckBox(); this.btnInvertSelect = new System.Windows.Forms.Button(); this.btnSelectAll = new System.Windows.Forms.Button(); this.picExport = new System.Windows.Forms.PictureBox(); this.picImport = new System.Windows.Forms.PictureBox(); this.picSetting = new System.Windows.Forms.PictureBox(); this.picBug = new System.Windows.Forms.PictureBox(); this.chkNotDepartment = new System.Windows.Forms.CheckBox(); this.btnOrganize = new System.Windows.Forms.Button(); this.pnlStaff.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdStaff)).BeginInit(); this.cMnuStaff.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.picExport)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.picImport)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.picSetting)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.picBug)).BeginInit(); this.SuspendLayout(); // // btnBatchSave // this.btnBatchSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnBatchSave.Enabled = false; this.btnBatchSave.Location = new System.Drawing.Point(885, 506); this.btnBatchSave.Name = "btnBatchSave"; this.btnBatchSave.Size = new System.Drawing.Size(75, 23); this.btnBatchSave.TabIndex = 13; this.btnBatchSave.Text = "保存(&S)"; this.btnBatchSave.UseVisualStyleBackColor = true; this.btnBatchSave.Click += new System.EventHandler(this.btnBatchSave_Click); // // btnMove // this.btnMove.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnMove.Enabled = false; this.btnMove.Location = new System.Drawing.Point(549, 506); this.btnMove.Name = "btnMove"; this.btnMove.Size = new System.Drawing.Size(75, 23); this.btnMove.TabIndex = 8; this.btnMove.Text = "移动(&M)..."; this.btnMove.UseVisualStyleBackColor = true; this.btnMove.Click += new System.EventHandler(this.btnMove_Click); // // btnBatchDelete // this.btnBatchDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnBatchDelete.Enabled = false; this.btnBatchDelete.Location = new System.Drawing.Point(807, 506); this.btnBatchDelete.Name = "btnBatchDelete"; this.btnBatchDelete.Size = new System.Drawing.Size(75, 23); this.btnBatchDelete.TabIndex = 12; this.btnBatchDelete.Text = "删除(&D)"; this.btnBatchDelete.UseVisualStyleBackColor = true; this.btnBatchDelete.Click += new System.EventHandler(this.btnBatchDelete_Click); // // btnEdit // this.btnEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnEdit.Enabled = false; this.btnEdit.Location = new System.Drawing.Point(471, 506); this.btnEdit.Name = "btnEdit"; this.btnEdit.Size = new System.Drawing.Size(75, 23); this.btnEdit.TabIndex = 7; this.btnEdit.Text = "编辑(&E)..."; this.btnEdit.UseVisualStyleBackColor = true; this.btnEdit.Click += new System.EventHandler(this.btnEdit_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(963, 506); 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); // // btnAdd // this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnAdd.Enabled = false; this.btnAdd.Location = new System.Drawing.Point(393, 506); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(75, 23); this.btnAdd.TabIndex = 6; this.btnAdd.Text = "添加(&A)..."; this.btnAdd.UseVisualStyleBackColor = true; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // btnSetPassword // this.btnSetPassword.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnSetPassword.Enabled = false; this.btnSetPassword.Location = new System.Drawing.Point(627, 506); this.btnSetPassword.Name = "btnSetPassword"; this.btnSetPassword.Size = new System.Drawing.Size(86, 23); this.btnSetPassword.TabIndex = 9; this.btnSetPassword.Text = "设置密码(&P)..."; this.btnSetPassword.UseVisualStyleBackColor = true; this.btnSetPassword.Click += new System.EventHandler(this.btnSetPassword_Click); // // pnlStaff // this.pnlStaff.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.pnlStaff.Controls.Add(this.grdStaff); this.pnlStaff.Controls.Add(this.splOrganize); this.pnlStaff.Controls.Add(this.tvOrganize); this.pnlStaff.Location = new System.Drawing.Point(8, 40); this.pnlStaff.Name = "pnlStaff"; this.pnlStaff.Size = new System.Drawing.Size(1030, 458); this.pnlStaff.TabIndex = 1; // // grdStaff // this.grdStaff.AllowUserToAddRows = false; this.grdStaff.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.grdStaff.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.grdStaff.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.grdStaff.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colSelected, this.colCode, this.colRealName, this.colGender, this.colMobile, this.colOfficePhone, this.colDescription}); this.grdStaff.Dock = System.Windows.Forms.DockStyle.Fill; this.grdStaff.Location = new System.Drawing.Point(263, 0); this.grdStaff.MultiSelect = false; this.grdStaff.Name = "grdStaff"; this.grdStaff.RowTemplate.Height = 23; this.grdStaff.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.grdStaff.Size = new System.Drawing.Size(767, 458); this.grdStaff.TabIndex = 1; this.grdStaff.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.grdStaff_CellDoubleClick); this.grdStaff.SelectionChanged += new System.EventHandler(this.grdStaff_SelectionChanged); this.grdStaff.Sorted += new System.EventHandler(this.grdStaff_Sorted); this.grdStaff.UserDeletingRow += new System.Windows.Forms.DataGridViewRowCancelEventHandler(this.grdStaff_UserDeletingRow); this.grdStaff.Click += new System.EventHandler(this.grdStaff_Click); // // colSelected // this.colSelected.DataPropertyName = "Selected"; this.colSelected.Frozen = true; this.colSelected.HeaderText = "选择"; this.colSelected.Name = "colSelected"; this.colSelected.Width = 50; // // colCode // this.colCode.DataPropertyName = "Code"; this.colCode.HeaderText = "编号"; this.colCode.MaxInputLength = 20; this.colCode.Name = "colCode"; this.colCode.ReadOnly = true; // // colRealName // this.colRealName.DataPropertyName = "RealName"; dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.colRealName.DefaultCellStyle = dataGridViewCellStyle2; this.colRealName.FillWeight = 80F; this.colRealName.HeaderText = "姓名"; this.colRealName.MaxInputLength = 50; this.colRealName.Name = "colRealName"; this.colRealName.Width = 80; // // colGender // this.colGender.DataPropertyName = "Gender"; this.colGender.FillWeight = 40F; this.colGender.HeaderText = "性别"; this.colGender.Name = "colGender"; this.colGender.Width = 40; // // colMobile // this.colMobile.DataPropertyName = "Mobile"; this.colMobile.HeaderText = "手机"; this.colMobile.MaxInputLength = 20; this.colMobile.Name = "colMobile"; this.colMobile.ReadOnly = true; // // colOfficePhone // this.colOfficePhone.DataPropertyName = "OfficePhone"; this.colOfficePhone.HeaderText = "电话"; this.colOfficePhone.Name = "colOfficePhone"; // // colDescription // this.colDescription.DataPropertyName = "Description"; dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.colDescription.DefaultCellStyle = dataGridViewCellStyle3; this.colDescription.HeaderText = "描述"; this.colDescription.MaxInputLength = 200; this.colDescription.Name = "colDescription"; // // splOrganize // this.splOrganize.Location = new System.Drawing.Point(260, 0); this.splOrganize.Name = "splOrganize"; this.splOrganize.Size = new System.Drawing.Size(3, 458); this.splOrganize.TabIndex = 2; this.splOrganize.TabStop = false; // // tvOrganize // this.tvOrganize.AllowDrop = true; this.tvOrganize.ContextMenuStrip = this.cMnuStaff; this.tvOrganize.Dock = System.Windows.Forms.DockStyle.Left; this.tvOrganize.ImageIndex = 0; this.tvOrganize.ImageList = this.imageList; this.tvOrganize.Location = new System.Drawing.Point(0, 0); this.tvOrganize.Name = "tvOrganize"; this.tvOrganize.SelectedImageIndex = 1; this.tvOrganize.Size = new System.Drawing.Size(260, 458); this.tvOrganize.TabIndex = 0; this.tvOrganize.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.tvOrganize_ItemDrag); this.tvOrganize.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvOrganize_AfterSelect); this.tvOrganize.Click += new System.EventHandler(this.tvOrganize_Click); this.tvOrganize.DragDrop += new System.Windows.Forms.DragEventHandler(this.tvOrganize_DragDrop); this.tvOrganize.DragEnter += new System.Windows.Forms.DragEventHandler(this.tvOrganize_DragEnter); this.tvOrganize.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tvOrganize_MouseDown); // // cMnuStaff // this.cMnuStaff.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mItmStaffAdd, this.mItemRoleAdd, this.toolStripSeparator4, this.mItmAdd, this.mItmEdit, this.mItmMove, this.mItmDelete, this.toolStripSeparator2, this.mItmGender, this.mItmParty, this.mItmNationality, this.mItmTitle, this.mItmDuty, this.mItmEducation, this.mItmDegree, this.mItmWorkingProperty, this.toolStripSeparator3, this.mItemResetSortCode}); this.cMnuStaff.Name = "cMnuStaff"; this.cMnuStaff.Size = new System.Drawing.Size(158, 352); // // mItmStaffAdd // this.mItmStaffAdd.Enabled = false; this.mItmStaffAdd.Name = "mItmStaffAdd"; this.mItmStaffAdd.Size = new System.Drawing.Size(157, 22); this.mItmStaffAdd.Text = "添加员工..."; this.mItmStaffAdd.Click += new System.EventHandler(this.mitmStaffAdd_Click); // // mItemRoleAdd // this.mItemRoleAdd.Enabled = false; this.mItemRoleAdd.Name = "mItemRoleAdd"; this.mItemRoleAdd.Size = new System.Drawing.Size(157, 22); this.mItemRoleAdd.Text = "添加角色..."; this.mItemRoleAdd.Visible = false; this.mItemRoleAdd.Click += new System.EventHandler(this.mItemRoleAdd_Click); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(154, 6); // // mItmAdd // this.mItmAdd.Enabled = false; this.mItmAdd.Name = "mItmAdd"; this.mItmAdd.Size = new System.Drawing.Size(157, 22); this.mItmAdd.Text = "添加(&A)..."; this.mItmAdd.Click += new System.EventHandler(this.mitmAdd_Click); // // mItmEdit // this.mItmEdit.Enabled = false; this.mItmEdit.Name = "mItmEdit"; this.mItmEdit.Size = new System.Drawing.Size(157, 22); this.mItmEdit.Text = "编辑(&E)..."; this.mItmEdit.Click += new System.EventHandler(this.mitmEdit_Click); // // mItmMove // this.mItmMove.Enabled = false; this.mItmMove.Name = "mItmMove"; this.mItmMove.Size = new System.Drawing.Size(157, 22); this.mItmMove.Text = "移动(&M)..."; this.mItmMove.Click += new System.EventHandler(this.mitmMove_Click); // // mItmDelete // this.mItmDelete.Enabled = false; this.mItmDelete.Name = "mItmDelete"; this.mItmDelete.Size = new System.Drawing.Size(157, 22); this.mItmDelete.Text = "删除(&D)"; this.mItmDelete.Click += new System.EventHandler(this.mitmDelete_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(154, 6); // // mItmGender // this.mItmGender.Enabled = false; this.mItmGender.Name = "mItmGender"; this.mItmGender.Size = new System.Drawing.Size(157, 22); this.mItmGender.Text = "性别维护..."; this.mItmGender.Click += new System.EventHandler(this.mitm_Click); // // mItmParty // this.mItmParty.Enabled = false; this.mItmParty.Name = "mItmParty"; this.mItmParty.Size = new System.Drawing.Size(157, 22); this.mItmParty.Text = "政治面貌维护..."; this.mItmParty.Click += new System.EventHandler(this.mitm_Click); // // mItmNationality // this.mItmNationality.Enabled = false; this.mItmNationality.Name = "mItmNationality"; this.mItmNationality.Size = new System.Drawing.Size(157, 22); this.mItmNationality.Text = "民族维护..."; this.mItmNationality.Click += new System.EventHandler(this.mitm_Click); // // mItmTitle // this.mItmTitle.Enabled = false; this.mItmTitle.Name = "mItmTitle"; this.mItmTitle.Size = new System.Drawing.Size(157, 22); this.mItmTitle.Text = "职称维护..."; this.mItmTitle.Click += new System.EventHandler(this.mitm_Click); // // mItmDuty // this.mItmDuty.Enabled = false; this.mItmDuty.Name = "mItmDuty"; this.mItmDuty.Size = new System.Drawing.Size(157, 22); this.mItmDuty.Text = "职务维护..."; this.mItmDuty.Click += new System.EventHandler(this.mitm_Click); // // mItmEducation // this.mItmEducation.Enabled = false; this.mItmEducation.Name = "mItmEducation"; this.mItmEducation.Size = new System.Drawing.Size(157, 22); this.mItmEducation.Text = "学历维护..."; this.mItmEducation.Click += new System.EventHandler(this.mitm_Click); // // mItmDegree // this.mItmDegree.Enabled = false; this.mItmDegree.Name = "mItmDegree"; this.mItmDegree.Size = new System.Drawing.Size(157, 22); this.mItmDegree.Text = "学位维护..."; this.mItmDegree.Click += new System.EventHandler(this.mitm_Click); // // mItmWorkingProperty // this.mItmWorkingProperty.Enabled = false; this.mItmWorkingProperty.Name = "mItmWorkingProperty"; this.mItmWorkingProperty.Size = new System.Drawing.Size(157, 22); this.mItmWorkingProperty.Text = "用工性质维护..."; this.mItmWorkingProperty.Click += new System.EventHandler(this.mitm_Click); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(154, 6); // // mItemResetSortCode // this.mItemResetSortCode.Enabled = false; this.mItemResetSortCode.Name = "mItemResetSortCode"; this.mItemResetSortCode.Size = new System.Drawing.Size(157, 22); this.mItemResetSortCode.Text = "保存排序顺序"; this.mItemResetSortCode.Click += new System.EventHandler(this.mItemResetSortCode_Click); // // 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"); // // btnUserPermission // this.btnUserPermission.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnUserPermission.Enabled = false; this.btnUserPermission.Location = new System.Drawing.Point(716, 506); this.btnUserPermission.Name = "btnUserPermission"; this.btnUserPermission.Size = new System.Drawing.Size(88, 23); this.btnUserPermission.TabIndex = 10; this.btnUserPermission.Text = "权限(&P)..."; this.btnUserPermission.UseVisualStyleBackColor = true; this.btnUserPermission.Click += new System.EventHandler(this.btnUserPermission_Click); // // lblSearch // this.lblSearch.Location = new System.Drawing.Point(4, 14); this.lblSearch.Name = "lblSearch"; this.lblSearch.Size = new System.Drawing.Size(74, 12); this.lblSearch.TabIndex = 0; this.lblSearch.Text = "查询内容(&C):"; this.lblSearch.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // txtSearch // this.txtSearch.Location = new System.Drawing.Point(79, 10); this.txtSearch.MaxLength = 20; this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(168, 21); this.txtSearch.TabIndex = 1; this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged); // // btnSearch // this.btnSearch.Location = new System.Drawing.Point(255, 10); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(75, 23); this.btnSearch.TabIndex = 2; this.btnSearch.Text = "查询(&F)"; this.btnSearch.UseVisualStyleBackColor = true; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // 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(169, 506); 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(92, 24); this.ucTableSort.TabIndex = 5; // // chkNotIsUser // this.chkNotIsUser.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkNotIsUser.AutoSize = true; this.chkNotIsUser.Location = new System.Drawing.Point(609, 11); this.chkNotIsUser.Name = "chkNotIsUser"; this.chkNotIsUser.Size = new System.Drawing.Size(96, 16); this.chkNotIsUser.TabIndex = 3; this.chkNotIsUser.Text = "无用户帐号的"; this.chkNotIsUser.UseVisualStyleBackColor = true; this.chkNotIsUser.CheckedChanged += new System.EventHandler(this.chkNotIsUser_CheckedChanged); // // chkEnabled // this.chkEnabled.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkEnabled.AutoSize = true; this.chkEnabled.Checked = true; this.chkEnabled.CheckState = System.Windows.Forms.CheckState.Checked; this.chkEnabled.Location = new System.Drawing.Point(711, 11); this.chkEnabled.Name = "chkEnabled"; this.chkEnabled.Size = new System.Drawing.Size(60, 16); this.chkEnabled.TabIndex = 4; this.chkEnabled.Text = "有效的"; this.chkEnabled.UseVisualStyleBackColor = true; this.chkEnabled.CheckedChanged += new System.EventHandler(this.chkEnabled_CheckedChanged); // // btnInvertSelect // this.btnInvertSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnInvertSelect.Enabled = false; this.btnInvertSelect.Location = new System.Drawing.Point(88, 507); this.btnInvertSelect.Name = "btnInvertSelect"; this.btnInvertSelect.Size = new System.Drawing.Size(78, 23); this.btnInvertSelect.TabIndex = 23; 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.Enabled = false; this.btnSelectAll.Location = new System.Drawing.Point(7, 507); this.btnSelectAll.Name = "btnSelectAll"; this.btnSelectAll.Size = new System.Drawing.Size(78, 23); this.btnSelectAll.TabIndex = 22; this.btnSelectAll.Text = "全选"; this.btnSelectAll.UseVisualStyleBackColor = true; this.btnSelectAll.Click += new System.EventHandler(this.btnSelectAll_Click); // // picExport // this.picExport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.picExport.Cursor = System.Windows.Forms.Cursors.Hand; this.picExport.Image = ((System.Drawing.Image)(resources.GetObject("picExport.Image"))); this.picExport.Location = new System.Drawing.Point(912, 4); this.picExport.Name = "picExport"; this.picExport.Size = new System.Drawing.Size(30, 30); this.picExport.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.picExport.TabIndex = 27; this.picExport.TabStop = false; this.picExport.Click += new System.EventHandler(this.picExport_Click); // // picImport // this.picImport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.picImport.Cursor = System.Windows.Forms.Cursors.Hand; this.picImport.Image = ((System.Drawing.Image)(resources.GetObject("picImport.Image"))); this.picImport.Location = new System.Drawing.Point(944, 4); this.picImport.Name = "picImport"; this.picImport.Size = new System.Drawing.Size(30, 30); this.picImport.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.picImport.TabIndex = 26; this.picImport.TabStop = false; this.picImport.Click += new System.EventHandler(this.picImport_Click); // // picSetting // this.picSetting.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.picSetting.Cursor = System.Windows.Forms.Cursors.Hand; this.picSetting.Image = ((System.Drawing.Image)(resources.GetObject("picSetting.Image"))); this.picSetting.Location = new System.Drawing.Point(976, 4); this.picSetting.Name = "picSetting"; this.picSetting.Size = new System.Drawing.Size(30, 30); this.picSetting.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.picSetting.TabIndex = 25; this.picSetting.TabStop = false; this.picSetting.Click += new System.EventHandler(this.picSetting_Click); // // picBug // this.picBug.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.picBug.Cursor = System.Windows.Forms.Cursors.Hand; this.picBug.Image = ((System.Drawing.Image)(resources.GetObject("picBug.Image"))); this.picBug.Location = new System.Drawing.Point(1008, 4); this.picBug.Name = "picBug"; this.picBug.Size = new System.Drawing.Size(30, 30); this.picBug.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.picBug.TabIndex = 24; this.picBug.TabStop = false; this.picBug.Click += new System.EventHandler(this.picBug_Click); // // chkNotDepartment // this.chkNotDepartment.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkNotDepartment.AutoSize = true; this.chkNotDepartment.Location = new System.Drawing.Point(507, 11); this.chkNotDepartment.Name = "chkNotDepartment"; this.chkNotDepartment.Size = new System.Drawing.Size(96, 16); this.chkNotDepartment.TabIndex = 28; this.chkNotDepartment.Text = "部门未设置的"; this.chkNotDepartment.UseVisualStyleBackColor = true; this.chkNotDepartment.CheckedChanged += new System.EventHandler(this.chkNotDepartment_CheckedChanged); // // btnOrganize // this.btnOrganize.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnOrganize.Enabled = false; this.btnOrganize.Location = new System.Drawing.Point(779, 9); this.btnOrganize.Name = "btnOrganize"; this.btnOrganize.Size = new System.Drawing.Size(124, 23); this.btnOrganize.TabIndex = 29; this.btnOrganize.Text = "组织机构管理..."; this.btnOrganize.UseVisualStyleBackColor = true; this.btnOrganize.Click += new System.EventHandler(this.btnOrganize_Click); // // FrmStaffAdmin // this.AllowDrop = true; 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(1046, 536); this.Controls.Add(this.btnOrganize); this.Controls.Add(this.chkNotDepartment); this.Controls.Add(this.picExport); this.Controls.Add(this.picImport); this.Controls.Add(this.picSetting); this.Controls.Add(this.picBug); this.Controls.Add(this.btnInvertSelect); this.Controls.Add(this.btnSelectAll); this.Controls.Add(this.txtSearch); this.Controls.Add(this.chkEnabled); this.Controls.Add(this.ucTableSort); this.Controls.Add(this.lblSearch); this.Controls.Add(this.chkNotIsUser); this.Controls.Add(this.btnSearch); this.Controls.Add(this.btnBatchSave); this.Controls.Add(this.btnClose); this.Controls.Add(this.pnlStaff); this.Controls.Add(this.btnSetPassword); this.Controls.Add(this.btnBatchDelete); this.Controls.Add(this.btnUserPermission); this.Controls.Add(this.btnMove); this.Controls.Add(this.btnEdit); this.Controls.Add(this.btnAdd); this.Cursor = System.Windows.Forms.Cursors.Default; this.Name = "FrmStaffAdmin"; this.Padding = new System.Windows.Forms.Padding(8); this.Text = "员工管理"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmStaffAdmin_FormClosing); this.pnlStaff.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grdStaff)).EndInit(); this.cMnuStaff.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.picExport)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.picImport)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.picSetting)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.picBug)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用主键编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); 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(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmPermissionItemAdmin)); this.btnMove = new System.Windows.Forms.Button(); this.pnlPermission = new System.Windows.Forms.Panel(); this.grdPermission = new System.Windows.Forms.DataGridView(); this.colSelected = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colFullName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colIsScope = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colDescription = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.splPermission = new System.Windows.Forms.Splitter(); this.tvPermission = new System.Windows.Forms.TreeView(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.btnBatchDelete = new System.Windows.Forms.Button(); this.btnEdit = new System.Windows.Forms.Button(); this.btnClose = new System.Windows.Forms.Button(); this.btnAdd = new System.Windows.Forms.Button(); this.btnBatchSave = new System.Windows.Forms.Button(); this.cMnuPermission = new System.Windows.Forms.ContextMenuStrip(this.components); this.mItmAdd = new System.Windows.Forms.ToolStripMenuItem(); this.mItmEdit = new System.Windows.Forms.ToolStripMenuItem(); this.mItmDelete = new System.Windows.Forms.ToolStripMenuItem(); this.mItmMove = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.mItmRootAdd = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.mItmPermissionItems = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.mItmModulePermission = new System.Windows.Forms.ToolStripMenuItem(); this.mItmSetSortCode = new System.Windows.Forms.ToolStripMenuItem(); this.ucTableSort = new DotNet.WinForm.Common.WinControls.UCTableSort(); this.btnModulePermission = new System.Windows.Forms.Button(); this.btnExport = new System.Windows.Forms.Button(); this.btnUserPermissionItem = new System.Windows.Forms.Button(); this.btnRolePermissionItem = new System.Windows.Forms.Button(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.lblContents = new System.Windows.Forms.Label(); this.txtSearch = new System.Windows.Forms.TextBox(); this.btnInvertSelect = new System.Windows.Forms.Button(); this.btnSelectAll = new System.Windows.Forms.Button(); this.cmbSystem = new System.Windows.Forms.ComboBox(); this.lblSystem = new System.Windows.Forms.Label(); this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel(); this.pnlPermission.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdPermission)).BeginInit(); this.cMnuPermission.SuspendLayout(); this.flowLayoutPanel1.SuspendLayout(); this.flowLayoutPanel2.SuspendLayout(); this.SuspendLayout(); // // btnMove // this.btnMove.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnMove.Enabled = false; this.btnMove.Location = new System.Drawing.Point(511, 518); this.btnMove.Name = "btnMove"; this.btnMove.Size = new System.Drawing.Size(81, 23); this.btnMove.TabIndex = 2; this.btnMove.Text = "移动(&M)..."; this.btnMove.UseVisualStyleBackColor = true; this.btnMove.Click += new System.EventHandler(this.btnMove_Click); // // pnlPermission // this.pnlPermission.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.pnlPermission.Controls.Add(this.grdPermission); this.pnlPermission.Controls.Add(this.splPermission); this.pnlPermission.Controls.Add(this.tvPermission); this.pnlPermission.Location = new System.Drawing.Point(8, 35); this.pnlPermission.Name = "pnlPermission"; this.pnlPermission.Size = new System.Drawing.Size(934, 476); this.pnlPermission.TabIndex = 1; // // grdPermission // this.grdPermission.AllowUserToAddRows = false; this.grdPermission.AllowUserToDeleteRows = false; this.grdPermission.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; dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.grdPermission.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.grdPermission.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.grdPermission.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colSelected, this.colCode, this.colFullName, this.colIsScope, this.colDescription}); this.grdPermission.Dock = System.Windows.Forms.DockStyle.Fill; this.grdPermission.Location = new System.Drawing.Point(203, 0); this.grdPermission.MultiSelect = false; this.grdPermission.Name = "grdPermission"; this.grdPermission.RowTemplate.Height = 23; this.grdPermission.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.grdPermission.Size = new System.Drawing.Size(731, 476); this.grdPermission.TabIndex = 2; this.grdPermission.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.grdPermission_CellDoubleClick); this.grdPermission.Sorted += new System.EventHandler(this.grdPermission_Sorted); this.grdPermission.Click += new System.EventHandler(this.grdPermission_Click); // // colSelected // this.colSelected.DataPropertyName = "Selected"; this.colSelected.Frozen = true; this.colSelected.HeaderText = "选择"; this.colSelected.Name = "colSelected"; this.colSelected.Width = 50; // // colCode // this.colCode.DataPropertyName = "Code"; this.colCode.FillWeight = 200F; this.colCode.HeaderText = "编号"; this.colCode.MaxInputLength = 20; this.colCode.Name = "colCode"; this.colCode.ReadOnly = true; this.colCode.Width = 200; // // colFullName // this.colFullName.DataPropertyName = "FullName"; dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.colFullName.DefaultCellStyle = dataGridViewCellStyle2; this.colFullName.HeaderText = "名称"; this.colFullName.MaxInputLength = 50; this.colFullName.Name = "colFullName"; this.colFullName.Width = 180; // // colIsScope // this.colIsScope.DataPropertyName = "IsScope"; dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); dataGridViewCellStyle3.NullValue = false; this.colIsScope.DefaultCellStyle = dataGridViewCellStyle3; this.colIsScope.FalseValue = "0"; this.colIsScope.HeaderText = "数据权限"; this.colIsScope.Name = "colIsScope"; this.colIsScope.TrueValue = "1"; this.colIsScope.Width = 80; // // colDescription // this.colDescription.DataPropertyName = "Description"; dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.colDescription.DefaultCellStyle = dataGridViewCellStyle4; this.colDescription.FillWeight = 140F; this.colDescription.HeaderText = "描述"; this.colDescription.MaxInputLength = 200; this.colDescription.Name = "colDescription"; this.colDescription.Width = 140; // // splPermission // this.splPermission.Location = new System.Drawing.Point(200, 0); this.splPermission.Name = "splPermission"; this.splPermission.Size = new System.Drawing.Size(3, 476); this.splPermission.TabIndex = 8; this.splPermission.TabStop = false; // // tvPermission // this.tvPermission.AllowDrop = true; this.tvPermission.Dock = System.Windows.Forms.DockStyle.Left; this.tvPermission.HotTracking = true; this.tvPermission.ImageIndex = 0; this.tvPermission.ImageList = this.imageList; this.tvPermission.Location = new System.Drawing.Point(0, 0); this.tvPermission.Name = "tvPermission"; this.tvPermission.SelectedImageIndex = 1; this.tvPermission.Size = new System.Drawing.Size(200, 476); this.tvPermission.TabIndex = 0; this.tvPermission.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.tvPermission_ItemDrag); this.tvPermission.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvPermission_AfterSelect); this.tvPermission.Click += new System.EventHandler(this.tvPermission_Click); this.tvPermission.DragDrop += new System.Windows.Forms.DragEventHandler(this.tvPermission_DragDrop); this.tvPermission.DragEnter += new System.Windows.Forms.DragEventHandler(this.tvPermission_DragEnter); 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"); // // btnBatchDelete // this.btnBatchDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnBatchDelete.Enabled = false; this.btnBatchDelete.Location = new System.Drawing.Point(595, 518); this.btnBatchDelete.Name = "btnBatchDelete"; this.btnBatchDelete.Size = new System.Drawing.Size(81, 23); this.btnBatchDelete.TabIndex = 4; this.btnBatchDelete.Text = "删除(&D)"; this.btnBatchDelete.UseVisualStyleBackColor = true; this.btnBatchDelete.Click += new System.EventHandler(this.btnBatchDelete_Click); // // btnEdit // this.btnEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnEdit.Enabled = false; this.btnEdit.Location = new System.Drawing.Point(427, 518); this.btnEdit.Name = "btnEdit"; this.btnEdit.Size = new System.Drawing.Size(81, 23); this.btnEdit.TabIndex = 1; this.btnEdit.Text = "编辑(&E)..."; this.btnEdit.UseVisualStyleBackColor = true; this.btnEdit.Click += new System.EventHandler(this.btnEdit_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(871, 518); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(75, 23); this.btnClose.TabIndex = 7; this.btnClose.Text = "关闭"; this.btnClose.UseVisualStyleBackColor = true; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // btnAdd // this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnAdd.Enabled = false; this.btnAdd.Location = new System.Drawing.Point(343, 518); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(81, 23); this.btnAdd.TabIndex = 0; this.btnAdd.Text = "添加(&A)..."; this.btnAdd.UseVisualStyleBackColor = true; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // btnBatchSave // this.btnBatchSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnBatchSave.Enabled = false; this.btnBatchSave.Location = new System.Drawing.Point(787, 518); this.btnBatchSave.Name = "btnBatchSave"; this.btnBatchSave.Size = new System.Drawing.Size(81, 23); this.btnBatchSave.TabIndex = 6; this.btnBatchSave.Text = "保存(&S)"; this.btnBatchSave.UseVisualStyleBackColor = true; this.btnBatchSave.Click += new System.EventHandler(this.btnBatchSave_Click); // // cMnuPermission // this.cMnuPermission.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mItmAdd, this.mItmEdit, this.mItmDelete, this.mItmMove, this.toolStripSeparator3, this.mItmRootAdd, this.toolStripSeparator1, this.mItmPermissionItems, this.toolStripSeparator2, this.mItmModulePermission, this.mItmSetSortCode}); this.cMnuPermission.Name = "cMnuModule"; this.cMnuPermission.Size = new System.Drawing.Size(167, 198); // // mItmAdd // this.mItmAdd.Enabled = false; this.mItmAdd.Name = "mItmAdd"; this.mItmAdd.Size = new System.Drawing.Size(166, 22); this.mItmAdd.Text = "添加(&A)..."; this.mItmAdd.Click += new System.EventHandler(this.mItmAdd_Click); // // mItmEdit // this.mItmEdit.Enabled = false; this.mItmEdit.Name = "mItmEdit"; this.mItmEdit.Size = new System.Drawing.Size(166, 22); this.mItmEdit.Text = "编辑(&E)..."; this.mItmEdit.Click += new System.EventHandler(this.mItmEdit_Click); // // mItmDelete // this.mItmDelete.Enabled = false; this.mItmDelete.Name = "mItmDelete"; this.mItmDelete.Size = new System.Drawing.Size(166, 22); this.mItmDelete.Text = "删除(&D)"; this.mItmDelete.Click += new System.EventHandler(this.mItmDelete_Click); // // mItmMove // this.mItmMove.Enabled = false; this.mItmMove.Name = "mItmMove"; this.mItmMove.Size = new System.Drawing.Size(166, 22); this.mItmMove.Text = "移动(&M)..."; this.mItmMove.Click += new System.EventHandler(this.mItmMove_Click); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(163, 6); // // mItmRootAdd // this.mItmRootAdd.Enabled = false; this.mItmRootAdd.Name = "mItmRootAdd"; this.mItmRootAdd.Size = new System.Drawing.Size(166, 22); this.mItmRootAdd.Text = "添加根权限(&R)..."; this.mItmRootAdd.Click += new System.EventHandler(this.mItmRootAdd_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(163, 6); // // mItmPermissionItems // this.mItmPermissionItems.Enabled = false; this.mItmPermissionItems.Name = "mItmPermissionItems"; this.mItmPermissionItems.Size = new System.Drawing.Size(166, 22); this.mItmPermissionItems.Text = "操作权限分配..."; this.mItmPermissionItems.Click += new System.EventHandler(this.mItmPermissionItemsClick); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(163, 6); // // mItmModulePermission // this.mItmModulePermission.Enabled = false; this.mItmModulePermission.Name = "mItmModulePermission"; this.mItmModulePermission.Size = new System.Drawing.Size(166, 22); this.mItmModulePermission.Text = "关联菜单..."; this.mItmModulePermission.Click += new System.EventHandler(this.mItmModulePermission_Click); // // mItmSetSortCode // this.mItmSetSortCode.Enabled = false; this.mItmSetSortCode.Name = "mItmSetSortCode"; this.mItmSetSortCode.Size = new System.Drawing.Size(166, 22); this.mItmSetSortCode.Text = "保存排序顺序"; this.mItmSetSortCode.Click += new System.EventHandler(this.mItmSetSortCode_Click); // // 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(169, 518); 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 = 8; // // btnModulePermission // this.btnModulePermission.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnModulePermission.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnModulePermission.Enabled = false; this.btnModulePermission.Location = new System.Drawing.Point(679, 518); this.btnModulePermission.Name = "btnModulePermission"; this.btnModulePermission.Size = new System.Drawing.Size(105, 23); this.btnModulePermission.TabIndex = 5; this.btnModulePermission.Text = "关联菜单..."; this.btnModulePermission.UseVisualStyleBackColor = true; this.btnModulePermission.Click += new System.EventHandler(this.btnModulePermission_Click); // // 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(316, 3); this.btnExport.Name = "btnExport"; this.btnExport.Size = new System.Drawing.Size(110, 23); this.btnExport.TabIndex = 11; this.btnExport.Text = "导出Excel..."; this.btnExport.UseVisualStyleBackColor = true; this.btnExport.Click += new System.EventHandler(this.btnExportAll_Click); // // btnUserPermissionItem // this.btnUserPermissionItem.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnUserPermissionItem.Enabled = false; this.btnUserPermissionItem.Location = new System.Drawing.Point(200, 3); this.btnUserPermissionItem.Name = "btnUserPermissionItem"; this.btnUserPermissionItem.Size = new System.Drawing.Size(110, 23); this.btnUserPermissionItem.TabIndex = 9; this.btnUserPermissionItem.Text = "用户操作权限..."; this.btnUserPermissionItem.UseVisualStyleBackColor = true; this.btnUserPermissionItem.Click += new System.EventHandler(this.btnUserPermissionItem_Click); // // btnRolePermissionItem // this.btnRolePermissionItem.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnRolePermissionItem.Enabled = false; this.btnRolePermissionItem.Location = new System.Drawing.Point(84, 3); this.btnRolePermissionItem.Name = "btnRolePermissionItem"; this.btnRolePermissionItem.Size = new System.Drawing.Size(110, 23); this.btnRolePermissionItem.TabIndex = 10; this.btnRolePermissionItem.Text = "角色操作权限..."; this.btnRolePermissionItem.UseVisualStyleBackColor = true; this.btnRolePermissionItem.Click += new System.EventHandler(this.btnRolePermissionItem_Click); // // flowLayoutPanel1 // this.flowLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.flowLayoutPanel1.Controls.Add(this.btnExport); this.flowLayoutPanel1.Controls.Add(this.btnUserPermissionItem); this.flowLayoutPanel1.Controls.Add(this.btnRolePermissionItem); this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; this.flowLayoutPanel1.Location = new System.Drawing.Point(516, 3); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new System.Drawing.Size(429, 28); this.flowLayoutPanel1.TabIndex = 12; // // lblContents // this.lblContents.Anchor = System.Windows.Forms.AnchorStyles.Left; this.lblContents.AutoSize = true; this.lblContents.Location = new System.Drawing.Point(239, 7); this.lblContents.Name = "lblContents"; this.lblContents.Size = new System.Drawing.Size(83, 12); this.lblContents.TabIndex = 13; this.lblContents.Text = "查询内容(&C):"; this.lblContents.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // txtSearch // this.txtSearch.Location = new System.Drawing.Point(328, 3); this.txtSearch.MaxLength = 20; this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(168, 21); this.txtSearch.TabIndex = 14; this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged); // // btnInvertSelect // this.btnInvertSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnInvertSelect.Enabled = false; this.btnInvertSelect.Location = new System.Drawing.Point(88, 519); this.btnInvertSelect.Name = "btnInvertSelect"; this.btnInvertSelect.Size = new System.Drawing.Size(78, 23); this.btnInvertSelect.TabIndex = 19; 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.Enabled = false; this.btnSelectAll.Location = new System.Drawing.Point(7, 519); this.btnSelectAll.Name = "btnSelectAll"; this.btnSelectAll.Size = new System.Drawing.Size(78, 23); this.btnSelectAll.TabIndex = 18; this.btnSelectAll.Text = "全选"; this.btnSelectAll.UseVisualStyleBackColor = true; this.btnSelectAll.Click += new System.EventHandler(this.btnSelectAll_Click); // // cmbSystem // this.cmbSystem.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbSystem.Location = new System.Drawing.Point(73, 3); this.cmbSystem.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.cmbSystem.Name = "cmbSystem"; this.cmbSystem.Size = new System.Drawing.Size(161, 20); this.cmbSystem.TabIndex = 21; this.cmbSystem.SelectedIndexChanged += new System.EventHandler(this.cmbSystem_SelectedIndexChanged); // // lblSystem // this.lblSystem.Anchor = System.Windows.Forms.AnchorStyles.Left; this.lblSystem.AutoSize = true; this.lblSystem.Location = new System.Drawing.Point(3, 7); this.lblSystem.Name = "lblSystem"; this.lblSystem.Size = new System.Drawing.Size(65, 12); this.lblSystem.TabIndex = 20; this.lblSystem.Text = "业务系统:"; this.lblSystem.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // flowLayoutPanel2 // this.flowLayoutPanel2.Controls.Add(this.lblSystem); this.flowLayoutPanel2.Controls.Add(this.cmbSystem); this.flowLayoutPanel2.Controls.Add(this.lblContents); this.flowLayoutPanel2.Controls.Add(this.txtSearch); this.flowLayoutPanel2.Location = new System.Drawing.Point(8, 4); this.flowLayoutPanel2.Name = "flowLayoutPanel2"; this.flowLayoutPanel2.Size = new System.Drawing.Size(522, 27); this.flowLayoutPanel2.TabIndex = 9; // // FrmPermissionItemAdmin // 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(950, 545); this.Controls.Add(this.flowLayoutPanel2); this.Controls.Add(this.btnInvertSelect); this.Controls.Add(this.btnSelectAll); this.Controls.Add(this.flowLayoutPanel1); this.Controls.Add(this.btnModulePermission); this.Controls.Add(this.btnBatchSave); this.Controls.Add(this.pnlPermission); this.Controls.Add(this.ucTableSort); this.Controls.Add(this.btnClose); this.Controls.Add(this.btnBatchDelete); this.Controls.Add(this.btnAdd); this.Controls.Add(this.btnMove); this.Controls.Add(this.btnEdit); this.Cursor = System.Windows.Forms.Cursors.Default; this.Name = "FrmPermissionItemAdmin"; this.Padding = new System.Windows.Forms.Padding(8); this.Text = "操作权限项定义"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmPermissionAdmin_FormClosing); this.pnlPermission.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grdPermission)).EndInit(); this.cMnuPermission.ResumeLayout(false); this.flowLayoutPanel1.ResumeLayout(false); this.flowLayoutPanel2.ResumeLayout(false); this.flowLayoutPanel2.PerformLayout(); this.ResumeLayout(false); }
/// <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); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用主键编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmOrganizeRoleAdmin)); this.btnMove = new System.Windows.Forms.Button(); this.btnBatchDelete = new System.Windows.Forms.Button(); this.btnEdit = new System.Windows.Forms.Button(); this.btnClose = new System.Windows.Forms.Button(); this.btnAdd = new System.Windows.Forms.Button(); this.pnlRole = new System.Windows.Forms.Panel(); this.grdRole = new System.Windows.Forms.DataGridView(); this.colSelected = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colRealName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colEnabled = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colDescription = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.splRole = new System.Windows.Forms.Splitter(); this.tvOrganize = new System.Windows.Forms.TreeView(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.btnBatchSave = new System.Windows.Forms.Button(); this.cMnuRole = new System.Windows.Forms.ContextMenuStrip(this.components); this.mItmAdd = new System.Windows.Forms.ToolStripMenuItem(); this.mItmEdit = new System.Windows.Forms.ToolStripMenuItem(); this.mItmMove = new System.Windows.Forms.ToolStripMenuItem(); this.mItmDelete = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.mItmAddStaff = new System.Windows.Forms.ToolStripMenuItem(); this.mItmAddOrganize = new System.Windows.Forms.ToolStripMenuItem(); this.btnRoleUser = new System.Windows.Forms.Button(); this.btnRolePermission = new System.Windows.Forms.Button(); this.lblSearch = new System.Windows.Forms.Label(); this.txtSearch = new System.Windows.Forms.TextBox(); this.btnSearch = new System.Windows.Forms.Button(); this.ucTableSort = new DotNet.WinForm.Common.WinControls.UCTableSort(); this.btnExport = new System.Windows.Forms.Button(); this.btnInvertSelect = new System.Windows.Forms.Button(); this.btnSelectAll = new System.Windows.Forms.Button(); this.pnlRole.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdRole)).BeginInit(); this.cMnuRole.SuspendLayout(); this.SuspendLayout(); // // btnMove // this.btnMove.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnMove.Location = new System.Drawing.Point(505, 468); this.btnMove.Name = "btnMove"; this.btnMove.Size = new System.Drawing.Size(75, 23); this.btnMove.TabIndex = 6; this.btnMove.Text = "移动(&M)..."; this.btnMove.UseVisualStyleBackColor = true; this.btnMove.Click += new System.EventHandler(this.btnMove_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(583, 468); this.btnBatchDelete.Name = "btnBatchDelete"; this.btnBatchDelete.Size = new System.Drawing.Size(75, 23); this.btnBatchDelete.TabIndex = 7; this.btnBatchDelete.Text = "删除(&D)"; this.btnBatchDelete.UseVisualStyleBackColor = true; this.btnBatchDelete.Click += new System.EventHandler(this.btnBatchDelete_Click); // // btnEdit // this.btnEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnEdit.Location = new System.Drawing.Point(427, 468); this.btnEdit.Name = "btnEdit"; this.btnEdit.Size = new System.Drawing.Size(75, 23); this.btnEdit.TabIndex = 5; this.btnEdit.Text = "编辑(&E)..."; this.btnEdit.UseVisualStyleBackColor = true; this.btnEdit.Click += new System.EventHandler(this.btnEdit_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(895, 468); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(75, 23); this.btnClose.TabIndex = 11; this.btnClose.Text = "关闭"; this.btnClose.UseVisualStyleBackColor = true; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // btnAdd // this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnAdd.Location = new System.Drawing.Point(349, 468); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(75, 23); this.btnAdd.TabIndex = 4; this.btnAdd.Text = "添加(&A)..."; this.btnAdd.UseVisualStyleBackColor = true; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // pnlRole // this.pnlRole.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.pnlRole.Controls.Add(this.grdRole); this.pnlRole.Controls.Add(this.splRole); this.pnlRole.Controls.Add(this.tvOrganize); this.pnlRole.Location = new System.Drawing.Point(8, 43); this.pnlRole.Name = "pnlRole"; this.pnlRole.Size = new System.Drawing.Size(962, 419); this.pnlRole.TabIndex = 1; // // grdRole // this.grdRole.AllowUserToAddRows = false; 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.colSelected, this.colRealName, this.colEnabled, this.colDescription}); this.grdRole.Dock = System.Windows.Forms.DockStyle.Fill; this.grdRole.Location = new System.Drawing.Point(263, 0); 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(699, 419); this.grdRole.TabIndex = 2; this.grdRole.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.grdRole_CellDoubleClick); this.grdRole.Sorted += new System.EventHandler(this.grdRole_Sorted); this.grdRole.UserDeletingRow += new System.Windows.Forms.DataGridViewRowCancelEventHandler(this.grdRole_UserDeletingRow); this.grdRole.Click += new System.EventHandler(this.grdRole_Click); // // 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 = 225; // // colEnabled // this.colEnabled.DataPropertyName = "Enabled"; this.colEnabled.HeaderText = "有效"; this.colEnabled.Name = "colEnabled"; this.colEnabled.ReadOnly = true; this.colEnabled.Width = 80; // // colDescription // this.colDescription.DataPropertyName = "Description"; dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.colDescription.DefaultCellStyle = dataGridViewCellStyle2; this.colDescription.HeaderText = "描述"; this.colDescription.MaxInputLength = 200; this.colDescription.Name = "colDescription"; this.colDescription.Width = 200; // // splRole // this.splRole.Location = new System.Drawing.Point(260, 0); this.splRole.Name = "splRole"; this.splRole.Size = new System.Drawing.Size(3, 419); this.splRole.TabIndex = 2; this.splRole.TabStop = false; // // tvOrganize // this.tvOrganize.AllowDrop = true; this.tvOrganize.Dock = System.Windows.Forms.DockStyle.Left; this.tvOrganize.HotTracking = true; this.tvOrganize.ImageIndex = 0; this.tvOrganize.ImageList = this.imageList; this.tvOrganize.Location = new System.Drawing.Point(0, 0); this.tvOrganize.Name = "tvOrganize"; this.tvOrganize.SelectedImageIndex = 1; this.tvOrganize.Size = new System.Drawing.Size(260, 419); this.tvOrganize.TabIndex = 1; this.tvOrganize.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.tvOrganize_ItemDrag); this.tvOrganize.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvOrganize_AfterSelect); this.tvOrganize.Click += new System.EventHandler(this.tvOrganize_Click); this.tvOrganize.DragDrop += new System.Windows.Forms.DragEventHandler(this.tvOrganize_DragDrop); this.tvOrganize.DragEnter += new System.Windows.Forms.DragEventHandler(this.tvOrganize_DragEnter); 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"); // // 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(817, 468); this.btnBatchSave.Name = "btnBatchSave"; this.btnBatchSave.Size = new System.Drawing.Size(75, 23); this.btnBatchSave.TabIndex = 10; this.btnBatchSave.Text = "保存(&S)"; this.btnBatchSave.UseVisualStyleBackColor = true; this.btnBatchSave.Click += new System.EventHandler(this.btnBatchSave_Click); // // cMnuRole // this.cMnuRole.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mItmAdd, this.mItmEdit, this.mItmMove, this.mItmDelete, this.toolStripSeparator1, this.mItmAddStaff, this.mItmAddOrganize}); this.cMnuRole.Name = "cMnuModule"; this.cMnuRole.Size = new System.Drawing.Size(164, 142); // // mItmAdd // this.mItmAdd.Name = "mItmAdd"; this.mItmAdd.Size = new System.Drawing.Size(163, 22); this.mItmAdd.Text = "添加岗位(&A)..."; this.mItmAdd.Click += new System.EventHandler(this.mItmAdd_Click); // // mItmEdit // this.mItmEdit.Name = "mItmEdit"; this.mItmEdit.Size = new System.Drawing.Size(163, 22); this.mItmEdit.Text = "编辑部门(&E)..."; this.mItmEdit.Click += new System.EventHandler(this.mItmEdit_Click); // // mItmMove // this.mItmMove.Name = "mItmMove"; this.mItmMove.Size = new System.Drawing.Size(163, 22); this.mItmMove.Text = "移动部门(&M)..."; this.mItmMove.Click += new System.EventHandler(this.mItmMove_Click); // // mItmDelete // this.mItmDelete.Name = "mItmDelete"; this.mItmDelete.Size = new System.Drawing.Size(163, 22); this.mItmDelete.Text = "删除部门(&D)"; this.mItmDelete.Click += new System.EventHandler(this.mItmDelete_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(160, 6); // // mItmAddStaff // this.mItmAddStaff.Name = "mItmAddStaff"; this.mItmAddStaff.Size = new System.Drawing.Size(163, 22); this.mItmAddStaff.Text = "添加员工(&S)..."; this.mItmAddStaff.Click += new System.EventHandler(this.mItmAddStaff_Click); // // mItmAddOrganize // this.mItmAddOrganize.Name = "mItmAddOrganize"; this.mItmAddOrganize.Size = new System.Drawing.Size(163, 22); this.mItmAddOrganize.Text = "添加子部门(&O)..."; this.mItmAddOrganize.Click += new System.EventHandler(this.mItmAddOrganize_Click); // // btnRoleUser // this.btnRoleUser.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnRoleUser.Location = new System.Drawing.Point(661, 468); this.btnRoleUser.Name = "btnRoleUser"; this.btnRoleUser.Size = new System.Drawing.Size(75, 23); this.btnRoleUser.TabIndex = 8; this.btnRoleUser.Text = "用户(&U)..."; this.btnRoleUser.UseVisualStyleBackColor = true; this.btnRoleUser.Click += new System.EventHandler(this.btnRoleUser_Click); // // btnRolePermission // this.btnRolePermission.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnRolePermission.Location = new System.Drawing.Point(739, 468); this.btnRolePermission.Name = "btnRolePermission"; this.btnRolePermission.Size = new System.Drawing.Size(75, 23); this.btnRolePermission.TabIndex = 9; this.btnRolePermission.Text = "权限(&O)..."; this.btnRolePermission.UseVisualStyleBackColor = true; this.btnRolePermission.Click += new System.EventHandler(this.btnRolePermission_Click); // // lblSearch // this.lblSearch.Location = new System.Drawing.Point(11, 14); this.lblSearch.Name = "lblSearch"; this.lblSearch.Size = new System.Drawing.Size(124, 12); this.lblSearch.TabIndex = 0; this.lblSearch.Text = "查询内容(&C):"; this.lblSearch.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // txtSearch // this.txtSearch.Location = new System.Drawing.Point(138, 11); this.txtSearch.MaxLength = 20; this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(203, 21); this.txtSearch.TabIndex = 1; this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged); // // btnSearch // this.btnSearch.Location = new System.Drawing.Point(346, 11); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(75, 23); this.btnSearch.TabIndex = 2; this.btnSearch.Text = "查询(&F)"; this.btnSearch.UseVisualStyleBackColor = true; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // 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(169, 468); 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 = 3; // // 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(857, 9); this.btnExport.Name = "btnExport"; this.btnExport.Size = new System.Drawing.Size(111, 23); this.btnExport.TabIndex = 12; this.btnExport.Text = "导出E&xcel..."; this.btnExport.UseVisualStyleBackColor = true; this.btnExport.Click += new System.EventHandler(this.btnExport_Click); // // btnInvertSelect // this.btnInvertSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnInvertSelect.Enabled = false; this.btnInvertSelect.Location = new System.Drawing.Point(88, 469); this.btnInvertSelect.Name = "btnInvertSelect"; this.btnInvertSelect.Size = new System.Drawing.Size(78, 23); this.btnInvertSelect.TabIndex = 19; 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.Enabled = false; this.btnSelectAll.Location = new System.Drawing.Point(7, 469); this.btnSelectAll.Name = "btnSelectAll"; this.btnSelectAll.Size = new System.Drawing.Size(78, 23); this.btnSelectAll.TabIndex = 18; this.btnSelectAll.Text = "全选"; this.btnSelectAll.UseVisualStyleBackColor = true; this.btnSelectAll.Click += new System.EventHandler(this.btnSelectAll_Click); // // FrmOrganizeRoleAdmin // 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(978, 497); this.Controls.Add(this.btnInvertSelect); this.Controls.Add(this.btnSelectAll); this.Controls.Add(this.txtSearch); this.Controls.Add(this.btnExport); this.Controls.Add(this.lblSearch); this.Controls.Add(this.ucTableSort); this.Controls.Add(this.pnlRole); this.Controls.Add(this.btnSearch); this.Controls.Add(this.btnBatchSave); this.Controls.Add(this.btnClose); this.Controls.Add(this.btnRoleUser); this.Controls.Add(this.btnRolePermission); this.Controls.Add(this.btnAdd); this.Controls.Add(this.btnBatchDelete); this.Controls.Add(this.btnEdit); this.Controls.Add(this.btnMove); this.Cursor = System.Windows.Forms.Cursors.Default; this.DoubleBuffered = true; this.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.Name = "FrmOrganizeRoleAdmin"; this.Padding = new System.Windows.Forms.Padding(8); this.Text = "岗位管理"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmOrganizeRoleAdmin_FormClosing); this.pnlRole.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grdRole)).EndInit(); this.cMnuRole.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }