609 lines
36 KiB
C#
609 lines
36 KiB
C#
namespace DeviceRepairAndOptimization.Pages.Users
|
|
{
|
|
partial class frmRoleEdit
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmRoleEdit));
|
|
DevExpress.XtraGrid.GridFormatRule gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
|
|
DevExpress.XtraEditors.FormatConditionRuleValue formatConditionRuleValue1 = new DevExpress.XtraEditors.FormatConditionRuleValue();
|
|
DevExpress.XtraGrid.GridFormatRule gridFormatRule2 = new DevExpress.XtraGrid.GridFormatRule();
|
|
DevExpress.XtraEditors.FormatConditionRuleValue formatConditionRuleValue2 = new DevExpress.XtraEditors.FormatConditionRuleValue();
|
|
DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
|
|
DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule2 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
|
|
this.colStatus = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
|
|
this.tvAuths = new DevExpress.XtraTreeList.TreeList();
|
|
this.tColumnRoleCode = new DevExpress.XtraTreeList.Columns.TreeListColumn();
|
|
this.treeListColumn5 = new DevExpress.XtraTreeList.Columns.TreeListColumn();
|
|
this.toolbarFormManager1 = new DevExpress.XtraBars.ToolbarForm.ToolbarFormManager(this.components);
|
|
this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
|
|
this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
|
|
this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
|
|
this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
|
|
this.bBtnSave = new DevExpress.XtraBars.BarButtonItem();
|
|
this.dgvUsers = new DevExpress.XtraGrid.GridControl();
|
|
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
this.colLoginCode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colRealName = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.txtRoleCode = new DevExpress.XtraEditors.TextEdit();
|
|
this.txtRoleDesc = new DevExpress.XtraEditors.TextEdit();
|
|
this.txtRoleName = new DevExpress.XtraEditors.TextEdit();
|
|
this.txtNote = new DevExpress.XtraEditors.TextEdit();
|
|
this.comboBoxEdit1 = new DevExpress.XtraEditors.ComboBoxEdit();
|
|
this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
|
|
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem();
|
|
this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup();
|
|
this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
|
|
this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
|
|
this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem();
|
|
this.toolbarFormControl1 = new DevExpress.XtraBars.ToolbarForm.ToolbarFormControl();
|
|
this.dxValidationProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components);
|
|
this.splashScreenManager1 = new DevExpress.XtraSplashScreen.SplashScreenManager(this, typeof(global::DeviceRepairAndOptimization.frmWaiting), true, true);
|
|
this.dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(this.components);
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
|
|
this.layoutControl1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.tvAuths)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.toolbarFormManager1)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvUsers)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.txtRoleCode.Properties)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.txtRoleDesc.Properties)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.txtRoleName.Properties)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.txtNote.Properties)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit1.Properties)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.toolbarFormControl1)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider1)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// colStatus
|
|
//
|
|
this.colStatus.Caption = "状态";
|
|
this.colStatus.FieldName = "Status";
|
|
this.colStatus.Name = "colStatus";
|
|
this.colStatus.OptionsColumn.AllowEdit = false;
|
|
this.colStatus.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False;
|
|
this.colStatus.OptionsColumn.AllowIncrementalSearch = false;
|
|
this.colStatus.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
|
|
this.colStatus.OptionsColumn.AllowShowHide = false;
|
|
this.colStatus.OptionsColumn.ReadOnly = true;
|
|
this.colStatus.OptionsFilter.AllowAutoFilter = false;
|
|
this.colStatus.OptionsFilter.AllowFilter = false;
|
|
this.colStatus.Visible = true;
|
|
this.colStatus.VisibleIndex = 3;
|
|
this.colStatus.Width = 65;
|
|
//
|
|
// layoutControl1
|
|
//
|
|
this.layoutControl1.AllowCustomization = false;
|
|
this.layoutControl1.Controls.Add(this.tvAuths);
|
|
this.layoutControl1.Controls.Add(this.dgvUsers);
|
|
this.layoutControl1.Controls.Add(this.txtRoleCode);
|
|
this.layoutControl1.Controls.Add(this.txtRoleDesc);
|
|
this.layoutControl1.Controls.Add(this.txtRoleName);
|
|
this.layoutControl1.Controls.Add(this.txtNote);
|
|
this.layoutControl1.Controls.Add(this.comboBoxEdit1);
|
|
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.layoutControl1.Location = new System.Drawing.Point(0, 31);
|
|
this.layoutControl1.Name = "layoutControl1";
|
|
this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(569, 0, 650, 400);
|
|
this.layoutControl1.Root = this.Root;
|
|
this.layoutControl1.Size = new System.Drawing.Size(967, 599);
|
|
this.layoutControl1.TabIndex = 6;
|
|
this.layoutControl1.Text = "layoutControl1";
|
|
//
|
|
// tvAuths
|
|
//
|
|
this.tvAuths.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] {
|
|
this.tColumnRoleCode,
|
|
this.treeListColumn5});
|
|
this.tvAuths.Location = new System.Drawing.Point(20, 131);
|
|
this.tvAuths.MenuManager = this.toolbarFormManager1;
|
|
this.tvAuths.Name = "tvAuths";
|
|
this.tvAuths.OptionsBehavior.AllowIndeterminateCheckState = true;
|
|
this.tvAuths.OptionsView.BestFitNodes = DevExpress.XtraTreeList.TreeListBestFitNodes.All;
|
|
this.tvAuths.OptionsView.CheckBoxStyle = DevExpress.XtraTreeList.DefaultNodeCheckBoxStyle.Check;
|
|
this.tvAuths.Size = new System.Drawing.Size(393, 448);
|
|
this.tvAuths.TabIndex = 10;
|
|
//
|
|
// tColumnRoleCode
|
|
//
|
|
this.tColumnRoleCode.Caption = "权限编码";
|
|
this.tColumnRoleCode.FieldName = "AuthCode";
|
|
this.tColumnRoleCode.Name = "tColumnRoleCode";
|
|
this.tColumnRoleCode.Visible = true;
|
|
this.tColumnRoleCode.VisibleIndex = 0;
|
|
this.tColumnRoleCode.Width = 58;
|
|
//
|
|
// treeListColumn5
|
|
//
|
|
this.treeListColumn5.Caption = "权限名称";
|
|
this.treeListColumn5.FieldName = "AuthName";
|
|
this.treeListColumn5.Name = "treeListColumn5";
|
|
this.treeListColumn5.OptionsColumn.AllowEdit = false;
|
|
this.treeListColumn5.OptionsColumn.AllowMove = false;
|
|
this.treeListColumn5.OptionsColumn.AllowMoveToCustomizationForm = false;
|
|
this.treeListColumn5.OptionsFilter.AllowAutoFilter = false;
|
|
this.treeListColumn5.OptionsFilter.AllowFilter = false;
|
|
this.treeListColumn5.Visible = true;
|
|
this.treeListColumn5.VisibleIndex = 1;
|
|
this.treeListColumn5.Width = 121;
|
|
//
|
|
// toolbarFormManager1
|
|
//
|
|
this.toolbarFormManager1.DockControls.Add(this.barDockControlTop);
|
|
this.toolbarFormManager1.DockControls.Add(this.barDockControlBottom);
|
|
this.toolbarFormManager1.DockControls.Add(this.barDockControlLeft);
|
|
this.toolbarFormManager1.DockControls.Add(this.barDockControlRight);
|
|
this.toolbarFormManager1.Form = this;
|
|
this.toolbarFormManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
|
|
this.bBtnSave});
|
|
this.toolbarFormManager1.MaxItemId = 2;
|
|
//
|
|
// barDockControlTop
|
|
//
|
|
this.barDockControlTop.CausesValidation = false;
|
|
this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.barDockControlTop.Location = new System.Drawing.Point(0, 31);
|
|
this.barDockControlTop.Manager = this.toolbarFormManager1;
|
|
this.barDockControlTop.Size = new System.Drawing.Size(967, 0);
|
|
//
|
|
// barDockControlBottom
|
|
//
|
|
this.barDockControlBottom.CausesValidation = false;
|
|
this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
this.barDockControlBottom.Location = new System.Drawing.Point(0, 630);
|
|
this.barDockControlBottom.Manager = this.toolbarFormManager1;
|
|
this.barDockControlBottom.Size = new System.Drawing.Size(967, 0);
|
|
//
|
|
// barDockControlLeft
|
|
//
|
|
this.barDockControlLeft.CausesValidation = false;
|
|
this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
|
|
this.barDockControlLeft.Location = new System.Drawing.Point(0, 31);
|
|
this.barDockControlLeft.Manager = this.toolbarFormManager1;
|
|
this.barDockControlLeft.Size = new System.Drawing.Size(0, 599);
|
|
//
|
|
// barDockControlRight
|
|
//
|
|
this.barDockControlRight.CausesValidation = false;
|
|
this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
|
|
this.barDockControlRight.Location = new System.Drawing.Point(967, 31);
|
|
this.barDockControlRight.Manager = this.toolbarFormManager1;
|
|
this.barDockControlRight.Size = new System.Drawing.Size(0, 599);
|
|
//
|
|
// bBtnSave
|
|
//
|
|
this.bBtnSave.Caption = "保存";
|
|
this.bBtnSave.Id = 0;
|
|
this.bBtnSave.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("bBtnSave.ImageOptions.Image")));
|
|
this.bBtnSave.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("bBtnSave.ImageOptions.LargeImage")));
|
|
this.bBtnSave.Name = "bBtnSave";
|
|
this.bBtnSave.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
|
|
this.bBtnSave.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bBtnSave_ItemClick);
|
|
//
|
|
// dgvUsers
|
|
//
|
|
this.dgvUsers.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(2, 4, 2, 4);
|
|
this.dgvUsers.Location = new System.Drawing.Point(437, 157);
|
|
this.dgvUsers.MainView = this.gridView1;
|
|
this.dgvUsers.MenuManager = this.toolbarFormManager1;
|
|
this.dgvUsers.Name = "dgvUsers";
|
|
this.dgvUsers.Size = new System.Drawing.Size(510, 422);
|
|
this.dgvUsers.TabIndex = 12;
|
|
this.dgvUsers.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
this.gridView1});
|
|
//
|
|
// gridView1
|
|
//
|
|
this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
this.colLoginCode,
|
|
this.colRealName,
|
|
this.colStatus});
|
|
this.gridView1.DetailHeight = 375;
|
|
gridFormatRule1.ApplyToRow = true;
|
|
gridFormatRule1.Column = this.colStatus;
|
|
gridFormatRule1.Name = "Format0";
|
|
formatConditionRuleValue1.Appearance.BackColor = System.Drawing.Color.PaleGreen;
|
|
formatConditionRuleValue1.Appearance.ForeColor = System.Drawing.Color.Black;
|
|
formatConditionRuleValue1.Appearance.Options.UseBackColor = true;
|
|
formatConditionRuleValue1.Appearance.Options.UseForeColor = true;
|
|
formatConditionRuleValue1.Condition = DevExpress.XtraEditors.FormatCondition.Expression;
|
|
formatConditionRuleValue1.Expression = "ToStr([Status]) = \'A\'";
|
|
formatConditionRuleValue1.Value1 = "A";
|
|
gridFormatRule1.Rule = formatConditionRuleValue1;
|
|
gridFormatRule2.ApplyToRow = true;
|
|
gridFormatRule2.Column = this.colStatus;
|
|
gridFormatRule2.Name = "Format1";
|
|
formatConditionRuleValue2.Appearance.BackColor = System.Drawing.Color.LightPink;
|
|
formatConditionRuleValue2.Appearance.ForeColor = System.Drawing.Color.Maroon;
|
|
formatConditionRuleValue2.Appearance.Options.UseBackColor = true;
|
|
formatConditionRuleValue2.Appearance.Options.UseForeColor = true;
|
|
formatConditionRuleValue2.Condition = DevExpress.XtraEditors.FormatCondition.Expression;
|
|
formatConditionRuleValue2.Expression = "ToStr([Status]) = \'L\'";
|
|
gridFormatRule2.Rule = formatConditionRuleValue2;
|
|
this.gridView1.FormatRules.Add(gridFormatRule1);
|
|
this.gridView1.FormatRules.Add(gridFormatRule2);
|
|
this.gridView1.GridControl = this.dgvUsers;
|
|
this.gridView1.IndicatorWidth = 40;
|
|
this.gridView1.Name = "gridView1";
|
|
this.gridView1.OptionsFind.FindMode = DevExpress.XtraEditors.FindMode.FindClick;
|
|
this.gridView1.OptionsSelection.MultiSelect = true;
|
|
this.gridView1.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect;
|
|
this.gridView1.OptionsSelection.ShowCheckBoxSelectorInColumnHeader = DevExpress.Utils.DefaultBoolean.True;
|
|
this.gridView1.OptionsView.ShowDetailButtons = false;
|
|
this.gridView1.OptionsView.ShowGroupPanel = false;
|
|
//
|
|
// colLoginCode
|
|
//
|
|
this.colLoginCode.Caption = "用户编码";
|
|
this.colLoginCode.FieldName = "LoginCode";
|
|
this.colLoginCode.Name = "colLoginCode";
|
|
this.colLoginCode.OptionsColumn.AllowEdit = false;
|
|
this.colLoginCode.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False;
|
|
this.colLoginCode.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
|
|
this.colLoginCode.OptionsColumn.AllowMove = false;
|
|
this.colLoginCode.OptionsColumn.AllowShowHide = false;
|
|
this.colLoginCode.OptionsColumn.ReadOnly = true;
|
|
this.colLoginCode.Visible = true;
|
|
this.colLoginCode.VisibleIndex = 1;
|
|
this.colLoginCode.Width = 113;
|
|
//
|
|
// colRealName
|
|
//
|
|
this.colRealName.Caption = "用户名";
|
|
this.colRealName.FieldName = "RealName";
|
|
this.colRealName.Name = "colRealName";
|
|
this.colRealName.OptionsColumn.AllowEdit = false;
|
|
this.colRealName.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False;
|
|
this.colRealName.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
|
|
this.colRealName.OptionsColumn.AllowMove = false;
|
|
this.colRealName.OptionsColumn.AllowShowHide = false;
|
|
this.colRealName.OptionsColumn.ReadOnly = true;
|
|
this.colRealName.Visible = true;
|
|
this.colRealName.VisibleIndex = 2;
|
|
this.colRealName.Width = 115;
|
|
//
|
|
// txtRoleCode
|
|
//
|
|
this.txtRoleCode.Location = new System.Drawing.Point(91, 10);
|
|
this.txtRoleCode.Name = "txtRoleCode";
|
|
this.txtRoleCode.Properties.MaxLength = 50;
|
|
this.txtRoleCode.Size = new System.Drawing.Size(332, 22);
|
|
this.txtRoleCode.StyleController = this.layoutControl1;
|
|
this.txtRoleCode.TabIndex = 4;
|
|
conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank;
|
|
conditionValidationRule1.ErrorText = "角色编码不可以为空";
|
|
this.dxValidationProvider1.SetValidationRule(this.txtRoleCode, conditionValidationRule1);
|
|
//
|
|
// txtRoleDesc
|
|
//
|
|
this.txtRoleDesc.Location = new System.Drawing.Point(508, 36);
|
|
this.txtRoleDesc.Name = "txtRoleDesc";
|
|
this.txtRoleDesc.Properties.MaxLength = 50;
|
|
this.txtRoleDesc.Size = new System.Drawing.Size(449, 22);
|
|
this.txtRoleDesc.StyleController = this.layoutControl1;
|
|
this.txtRoleDesc.TabIndex = 7;
|
|
//
|
|
// txtRoleName
|
|
//
|
|
this.txtRoleName.Location = new System.Drawing.Point(91, 36);
|
|
this.txtRoleName.Name = "txtRoleName";
|
|
this.txtRoleName.Properties.MaxLength = 50;
|
|
this.txtRoleName.Size = new System.Drawing.Size(332, 22);
|
|
this.txtRoleName.StyleController = this.layoutControl1;
|
|
this.txtRoleName.TabIndex = 5;
|
|
conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank;
|
|
conditionValidationRule2.ErrorText = "角色名称不可以为空";
|
|
this.dxValidationProvider1.SetValidationRule(this.txtRoleName, conditionValidationRule2);
|
|
//
|
|
// txtNote
|
|
//
|
|
this.txtNote.Location = new System.Drawing.Point(91, 62);
|
|
this.txtNote.Name = "txtNote";
|
|
this.txtNote.Properties.MaxLength = 50;
|
|
this.txtNote.Size = new System.Drawing.Size(866, 22);
|
|
this.txtNote.StyleController = this.layoutControl1;
|
|
this.txtNote.TabIndex = 8;
|
|
//
|
|
// comboBoxEdit1
|
|
//
|
|
this.comboBoxEdit1.Location = new System.Drawing.Point(518, 131);
|
|
this.comboBoxEdit1.MenuManager = this.toolbarFormManager1;
|
|
this.comboBoxEdit1.Name = "comboBoxEdit1";
|
|
this.comboBoxEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
this.comboBoxEdit1.Properties.Items.AddRange(new object[] {
|
|
"显示所有用户",
|
|
"显示在用用户",
|
|
"显示停用用户"});
|
|
this.comboBoxEdit1.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
|
|
this.comboBoxEdit1.Properties.SelectedIndexChanged += new System.EventHandler(this.comboBoxEdit1_Properties_SelectedIndexChanged);
|
|
this.comboBoxEdit1.Size = new System.Drawing.Size(178, 22);
|
|
this.comboBoxEdit1.StyleController = this.layoutControl1;
|
|
this.comboBoxEdit1.TabIndex = 15;
|
|
//
|
|
// Root
|
|
//
|
|
this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
|
|
this.Root.GroupBordersVisible = false;
|
|
this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
|
this.layoutControlItem1,
|
|
this.layoutControlItem2,
|
|
this.emptySpaceItem3,
|
|
this.layoutControlItem4,
|
|
this.layoutControlItem5,
|
|
this.layoutControlGroup2,
|
|
this.emptySpaceItem1,
|
|
this.layoutControlGroup1});
|
|
this.Root.Name = "Root";
|
|
this.Root.Size = new System.Drawing.Size(967, 599);
|
|
this.Root.TextVisible = false;
|
|
//
|
|
// layoutControlItem1
|
|
//
|
|
this.layoutControlItem1.Control = this.txtRoleCode;
|
|
this.layoutControlItem1.CustomizationFormText = "角色编码";
|
|
this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
|
|
this.layoutControlItem1.Name = "layoutControlItem1";
|
|
this.layoutControlItem1.Size = new System.Drawing.Size(417, 26);
|
|
this.layoutControlItem1.Text = "角色编码";
|
|
this.layoutControlItem1.TextSize = new System.Drawing.Size(72, 15);
|
|
//
|
|
// layoutControlItem2
|
|
//
|
|
this.layoutControlItem2.Control = this.txtRoleName;
|
|
this.layoutControlItem2.Location = new System.Drawing.Point(0, 26);
|
|
this.layoutControlItem2.Name = "layoutControlItem2";
|
|
this.layoutControlItem2.Size = new System.Drawing.Size(417, 26);
|
|
this.layoutControlItem2.Text = "角色名称";
|
|
this.layoutControlItem2.TextSize = new System.Drawing.Size(72, 15);
|
|
//
|
|
// emptySpaceItem3
|
|
//
|
|
this.emptySpaceItem3.AllowHotTrack = false;
|
|
this.emptySpaceItem3.Location = new System.Drawing.Point(417, 0);
|
|
this.emptySpaceItem3.Name = "emptySpaceItem3";
|
|
this.emptySpaceItem3.Size = new System.Drawing.Size(534, 26);
|
|
this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0);
|
|
//
|
|
// layoutControlItem4
|
|
//
|
|
this.layoutControlItem4.Control = this.txtRoleDesc;
|
|
this.layoutControlItem4.Location = new System.Drawing.Point(417, 26);
|
|
this.layoutControlItem4.Name = "layoutControlItem4";
|
|
this.layoutControlItem4.Size = new System.Drawing.Size(534, 26);
|
|
this.layoutControlItem4.Text = "角色描述";
|
|
this.layoutControlItem4.TextSize = new System.Drawing.Size(72, 15);
|
|
//
|
|
// layoutControlItem5
|
|
//
|
|
this.layoutControlItem5.Control = this.txtNote;
|
|
this.layoutControlItem5.Location = new System.Drawing.Point(0, 52);
|
|
this.layoutControlItem5.Name = "layoutControlItem5";
|
|
this.layoutControlItem5.Size = new System.Drawing.Size(951, 26);
|
|
this.layoutControlItem5.Text = "备注";
|
|
this.layoutControlItem5.TextSize = new System.Drawing.Size(72, 15);
|
|
//
|
|
// layoutControlGroup2
|
|
//
|
|
this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
|
this.layoutControlItem6});
|
|
this.layoutControlGroup2.Location = new System.Drawing.Point(0, 90);
|
|
this.layoutControlGroup2.Name = "layoutControlGroup2";
|
|
this.layoutControlGroup2.Size = new System.Drawing.Size(417, 493);
|
|
this.layoutControlGroup2.Text = "角色权限选择";
|
|
//
|
|
// layoutControlItem6
|
|
//
|
|
this.layoutControlItem6.Control = this.tvAuths;
|
|
this.layoutControlItem6.Location = new System.Drawing.Point(0, 0);
|
|
this.layoutControlItem6.Name = "layoutControlItem6";
|
|
this.layoutControlItem6.Size = new System.Drawing.Size(397, 452);
|
|
this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0);
|
|
this.layoutControlItem6.TextVisible = false;
|
|
//
|
|
// emptySpaceItem1
|
|
//
|
|
this.emptySpaceItem1.AllowHotTrack = false;
|
|
this.emptySpaceItem1.Location = new System.Drawing.Point(0, 78);
|
|
this.emptySpaceItem1.Name = "emptySpaceItem1";
|
|
this.emptySpaceItem1.Size = new System.Drawing.Size(951, 12);
|
|
this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
|
|
//
|
|
// layoutControlGroup1
|
|
//
|
|
this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
|
this.layoutControlItem7,
|
|
this.layoutControlItem3,
|
|
this.emptySpaceItem2});
|
|
this.layoutControlGroup1.Location = new System.Drawing.Point(417, 90);
|
|
this.layoutControlGroup1.Name = "layoutControlGroup1";
|
|
this.layoutControlGroup1.Size = new System.Drawing.Size(534, 493);
|
|
this.layoutControlGroup1.Text = "用户选择";
|
|
//
|
|
// layoutControlItem7
|
|
//
|
|
this.layoutControlItem7.Control = this.dgvUsers;
|
|
this.layoutControlItem7.Location = new System.Drawing.Point(0, 26);
|
|
this.layoutControlItem7.Name = "layoutControlItem7";
|
|
this.layoutControlItem7.Size = new System.Drawing.Size(514, 426);
|
|
this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0);
|
|
this.layoutControlItem7.TextVisible = false;
|
|
//
|
|
// layoutControlItem3
|
|
//
|
|
this.layoutControlItem3.Control = this.comboBoxEdit1;
|
|
this.layoutControlItem3.CustomizationFormText = "选择";
|
|
this.layoutControlItem3.Location = new System.Drawing.Point(0, 0);
|
|
this.layoutControlItem3.Name = "layoutControlItem3";
|
|
this.layoutControlItem3.Size = new System.Drawing.Size(263, 26);
|
|
this.layoutControlItem3.Text = "选择用户状态";
|
|
this.layoutControlItem3.TextSize = new System.Drawing.Size(72, 15);
|
|
//
|
|
// emptySpaceItem2
|
|
//
|
|
this.emptySpaceItem2.AllowHotTrack = false;
|
|
this.emptySpaceItem2.Location = new System.Drawing.Point(263, 0);
|
|
this.emptySpaceItem2.Name = "emptySpaceItem2";
|
|
this.emptySpaceItem2.Size = new System.Drawing.Size(251, 26);
|
|
this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0);
|
|
//
|
|
// toolbarFormControl1
|
|
//
|
|
this.toolbarFormControl1.Location = new System.Drawing.Point(0, 0);
|
|
this.toolbarFormControl1.Manager = this.toolbarFormManager1;
|
|
this.toolbarFormControl1.Name = "toolbarFormControl1";
|
|
this.toolbarFormControl1.Size = new System.Drawing.Size(967, 31);
|
|
this.toolbarFormControl1.TabIndex = 7;
|
|
this.toolbarFormControl1.TabStop = false;
|
|
this.toolbarFormControl1.TitleItemLinks.Add(this.bBtnSave);
|
|
this.toolbarFormControl1.ToolbarForm = this;
|
|
//
|
|
// splashScreenManager1
|
|
//
|
|
this.splashScreenManager1.ClosingDelay = 500;
|
|
//
|
|
// dxErrorProvider1
|
|
//
|
|
this.dxErrorProvider1.ContainerControl = this;
|
|
//
|
|
// frmRoleEdit
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(967, 630);
|
|
this.Controls.Add(this.layoutControl1);
|
|
this.Controls.Add(this.barDockControlLeft);
|
|
this.Controls.Add(this.barDockControlRight);
|
|
this.Controls.Add(this.barDockControlBottom);
|
|
this.Controls.Add(this.barDockControlTop);
|
|
this.Controls.Add(this.toolbarFormControl1);
|
|
this.IconOptions.Image = ((System.Drawing.Image)(resources.GetObject("frmRoleEdit.IconOptions.Image")));
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "frmRoleEdit";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "角色详情";
|
|
this.ToolbarFormControl = this.toolbarFormControl1;
|
|
this.Load += new System.EventHandler(this.frmRoleEdit_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
|
|
this.layoutControl1.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.tvAuths)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.toolbarFormManager1)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvUsers)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.txtRoleCode.Properties)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.txtRoleDesc.Properties)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.txtRoleName.Properties)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.txtNote.Properties)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit1.Properties)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.toolbarFormControl1)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider1)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private DevExpress.XtraLayout.LayoutControl layoutControl1;
|
|
private DevExpress.XtraEditors.TextEdit txtRoleCode;
|
|
private DevExpress.XtraEditors.TextEdit txtRoleDesc;
|
|
private DevExpress.XtraEditors.TextEdit txtRoleName;
|
|
private DevExpress.XtraEditors.TextEdit txtNote;
|
|
private DevExpress.XtraLayout.LayoutControlGroup Root;
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5;
|
|
private DevExpress.XtraBars.ToolbarForm.ToolbarFormControl toolbarFormControl1;
|
|
private DevExpress.XtraBars.ToolbarForm.ToolbarFormManager toolbarFormManager1;
|
|
private DevExpress.XtraBars.BarDockControl barDockControlTop;
|
|
private DevExpress.XtraBars.BarDockControl barDockControlBottom;
|
|
private DevExpress.XtraBars.BarDockControl barDockControlLeft;
|
|
private DevExpress.XtraBars.BarDockControl barDockControlRight;
|
|
private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem3;
|
|
private DevExpress.XtraBars.BarButtonItem bBtnSave;
|
|
private DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider dxValidationProvider1;
|
|
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1;
|
|
private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1;
|
|
private DevExpress.XtraGrid.GridControl dgvUsers;
|
|
private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colLoginCode;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colRealName;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colStatus;
|
|
private DevExpress.XtraTreeList.TreeList tvAuths;
|
|
private DevExpress.XtraTreeList.Columns.TreeListColumn tColumnRoleCode;
|
|
private DevExpress.XtraTreeList.Columns.TreeListColumn treeListColumn5;
|
|
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup2;
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6;
|
|
private DevExpress.XtraSplashScreen.SplashScreenManager splashScreenManager1;
|
|
private DevExpress.XtraEditors.ComboBoxEdit comboBoxEdit1;
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
|
|
private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem2;
|
|
private DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider dxErrorProvider1;
|
|
}
|
|
}
|