| | |
| | | private void InitializeComponent() |
| | | { |
| | | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(User)); |
| | | DevExpress.XtraGrid.GridFormatRule gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule(); |
| | | DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression(); |
| | | 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(); |
| | | this.isLocked = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.toolBarMenu1 = new Gs.DevApp.UserControl.ToolBarMenu(); |
| | | this.gcMain = new DevExpress.XtraGrid.GridControl(); |
| | | this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | |
| | | this.email = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.createTime = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.lastLoginTime = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.isLocked = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.loginCounter = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.colRole = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); |
| | |
| | | this.labelControl9 = new DevExpress.XtraEditors.LabelControl(); |
| | | this.labelControl6 = new DevExpress.XtraEditors.LabelControl(); |
| | | this.labelControl5 = new DevExpress.XtraEditors.LabelControl(); |
| | | this.txt_isLocked = new DevExpress.XtraEditors.ComboBoxEdit(); |
| | | this.txt_isStatus = new DevExpress.XtraEditors.ComboBoxEdit(); |
| | | this.txt_password = new DevExpress.XtraEditors.TextEdit(); |
| | | this.lbPwd = new DevExpress.XtraEditors.LabelControl(); |
| | | this.txt_userName = new DevExpress.XtraEditors.TextEdit(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_address.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_tel.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_email.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_isLocked.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_isStatus.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_password.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_userName.Properties)).BeginInit(); |
| | | this.SuspendLayout(); |
| | | // |
| | | // isLocked |
| | | // |
| | | this.isLocked.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | this.isLocked.AppearanceCell.Options.UseFont = true; |
| | | this.isLocked.Caption = "状态"; |
| | | this.isLocked.FieldName = "isStatusTxt"; |
| | | this.isLocked.MinWidth = 25; |
| | | this.isLocked.Name = "isLocked"; |
| | | this.isLocked.OptionsColumn.AllowEdit = false; |
| | | this.isLocked.Visible = true; |
| | | this.isLocked.VisibleIndex = 6; |
| | | this.isLocked.Width = 94; |
| | | // |
| | | // toolBarMenu1 |
| | | // |
| | |
| | | this.isLocked, |
| | | this.loginCounter, |
| | | this.colRole}); |
| | | gridFormatRule1.Column = this.isLocked; |
| | | gridFormatRule1.Name = "Format0"; |
| | | formatConditionRuleExpression1.Appearance.ForeColor = System.Drawing.Color.Red; |
| | | formatConditionRuleExpression1.Appearance.Options.UseForeColor = true; |
| | | formatConditionRuleExpression1.Expression = "[isStatusTxt] = [禁用]"; |
| | | formatConditionRuleExpression1.PredefinedName = "Red Text"; |
| | | gridFormatRule1.Rule = formatConditionRuleExpression1; |
| | | this.gridView1.FormatRules.Add(gridFormatRule1); |
| | | this.gridView1.GridControl = this.gcMain; |
| | | this.gridView1.Name = "gridView1"; |
| | | this.gridView1.OptionsFind.ShowSearchNavButtons = false; |
| | |
| | | // |
| | | this.createTime.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | this.createTime.AppearanceCell.Options.UseFont = true; |
| | | this.createTime.Caption = "建立时间"; |
| | | this.createTime.FieldName = "createTime"; |
| | | this.createTime.Caption = "最后编辑时间"; |
| | | this.createTime.FieldName = "edtTime"; |
| | | this.createTime.MinWidth = 25; |
| | | this.createTime.Name = "createTime"; |
| | | this.createTime.OptionsColumn.AllowEdit = false; |
| | |
| | | this.lastLoginTime.Visible = true; |
| | | this.lastLoginTime.VisibleIndex = 5; |
| | | this.lastLoginTime.Width = 94; |
| | | // |
| | | // isLocked |
| | | // |
| | | this.isLocked.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | this.isLocked.AppearanceCell.Options.UseFont = true; |
| | | this.isLocked.Caption = "状态"; |
| | | this.isLocked.FieldName = "isLockedTxt"; |
| | | this.isLocked.MinWidth = 25; |
| | | this.isLocked.Name = "isLocked"; |
| | | this.isLocked.OptionsColumn.AllowEdit = false; |
| | | this.isLocked.Visible = true; |
| | | this.isLocked.VisibleIndex = 6; |
| | | this.isLocked.Width = 94; |
| | | // |
| | | // loginCounter |
| | | // |
| | |
| | | this.panel1.Controls.Add(this.labelControl9); |
| | | this.panel1.Controls.Add(this.labelControl6); |
| | | this.panel1.Controls.Add(this.labelControl5); |
| | | this.panel1.Controls.Add(this.txt_isLocked); |
| | | this.panel1.Controls.Add(this.txt_isStatus); |
| | | this.panel1.Controls.Add(this.txt_password); |
| | | this.panel1.Controls.Add(this.lbPwd); |
| | | this.panel1.Controls.Add(this.txt_userName); |
| | |
| | | this.labelControl5.TabIndex = 101; |
| | | this.labelControl5.Text = "锁定状态:"; |
| | | // |
| | | // txt_isLocked |
| | | // txt_isStatus |
| | | // |
| | | this.txt_isLocked.EditValue = "-请选择-"; |
| | | this.txt_isLocked.Location = new System.Drawing.Point(125, 336); |
| | | this.txt_isLocked.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.txt_isLocked.Name = "txt_isLocked"; |
| | | this.txt_isLocked.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | this.txt_isLocked.Properties.Appearance.Options.UseFont = true; |
| | | this.txt_isLocked.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
| | | this.txt_isStatus.EditValue = "-请选择-"; |
| | | this.txt_isStatus.Location = new System.Drawing.Point(125, 336); |
| | | this.txt_isStatus.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.txt_isStatus.Name = "txt_isStatus"; |
| | | this.txt_isStatus.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | this.txt_isStatus.Properties.Appearance.Options.UseFont = true; |
| | | this.txt_isStatus.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
| | | new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); |
| | | this.txt_isLocked.Properties.Items.AddRange(new object[] { |
| | | this.txt_isStatus.Properties.Items.AddRange(new object[] { |
| | | "-请选择-", |
| | | "正常", |
| | | "锁定"}); |
| | | this.txt_isLocked.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; |
| | | this.txt_isLocked.Size = new System.Drawing.Size(297, 28); |
| | | this.txt_isLocked.TabIndex = 100; |
| | | this.txt_isStatus.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; |
| | | this.txt_isStatus.Size = new System.Drawing.Size(297, 28); |
| | | this.txt_isStatus.TabIndex = 100; |
| | | // |
| | | // txt_password |
| | | // |
| | |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_address.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_tel.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_email.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_isLocked.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_isStatus.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_password.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txt_userName.Properties)).EndInit(); |
| | | this.ResumeLayout(false); |
| | |
| | | private DevExpress.XtraEditors.LabelControl labelControl9; |
| | | private DevExpress.XtraEditors.LabelControl labelControl6; |
| | | private DevExpress.XtraEditors.LabelControl labelControl5; |
| | | private DevExpress.XtraEditors.ComboBoxEdit txt_isLocked; |
| | | private DevExpress.XtraEditors.ComboBoxEdit txt_isStatus; |
| | | private DevExpress.XtraEditors.TextEdit txt_password; |
| | | private DevExpress.XtraEditors.LabelControl lbPwd; |
| | | private DevExpress.XtraEditors.TextEdit txt_userName; |