2024-05-28 14:36:38 +00:00
|
|
|
|
namespace DeviceRepairAndOptimization.Pages.Users
|
|
|
|
|
{
|
|
|
|
|
partial class frmRoles
|
|
|
|
|
{
|
|
|
|
|
/// <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();
|
|
|
|
|
DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
|
|
|
|
|
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
|
|
|
|
|
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
|
|
|
|
|
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject();
|
|
|
|
|
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject();
|
|
|
|
|
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.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
|
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmRoles));
|
|
|
|
|
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject();
|
|
|
|
|
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject();
|
|
|
|
|
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject();
|
|
|
|
|
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject();
|
|
|
|
|
DevExpress.XtraEditors.BreadCrumbNode breadCrumbNode1 = new DevExpress.XtraEditors.BreadCrumbNode();
|
|
|
|
|
this.colRoleStatus = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
|
|
|
|
|
this.splashScreenManager1 = new DevExpress.XtraSplashScreen.SplashScreenManager(this, typeof(global::DeviceRepairAndOptimization.frmWaiting), true, true);
|
|
|
|
|
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.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
|
|
|
|
|
this.bBtnSave = new DevExpress.XtraBars.BarButtonItem();
|
|
|
|
|
this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
|
|
|
|
|
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
|
|
|
|
|
this.dgvDatas = new DevExpress.XtraGrid.GridControl();
|
|
|
|
|
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
|
|
this.colRoleCode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
this.colRoleName = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
this.repositoryItemButtonEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
|
|
|
|
|
this.colRoleDescription = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
this.repositoryItemBreadCrumbEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemBreadCrumbEdit();
|
|
|
|
|
this.comboBoxEdit1 = new DevExpress.XtraEditors.ComboBoxEdit();
|
|
|
|
|
this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
|
|
|
|
|
this.tabbedControlGroup1 = new DevExpress.XtraLayout.TabbedControlGroup();
|
|
|
|
|
this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
|
|
|
|
|
this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
|
|
this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
|
|
this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem();
|
|
|
|
|
this.dxValidationProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components);
|
|
|
|
|
this.barLargeButtonItem2 = new DevExpress.XtraBars.BarLargeButtonItem();
|
|
|
|
|
this.barLargeButtonItem3 = new DevExpress.XtraBars.BarLargeButtonItem();
|
|
|
|
|
this.toolbarFormControl1 = new DevExpress.XtraBars.ToolbarForm.ToolbarFormControl();
|
|
|
|
|
this.toolbarFormManager2 = new DevExpress.XtraBars.ToolbarForm.ToolbarFormManager(this.components);
|
|
|
|
|
this.barDockControl1 = new DevExpress.XtraBars.BarDockControl();
|
|
|
|
|
this.barDockControl2 = new DevExpress.XtraBars.BarDockControl();
|
|
|
|
|
this.barDockControl3 = new DevExpress.XtraBars.BarDockControl();
|
|
|
|
|
this.barDockControl4 = new DevExpress.XtraBars.BarDockControl();
|
|
|
|
|
this.bBtnAdd = new DevExpress.XtraBars.BarButtonItem();
|
|
|
|
|
this.bBtnModify = new DevExpress.XtraBars.BarButtonItem();
|
|
|
|
|
this.bBtnStop = new DevExpress.XtraBars.BarButtonItem();
|
|
|
|
|
this.bBtnRoleAuths = new DevExpress.XtraBars.BarButtonItem();
|
|
|
|
|
this.bBtnRoleUsers = new DevExpress.XtraBars.BarButtonItem();
|
|
|
|
|
this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.toolbarFormManager1)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
|
|
|
|
|
this.layoutControl1.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvDatas)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit2)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemBreadCrumbEdit1)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit1.Properties)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup1)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.toolbarFormControl1)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.toolbarFormManager2)).BeginInit();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// colRoleStatus
|
|
|
|
|
//
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.colRoleStatus.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.colRoleStatus.AppearanceCell.Options.UseFont = true;
|
|
|
|
|
this.colRoleStatus.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.colRoleStatus.AppearanceHeader.Options.UseFont = true;
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.colRoleStatus.Caption = "状态";
|
|
|
|
|
this.colRoleStatus.FieldName = "RoleStatus";
|
|
|
|
|
this.colRoleStatus.Name = "colRoleStatus";
|
|
|
|
|
this.colRoleStatus.OptionsColumn.AllowEdit = false;
|
|
|
|
|
this.colRoleStatus.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False;
|
|
|
|
|
this.colRoleStatus.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
|
|
|
|
|
this.colRoleStatus.OptionsColumn.AllowShowHide = false;
|
|
|
|
|
this.colRoleStatus.Visible = true;
|
|
|
|
|
this.colRoleStatus.VisibleIndex = 3;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.colRoleStatus.Width = 139;
|
2024-05-28 14:36:38 +00:00
|
|
|
|
//
|
|
|
|
|
// repositoryItemButtonEdit1
|
|
|
|
|
//
|
|
|
|
|
this.repositoryItemButtonEdit1.AutoHeight = false;
|
|
|
|
|
this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.OK, "哦哦", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
|
|
|
|
|
this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1";
|
|
|
|
|
this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
|
|
|
|
|
//
|
|
|
|
|
// splashScreenManager1
|
|
|
|
|
//
|
|
|
|
|
this.splashScreenManager1.ClosingDelay = 500;
|
|
|
|
|
//
|
|
|
|
|
// toolbarFormManager1
|
|
|
|
|
//
|
|
|
|
|
this.toolbarFormManager1.AllowCustomization = false;
|
|
|
|
|
this.toolbarFormManager1.AllowMoveBarOnToolbar = false;
|
|
|
|
|
this.toolbarFormManager1.AllowQuickCustomization = false;
|
|
|
|
|
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.MaxItemId = 10;
|
|
|
|
|
//
|
|
|
|
|
// barDockControlTop
|
|
|
|
|
//
|
|
|
|
|
this.barDockControlTop.CausesValidation = false;
|
|
|
|
|
this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.barDockControlTop.Location = new System.Drawing.Point(0, 31);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.barDockControlTop.Manager = this.toolbarFormManager1;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.barDockControlTop.Size = new System.Drawing.Size(852, 0);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
//
|
|
|
|
|
// barDockControlBottom
|
|
|
|
|
//
|
|
|
|
|
this.barDockControlBottom.CausesValidation = false;
|
|
|
|
|
this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.barDockControlBottom.Location = new System.Drawing.Point(0, 594);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.barDockControlBottom.Manager = this.toolbarFormManager1;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.barDockControlBottom.Size = new System.Drawing.Size(852, 0);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
//
|
|
|
|
|
// barDockControlLeft
|
|
|
|
|
//
|
|
|
|
|
this.barDockControlLeft.CausesValidation = false;
|
|
|
|
|
this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.barDockControlLeft.Location = new System.Drawing.Point(0, 31);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.barDockControlLeft.Manager = this.toolbarFormManager1;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.barDockControlLeft.Size = new System.Drawing.Size(0, 563);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
//
|
|
|
|
|
// barDockControlRight
|
|
|
|
|
//
|
|
|
|
|
this.barDockControlRight.CausesValidation = false;
|
|
|
|
|
this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.barDockControlRight.Location = new System.Drawing.Point(852, 31);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.barDockControlRight.Manager = this.toolbarFormManager1;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.barDockControlRight.Size = new System.Drawing.Size(0, 563);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
//
|
|
|
|
|
// barButtonItem3
|
|
|
|
|
//
|
|
|
|
|
this.barButtonItem3.Caption = "barButtonItem3";
|
|
|
|
|
this.barButtonItem3.Id = 2;
|
|
|
|
|
this.barButtonItem3.Name = "barButtonItem3";
|
|
|
|
|
//
|
|
|
|
|
// bBtnSave
|
|
|
|
|
//
|
|
|
|
|
this.bBtnSave.Caption = "保存";
|
|
|
|
|
this.bBtnSave.Id = 8;
|
|
|
|
|
this.bBtnSave.Name = "bBtnSave";
|
|
|
|
|
this.bBtnSave.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
|
|
|
|
|
//
|
|
|
|
|
// barButtonItem2
|
|
|
|
|
//
|
|
|
|
|
this.barButtonItem2.Caption = "权限";
|
|
|
|
|
this.barButtonItem2.Id = 9;
|
|
|
|
|
this.barButtonItem2.Name = "barButtonItem2";
|
|
|
|
|
this.barButtonItem2.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
|
|
|
|
|
//
|
|
|
|
|
// layoutControl1
|
|
|
|
|
//
|
|
|
|
|
this.layoutControl1.AllowCustomization = false;
|
|
|
|
|
this.layoutControl1.Controls.Add(this.dgvDatas);
|
|
|
|
|
this.layoutControl1.Controls.Add(this.comboBoxEdit1);
|
|
|
|
|
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.layoutControl1.Location = new System.Drawing.Point(0, 31);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.layoutControl1.Name = "layoutControl1";
|
|
|
|
|
this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(569, 0, 650, 400);
|
|
|
|
|
this.layoutControl1.Root = this.Root;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.layoutControl1.Size = new System.Drawing.Size(852, 563);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.layoutControl1.TabIndex = 5;
|
|
|
|
|
this.layoutControl1.Text = "layoutControl1";
|
|
|
|
|
//
|
|
|
|
|
// dgvDatas
|
|
|
|
|
//
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.dgvDatas.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(2, 4, 2, 4);
|
|
|
|
|
this.dgvDatas.Location = new System.Drawing.Point(20, 79);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.dgvDatas.MainView = this.gridView1;
|
|
|
|
|
this.dgvDatas.MenuManager = this.toolbarFormManager1;
|
|
|
|
|
this.dgvDatas.Name = "dgvDatas";
|
|
|
|
|
this.dgvDatas.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
|
|
|
|
this.repositoryItemBreadCrumbEdit1,
|
|
|
|
|
this.repositoryItemButtonEdit1,
|
|
|
|
|
this.repositoryItemButtonEdit2});
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.dgvDatas.Size = new System.Drawing.Size(812, 464);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.dgvDatas.TabIndex = 6;
|
|
|
|
|
this.dgvDatas.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
|
|
|
this.gridView1});
|
|
|
|
|
//
|
|
|
|
|
// gridView1
|
|
|
|
|
//
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.gridView1.ColumnPanelRowHeight = 31;
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
|
|
|
this.colRoleCode,
|
|
|
|
|
this.colRoleName,
|
|
|
|
|
this.colRoleDescription,
|
|
|
|
|
this.colRoleStatus});
|
|
|
|
|
gridFormatRule1.ApplyToRow = true;
|
|
|
|
|
gridFormatRule1.Column = this.colRoleStatus;
|
|
|
|
|
gridFormatRule1.Enabled = false;
|
|
|
|
|
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\'";
|
|
|
|
|
gridFormatRule1.Rule = formatConditionRuleValue1;
|
|
|
|
|
gridFormatRule2.ApplyToRow = true;
|
|
|
|
|
gridFormatRule2.Column = this.colRoleStatus;
|
|
|
|
|
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.dgvDatas;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.gridView1.IndicatorWidth = 40;
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.gridView1.Name = "gridView1";
|
|
|
|
|
this.gridView1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
|
|
|
|
|
this.gridView1.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False;
|
|
|
|
|
this.gridView1.OptionsBehavior.AllowFixedGroups = DevExpress.Utils.DefaultBoolean.False;
|
|
|
|
|
this.gridView1.OptionsBehavior.AllowGroupExpandAnimation = DevExpress.Utils.DefaultBoolean.False;
|
|
|
|
|
this.gridView1.OptionsBehavior.ReadOnly = true;
|
|
|
|
|
this.gridView1.OptionsCustomization.AllowGroup = false;
|
|
|
|
|
this.gridView1.OptionsCustomization.AllowQuickHideColumns = false;
|
|
|
|
|
this.gridView1.OptionsCustomization.UseAdvancedCustomizationForm = DevExpress.Utils.DefaultBoolean.False;
|
|
|
|
|
this.gridView1.OptionsFilter.ShowCustomFunctions = DevExpress.Utils.DefaultBoolean.False;
|
|
|
|
|
this.gridView1.OptionsView.ShowDetailButtons = false;
|
|
|
|
|
this.gridView1.OptionsView.ShowGroupPanel = false;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.gridView1.RowHeight = 31;
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.gridView1.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridView1_FocusedRowChanged);
|
|
|
|
|
//
|
|
|
|
|
// colRoleCode
|
|
|
|
|
//
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.colRoleCode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.colRoleCode.AppearanceCell.Options.UseFont = true;
|
|
|
|
|
this.colRoleCode.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.colRoleCode.AppearanceHeader.Options.UseFont = true;
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.colRoleCode.Caption = "角色编码";
|
|
|
|
|
this.colRoleCode.FieldName = "RoleCode";
|
|
|
|
|
this.colRoleCode.Name = "colRoleCode";
|
|
|
|
|
this.colRoleCode.OptionsColumn.AllowEdit = false;
|
|
|
|
|
this.colRoleCode.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False;
|
|
|
|
|
this.colRoleCode.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
|
|
|
|
|
this.colRoleCode.OptionsColumn.AllowShowHide = false;
|
|
|
|
|
this.colRoleCode.Visible = true;
|
|
|
|
|
this.colRoleCode.VisibleIndex = 0;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.colRoleCode.Width = 105;
|
2024-05-28 14:36:38 +00:00
|
|
|
|
//
|
|
|
|
|
// colRoleName
|
|
|
|
|
//
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.colRoleName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.colRoleName.AppearanceCell.Options.UseFont = true;
|
|
|
|
|
this.colRoleName.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.colRoleName.AppearanceHeader.Options.UseFont = true;
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.colRoleName.Caption = "角色名称";
|
|
|
|
|
this.colRoleName.ColumnEdit = this.repositoryItemButtonEdit2;
|
|
|
|
|
this.colRoleName.FieldName = "RoleName";
|
|
|
|
|
this.colRoleName.Name = "colRoleName";
|
|
|
|
|
this.colRoleName.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False;
|
|
|
|
|
this.colRoleName.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
|
|
|
|
|
this.colRoleName.OptionsColumn.AllowShowHide = false;
|
|
|
|
|
this.colRoleName.Visible = true;
|
|
|
|
|
this.colRoleName.VisibleIndex = 1;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.colRoleName.Width = 144;
|
2024-05-28 14:36:38 +00:00
|
|
|
|
//
|
|
|
|
|
// repositoryItemButtonEdit2
|
|
|
|
|
//
|
|
|
|
|
this.repositoryItemButtonEdit2.AutoHeight = false;
|
|
|
|
|
editorButtonImageOptions2.Image = ((System.Drawing.Image)(resources.GetObject("editorButtonImageOptions2.Image")));
|
|
|
|
|
this.repositoryItemButtonEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "用户列表", -1, true, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "查看当前角色包含的用户列表", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
|
|
|
|
|
this.repositoryItemButtonEdit2.Name = "repositoryItemButtonEdit2";
|
|
|
|
|
this.repositoryItemButtonEdit2.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEdit2_ButtonClick);
|
|
|
|
|
//
|
|
|
|
|
// colRoleDescription
|
|
|
|
|
//
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.colRoleDescription.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.colRoleDescription.AppearanceCell.Options.UseFont = true;
|
|
|
|
|
this.colRoleDescription.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.colRoleDescription.AppearanceHeader.Options.UseFont = true;
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.colRoleDescription.Caption = "角色描述";
|
|
|
|
|
this.colRoleDescription.FieldName = "RoleDescription";
|
|
|
|
|
this.colRoleDescription.Name = "colRoleDescription";
|
|
|
|
|
this.colRoleDescription.OptionsColumn.AllowEdit = false;
|
|
|
|
|
this.colRoleDescription.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False;
|
|
|
|
|
this.colRoleDescription.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False;
|
|
|
|
|
this.colRoleDescription.OptionsColumn.AllowShowHide = false;
|
|
|
|
|
this.colRoleDescription.Visible = true;
|
|
|
|
|
this.colRoleDescription.VisibleIndex = 2;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.colRoleDescription.Width = 210;
|
2024-05-28 14:36:38 +00:00
|
|
|
|
//
|
|
|
|
|
// repositoryItemBreadCrumbEdit1
|
|
|
|
|
//
|
|
|
|
|
this.repositoryItemBreadCrumbEdit1.AutoHeight = false;
|
|
|
|
|
this.repositoryItemBreadCrumbEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
|
|
this.repositoryItemBreadCrumbEdit1.Name = "repositoryItemBreadCrumbEdit1";
|
|
|
|
|
breadCrumbNode1.Caption = "string";
|
|
|
|
|
breadCrumbNode1.Value = "string";
|
|
|
|
|
this.repositoryItemBreadCrumbEdit1.Nodes.AddRange(new DevExpress.XtraEditors.BreadCrumbNode[] {
|
|
|
|
|
breadCrumbNode1});
|
|
|
|
|
//
|
|
|
|
|
// comboBoxEdit1
|
|
|
|
|
//
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.comboBoxEdit1.Location = new System.Drawing.Point(125, 49);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.comboBoxEdit1.MenuManager = this.toolbarFormManager1;
|
|
|
|
|
this.comboBoxEdit1.Name = "comboBoxEdit1";
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.comboBoxEdit1.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.comboBoxEdit1.Properties.Appearance.Options.UseFont = true;
|
|
|
|
|
this.comboBoxEdit1.Properties.AppearanceDropDown.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.comboBoxEdit1.Properties.AppearanceDropDown.Options.UseFont = true;
|
|
|
|
|
this.comboBoxEdit1.Properties.AppearanceFocused.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.comboBoxEdit1.Properties.AppearanceFocused.Options.UseFont = true;
|
|
|
|
|
this.comboBoxEdit1.Properties.AppearanceItemSelected.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.comboBoxEdit1.Properties.AppearanceItemSelected.Options.UseFont = true;
|
2024-05-28 14:36:38 +00:00
|
|
|
|
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;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.comboBoxEdit1.Size = new System.Drawing.Size(297, 26);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.comboBoxEdit1.StyleController = this.layoutControl1;
|
|
|
|
|
this.comboBoxEdit1.TabIndex = 9;
|
|
|
|
|
this.comboBoxEdit1.SelectedIndexChanged += new System.EventHandler(this.comboBoxEdit1_SelectedIndexChanged);
|
|
|
|
|
//
|
|
|
|
|
// Root
|
|
|
|
|
//
|
|
|
|
|
this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
|
|
|
|
|
this.Root.GroupBordersVisible = false;
|
|
|
|
|
this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
|
|
|
|
this.tabbedControlGroup1});
|
|
|
|
|
this.Root.Name = "Root";
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.Root.Size = new System.Drawing.Size(852, 563);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.Root.TextVisible = false;
|
|
|
|
|
//
|
|
|
|
|
// tabbedControlGroup1
|
|
|
|
|
//
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.tabbedControlGroup1.AppearanceGroup.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.tabbedControlGroup1.AppearanceGroup.Options.UseFont = true;
|
|
|
|
|
this.tabbedControlGroup1.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.tabbedControlGroup1.AppearanceItemCaption.Options.UseFont = true;
|
|
|
|
|
this.tabbedControlGroup1.AppearanceTabPage.Header.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.tabbedControlGroup1.AppearanceTabPage.Header.Options.UseFont = true;
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.tabbedControlGroup1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.tabbedControlGroup1.Name = "tabbedControlGroup1";
|
|
|
|
|
this.tabbedControlGroup1.SelectedTabPage = this.layoutControlGroup1;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.tabbedControlGroup1.Size = new System.Drawing.Size(836, 547);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.tabbedControlGroup1.TabPages.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
|
|
|
|
this.layoutControlGroup1});
|
|
|
|
|
this.tabbedControlGroup1.Text = "角色列表";
|
|
|
|
|
//
|
|
|
|
|
// layoutControlGroup1
|
|
|
|
|
//
|
|
|
|
|
this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
|
|
|
|
this.layoutControlItem6,
|
|
|
|
|
this.layoutControlItem3,
|
|
|
|
|
this.emptySpaceItem2});
|
|
|
|
|
this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.layoutControlGroup1.Name = "layoutControlGroup1";
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.layoutControlGroup1.Size = new System.Drawing.Size(816, 498);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.layoutControlGroup1.Text = "角色列表";
|
|
|
|
|
//
|
|
|
|
|
// layoutControlItem6
|
|
|
|
|
//
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.layoutControlItem6.AppearanceItemCaption.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.layoutControlItem6.AppearanceItemCaption.Options.UseFont = true;
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.layoutControlItem6.Control = this.comboBoxEdit1;
|
|
|
|
|
this.layoutControlItem6.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.layoutControlItem6.Name = "layoutControlItem6";
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.layoutControlItem6.Size = new System.Drawing.Size(406, 30);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.layoutControlItem6.Text = "选择角色状态";
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.layoutControlItem6.TextSize = new System.Drawing.Size(96, 19);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
//
|
|
|
|
|
// layoutControlItem3
|
|
|
|
|
//
|
|
|
|
|
this.layoutControlItem3.Control = this.dgvDatas;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.layoutControlItem3.Location = new System.Drawing.Point(0, 30);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.layoutControlItem3.Name = "layoutControlItem3";
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.layoutControlItem3.Size = new System.Drawing.Size(816, 468);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0);
|
|
|
|
|
this.layoutControlItem3.TextVisible = false;
|
|
|
|
|
//
|
|
|
|
|
// emptySpaceItem2
|
|
|
|
|
//
|
|
|
|
|
this.emptySpaceItem2.AllowHotTrack = false;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.emptySpaceItem2.Location = new System.Drawing.Point(406, 0);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.emptySpaceItem2.Name = "emptySpaceItem2";
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.emptySpaceItem2.Size = new System.Drawing.Size(410, 30);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0);
|
|
|
|
|
//
|
|
|
|
|
// dxValidationProvider1
|
|
|
|
|
//
|
|
|
|
|
this.dxValidationProvider1.ValidationMode = DevExpress.XtraEditors.DXErrorProvider.ValidationMode.Auto;
|
|
|
|
|
//
|
|
|
|
|
// barLargeButtonItem2
|
|
|
|
|
//
|
|
|
|
|
this.barLargeButtonItem2.Caption = "保存";
|
|
|
|
|
this.barLargeButtonItem2.Id = 4;
|
|
|
|
|
this.barLargeButtonItem2.Name = "barLargeButtonItem2";
|
|
|
|
|
//
|
|
|
|
|
// barLargeButtonItem3
|
|
|
|
|
//
|
|
|
|
|
this.barLargeButtonItem3.Caption = "保存";
|
|
|
|
|
this.barLargeButtonItem3.Id = 4;
|
|
|
|
|
this.barLargeButtonItem3.Name = "barLargeButtonItem3";
|
|
|
|
|
//
|
|
|
|
|
// toolbarFormControl1
|
|
|
|
|
//
|
|
|
|
|
this.toolbarFormControl1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.toolbarFormControl1.Manager = this.toolbarFormManager2;
|
|
|
|
|
this.toolbarFormControl1.Name = "toolbarFormControl1";
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.toolbarFormControl1.Size = new System.Drawing.Size(852, 31);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.toolbarFormControl1.TabIndex = 10;
|
|
|
|
|
this.toolbarFormControl1.TabStop = false;
|
|
|
|
|
this.toolbarFormControl1.TitleItemLinks.Add(this.bBtnAdd);
|
|
|
|
|
this.toolbarFormControl1.TitleItemLinks.Add(this.bBtnModify);
|
|
|
|
|
this.toolbarFormControl1.TitleItemLinks.Add(this.bBtnStop);
|
|
|
|
|
this.toolbarFormControl1.TitleItemLinks.Add(this.bBtnRoleAuths);
|
|
|
|
|
this.toolbarFormControl1.TitleItemLinks.Add(this.bBtnRoleUsers);
|
|
|
|
|
this.toolbarFormControl1.ToolbarForm = this;
|
|
|
|
|
//
|
|
|
|
|
// toolbarFormManager2
|
|
|
|
|
//
|
|
|
|
|
this.toolbarFormManager2.AllowCustomization = false;
|
|
|
|
|
this.toolbarFormManager2.AllowMoveBarOnToolbar = false;
|
|
|
|
|
this.toolbarFormManager2.AllowQuickCustomization = false;
|
|
|
|
|
this.toolbarFormManager2.DockControls.Add(this.barDockControl1);
|
|
|
|
|
this.toolbarFormManager2.DockControls.Add(this.barDockControl2);
|
|
|
|
|
this.toolbarFormManager2.DockControls.Add(this.barDockControl3);
|
|
|
|
|
this.toolbarFormManager2.DockControls.Add(this.barDockControl4);
|
|
|
|
|
this.toolbarFormManager2.Form = this;
|
|
|
|
|
this.toolbarFormManager2.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
|
|
|
|
|
this.barButtonItem3,
|
|
|
|
|
this.bBtnSave,
|
|
|
|
|
this.barButtonItem2,
|
|
|
|
|
this.bBtnAdd,
|
|
|
|
|
this.bBtnModify,
|
|
|
|
|
this.bBtnStop,
|
|
|
|
|
this.bBtnRoleAuths,
|
|
|
|
|
this.bBtnRoleUsers,
|
|
|
|
|
this.barButtonItem1});
|
|
|
|
|
this.toolbarFormManager2.MaxItemId = 7;
|
|
|
|
|
//
|
|
|
|
|
// barDockControl1
|
|
|
|
|
//
|
|
|
|
|
this.barDockControl1.CausesValidation = false;
|
|
|
|
|
this.barDockControl1.Dock = System.Windows.Forms.DockStyle.Top;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.barDockControl1.Location = new System.Drawing.Point(0, 31);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.barDockControl1.Manager = this.toolbarFormManager2;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.barDockControl1.Size = new System.Drawing.Size(852, 0);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
//
|
|
|
|
|
// barDockControl2
|
|
|
|
|
//
|
|
|
|
|
this.barDockControl2.CausesValidation = false;
|
|
|
|
|
this.barDockControl2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.barDockControl2.Location = new System.Drawing.Point(0, 594);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.barDockControl2.Manager = this.toolbarFormManager2;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.barDockControl2.Size = new System.Drawing.Size(852, 0);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
//
|
|
|
|
|
// barDockControl3
|
|
|
|
|
//
|
|
|
|
|
this.barDockControl3.CausesValidation = false;
|
|
|
|
|
this.barDockControl3.Dock = System.Windows.Forms.DockStyle.Left;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.barDockControl3.Location = new System.Drawing.Point(0, 31);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.barDockControl3.Manager = this.toolbarFormManager2;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.barDockControl3.Size = new System.Drawing.Size(0, 563);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
//
|
|
|
|
|
// barDockControl4
|
|
|
|
|
//
|
|
|
|
|
this.barDockControl4.CausesValidation = false;
|
|
|
|
|
this.barDockControl4.Dock = System.Windows.Forms.DockStyle.Right;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.barDockControl4.Location = new System.Drawing.Point(852, 31);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.barDockControl4.Manager = this.toolbarFormManager2;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.barDockControl4.Size = new System.Drawing.Size(0, 563);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
//
|
|
|
|
|
// bBtnAdd
|
|
|
|
|
//
|
|
|
|
|
this.bBtnAdd.Caption = "增加";
|
|
|
|
|
this.bBtnAdd.Id = 0;
|
|
|
|
|
this.bBtnAdd.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("bBtnAdd.ImageOptions.Image")));
|
|
|
|
|
this.bBtnAdd.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("bBtnAdd.ImageOptions.LargeImage")));
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.bBtnAdd.ItemAppearance.Disabled.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.bBtnAdd.ItemAppearance.Disabled.Options.UseFont = true;
|
|
|
|
|
this.bBtnAdd.ItemAppearance.Hovered.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.bBtnAdd.ItemAppearance.Hovered.Options.UseFont = true;
|
|
|
|
|
this.bBtnAdd.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.bBtnAdd.ItemAppearance.Normal.Options.UseFont = true;
|
|
|
|
|
this.bBtnAdd.ItemAppearance.Pressed.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.bBtnAdd.ItemAppearance.Pressed.Options.UseFont = true;
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.bBtnAdd.Name = "bBtnAdd";
|
|
|
|
|
this.bBtnAdd.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
|
|
|
|
|
this.bBtnAdd.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bBtnAdd_ItemClick);
|
|
|
|
|
//
|
|
|
|
|
// bBtnModify
|
|
|
|
|
//
|
|
|
|
|
this.bBtnModify.Caption = "修改";
|
|
|
|
|
this.bBtnModify.Enabled = false;
|
|
|
|
|
this.bBtnModify.Id = 1;
|
|
|
|
|
this.bBtnModify.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("bBtnModify.ImageOptions.Image")));
|
|
|
|
|
this.bBtnModify.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("bBtnModify.ImageOptions.LargeImage")));
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.bBtnModify.ItemAppearance.Disabled.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.bBtnModify.ItemAppearance.Disabled.Options.UseFont = true;
|
|
|
|
|
this.bBtnModify.ItemAppearance.Hovered.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.bBtnModify.ItemAppearance.Hovered.Options.UseFont = true;
|
|
|
|
|
this.bBtnModify.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.bBtnModify.ItemAppearance.Normal.Options.UseFont = true;
|
|
|
|
|
this.bBtnModify.ItemAppearance.Pressed.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.bBtnModify.ItemAppearance.Pressed.Options.UseFont = true;
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.bBtnModify.Name = "bBtnModify";
|
|
|
|
|
this.bBtnModify.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
|
|
|
|
|
this.bBtnModify.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bBtnModify_ItemClick);
|
|
|
|
|
//
|
|
|
|
|
// bBtnStop
|
|
|
|
|
//
|
|
|
|
|
this.bBtnStop.Caption = "解锁";
|
|
|
|
|
this.bBtnStop.Enabled = false;
|
|
|
|
|
this.bBtnStop.Id = 2;
|
|
|
|
|
this.bBtnStop.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("bBtnStop.ImageOptions.Image")));
|
|
|
|
|
this.bBtnStop.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("bBtnStop.ImageOptions.LargeImage")));
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.bBtnStop.ItemAppearance.Disabled.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.bBtnStop.ItemAppearance.Disabled.Options.UseFont = true;
|
|
|
|
|
this.bBtnStop.ItemAppearance.Hovered.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.bBtnStop.ItemAppearance.Hovered.Options.UseFont = true;
|
|
|
|
|
this.bBtnStop.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.bBtnStop.ItemAppearance.Normal.Options.UseFont = true;
|
|
|
|
|
this.bBtnStop.ItemAppearance.Pressed.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.bBtnStop.ItemAppearance.Pressed.Options.UseFont = true;
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.bBtnStop.Name = "bBtnStop";
|
|
|
|
|
this.bBtnStop.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
|
|
|
|
|
this.bBtnStop.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bBtnStop_ItemClick);
|
|
|
|
|
//
|
|
|
|
|
// bBtnRoleAuths
|
|
|
|
|
//
|
|
|
|
|
this.bBtnRoleAuths.Caption = "权限分配";
|
|
|
|
|
this.bBtnRoleAuths.Enabled = false;
|
|
|
|
|
this.bBtnRoleAuths.Id = 3;
|
|
|
|
|
this.bBtnRoleAuths.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("bBtnRoleAuths.ImageOptions.Image")));
|
|
|
|
|
this.bBtnRoleAuths.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("bBtnRoleAuths.ImageOptions.LargeImage")));
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.bBtnRoleAuths.ItemAppearance.Disabled.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.bBtnRoleAuths.ItemAppearance.Disabled.Options.UseFont = true;
|
|
|
|
|
this.bBtnRoleAuths.ItemAppearance.Hovered.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.bBtnRoleAuths.ItemAppearance.Hovered.Options.UseFont = true;
|
|
|
|
|
this.bBtnRoleAuths.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.bBtnRoleAuths.ItemAppearance.Normal.Options.UseFont = true;
|
|
|
|
|
this.bBtnRoleAuths.ItemAppearance.Pressed.Font = new System.Drawing.Font("Tahoma", 12F);
|
|
|
|
|
this.bBtnRoleAuths.ItemAppearance.Pressed.Options.UseFont = true;
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.bBtnRoleAuths.Name = "bBtnRoleAuths";
|
|
|
|
|
this.bBtnRoleAuths.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
|
|
|
|
|
this.bBtnRoleAuths.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bBtnRoleAuths_ItemClick);
|
|
|
|
|
//
|
|
|
|
|
// bBtnRoleUsers
|
|
|
|
|
//
|
|
|
|
|
this.bBtnRoleUsers.Caption = "用户分配";
|
|
|
|
|
this.bBtnRoleUsers.Enabled = false;
|
|
|
|
|
this.bBtnRoleUsers.Id = 4;
|
|
|
|
|
this.bBtnRoleUsers.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("bBtnRoleUsers.ImageOptions.Image")));
|
|
|
|
|
this.bBtnRoleUsers.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("bBtnRoleUsers.ImageOptions.LargeImage")));
|
|
|
|
|
this.bBtnRoleUsers.Name = "bBtnRoleUsers";
|
|
|
|
|
this.bBtnRoleUsers.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
|
|
|
|
|
this.bBtnRoleUsers.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bBtnRoleUsers_ItemClick);
|
|
|
|
|
//
|
|
|
|
|
// barButtonItem1
|
|
|
|
|
//
|
|
|
|
|
this.barButtonItem1.Caption = "barButtonItem1";
|
|
|
|
|
this.barButtonItem1.Id = 5;
|
|
|
|
|
this.barButtonItem1.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barButtonItem1.ImageOptions.Image")));
|
|
|
|
|
this.barButtonItem1.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barButtonItem1.ImageOptions.LargeImage")));
|
|
|
|
|
this.barButtonItem1.Name = "barButtonItem1";
|
|
|
|
|
//
|
|
|
|
|
// frmRoles
|
|
|
|
|
//
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
2024-07-22 07:50:10 +00:00
|
|
|
|
this.ClientSize = new System.Drawing.Size(852, 594);
|
2024-05-28 14:36:38 +00:00
|
|
|
|
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.barDockControl3);
|
|
|
|
|
this.Controls.Add(this.barDockControl4);
|
|
|
|
|
this.Controls.Add(this.barDockControl2);
|
|
|
|
|
this.Controls.Add(this.barDockControl1);
|
|
|
|
|
this.Controls.Add(this.toolbarFormControl1);
|
|
|
|
|
this.IconOptions.Image = ((System.Drawing.Image)(resources.GetObject("frmRoles.IconOptions.Image")));
|
|
|
|
|
this.Name = "frmRoles";
|
|
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
|
|
|
this.Text = "角色管理";
|
|
|
|
|
this.ToolbarFormControl = this.toolbarFormControl1;
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.toolbarFormManager1)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
|
|
|
|
|
this.layoutControl1.ResumeLayout(false);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvDatas)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit2)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemBreadCrumbEdit1)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit1.Properties)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup1)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.toolbarFormControl1)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.toolbarFormManager2)).EndInit();
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
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.XtraBars.BarButtonItem barButtonItem3;
|
|
|
|
|
private DevExpress.XtraLayout.LayoutControl layoutControl1;
|
|
|
|
|
private DevExpress.XtraLayout.LayoutControlGroup Root;
|
|
|
|
|
private DevExpress.XtraGrid.GridControl dgvDatas;
|
|
|
|
|
private DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider dxValidationProvider1;
|
|
|
|
|
private DevExpress.XtraBars.BarLargeButtonItem barLargeButtonItem2;
|
|
|
|
|
private DevExpress.XtraBars.BarLargeButtonItem barLargeButtonItem3;
|
|
|
|
|
private DevExpress.XtraBars.BarButtonItem bBtnSave;
|
|
|
|
|
private DevExpress.XtraBars.BarButtonItem barButtonItem2;
|
|
|
|
|
private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn colRoleCode;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn colRoleName;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn colRoleDescription;
|
|
|
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
|
|
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn colRoleStatus;
|
|
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemBreadCrumbEdit repositoryItemBreadCrumbEdit1;
|
|
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1;
|
|
|
|
|
private DevExpress.XtraBars.ToolbarForm.ToolbarFormControl toolbarFormControl1;
|
|
|
|
|
private DevExpress.XtraBars.ToolbarForm.ToolbarFormManager toolbarFormManager2;
|
|
|
|
|
private DevExpress.XtraBars.BarDockControl barDockControl1;
|
|
|
|
|
private DevExpress.XtraBars.BarDockControl barDockControl2;
|
|
|
|
|
private DevExpress.XtraBars.BarDockControl barDockControl3;
|
|
|
|
|
private DevExpress.XtraBars.BarDockControl barDockControl4;
|
|
|
|
|
private DevExpress.XtraBars.BarButtonItem bBtnAdd;
|
|
|
|
|
private DevExpress.XtraBars.BarButtonItem bBtnModify;
|
|
|
|
|
private DevExpress.XtraBars.BarButtonItem bBtnStop;
|
|
|
|
|
private DevExpress.XtraBars.BarButtonItem bBtnRoleAuths;
|
|
|
|
|
private DevExpress.XtraBars.BarButtonItem bBtnRoleUsers;
|
|
|
|
|
private DevExpress.XtraEditors.ComboBoxEdit comboBoxEdit1;
|
|
|
|
|
private DevExpress.XtraLayout.TabbedControlGroup tabbedControlGroup1;
|
|
|
|
|
private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1;
|
|
|
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6;
|
|
|
|
|
private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem2;
|
|
|
|
|
private DevExpress.XtraSplashScreen.SplashScreenManager splashScreenManager1;
|
|
|
|
|
private DevExpress.XtraBars.BarButtonItem barButtonItem1;
|
|
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit2;
|
|
|
|
|
}
|
|
|
|
|
}
|