187 lines
9.0 KiB
C#
187 lines
9.0 KiB
C#
|
namespace Tanshu.Accounts.PointOfSale
|
|||
|
{
|
|||
|
partial class UserListForm
|
|||
|
{
|
|||
|
/// <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();
|
|||
|
this.btnAdd = new System.Windows.Forms.Button();
|
|||
|
this.btnEdit = new System.Windows.Forms.Button();
|
|||
|
this.btnExit = new System.Windows.Forms.Button();
|
|||
|
this.dgvUsers = new System.Windows.Forms.DataGridView();
|
|||
|
this.bsList = new System.Windows.Forms.BindingSource(this.components);
|
|||
|
this.nameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|||
|
this.Password = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|||
|
this.MsrString = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|||
|
this.LockedOut = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|||
|
this.UserGroups = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.dgvUsers)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.bsList)).BeginInit();
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// btnAdd
|
|||
|
//
|
|||
|
this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|||
|
this.btnAdd.Location = new System.Drawing.Point(12, 255);
|
|||
|
this.btnAdd.Name = "btnAdd";
|
|||
|
this.btnAdd.Size = new System.Drawing.Size(75, 75);
|
|||
|
this.btnAdd.TabIndex = 68;
|
|||
|
this.btnAdd.Text = "&Add";
|
|||
|
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
|
|||
|
//
|
|||
|
// btnEdit
|
|||
|
//
|
|||
|
this.btnEdit.AccessibleName = "Done";
|
|||
|
this.btnEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|||
|
this.btnEdit.Location = new System.Drawing.Point(93, 255);
|
|||
|
this.btnEdit.Name = "btnEdit";
|
|||
|
this.btnEdit.Size = new System.Drawing.Size(75, 75);
|
|||
|
this.btnEdit.TabIndex = 62;
|
|||
|
this.btnEdit.Text = "&Edit";
|
|||
|
this.btnEdit.Click += new System.EventHandler(this.btnEdit_Click);
|
|||
|
//
|
|||
|
// btnExit
|
|||
|
//
|
|||
|
this.btnExit.AccessibleName = "Done";
|
|||
|
this.btnExit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|||
|
this.btnExit.Location = new System.Drawing.Point(575, 255);
|
|||
|
this.btnExit.Name = "btnExit";
|
|||
|
this.btnExit.Size = new System.Drawing.Size(75, 75);
|
|||
|
this.btnExit.TabIndex = 61;
|
|||
|
this.btnExit.Text = "E&xit";
|
|||
|
this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
|
|||
|
//
|
|||
|
// dgvUsers
|
|||
|
//
|
|||
|
this.dgvUsers.AllowUserToAddRows = false;
|
|||
|
this.dgvUsers.AllowUserToDeleteRows = false;
|
|||
|
this.dgvUsers.AllowUserToResizeRows = false;
|
|||
|
this.dgvUsers.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.dgvUsers.AutoGenerateColumns = false;
|
|||
|
this.dgvUsers.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
|
|||
|
this.dgvUsers.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|||
|
this.dgvUsers.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|||
|
this.nameDataGridViewTextBoxColumn,
|
|||
|
this.Password,
|
|||
|
this.MsrString,
|
|||
|
this.LockedOut,
|
|||
|
this.UserGroups});
|
|||
|
this.dgvUsers.DataSource = this.bsList;
|
|||
|
this.dgvUsers.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
|
|||
|
this.dgvUsers.Location = new System.Drawing.Point(12, 12);
|
|||
|
this.dgvUsers.MultiSelect = false;
|
|||
|
this.dgvUsers.Name = "dgvUsers";
|
|||
|
this.dgvUsers.ReadOnly = true;
|
|||
|
this.dgvUsers.RowHeadersVisible = false;
|
|||
|
this.dgvUsers.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
|||
|
this.dgvUsers.RowTemplate.Height = 24;
|
|||
|
this.dgvUsers.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|||
|
this.dgvUsers.Size = new System.Drawing.Size(638, 237);
|
|||
|
this.dgvUsers.TabIndex = 74;
|
|||
|
this.dgvUsers.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dgvUsers_CellFormatting);
|
|||
|
//
|
|||
|
// bsList
|
|||
|
//
|
|||
|
this.bsList.DataSource = typeof(Tanshu.Accounts.Entities.Auth.User);
|
|||
|
//
|
|||
|
// nameDataGridViewTextBoxColumn
|
|||
|
//
|
|||
|
this.nameDataGridViewTextBoxColumn.DataPropertyName = "Name";
|
|||
|
this.nameDataGridViewTextBoxColumn.HeaderText = "Name";
|
|||
|
this.nameDataGridViewTextBoxColumn.Name = "nameDataGridViewTextBoxColumn";
|
|||
|
this.nameDataGridViewTextBoxColumn.ReadOnly = true;
|
|||
|
this.nameDataGridViewTextBoxColumn.Width = 60;
|
|||
|
//
|
|||
|
// unitsDataGridViewTextBoxColumn
|
|||
|
//
|
|||
|
this.Password.DataPropertyName = "Password";
|
|||
|
this.Password.HeaderText = "Password";
|
|||
|
this.Password.Name = "Password";
|
|||
|
this.Password.ReadOnly = true;
|
|||
|
this.Password.Width = 78;
|
|||
|
//
|
|||
|
// MsrString
|
|||
|
//
|
|||
|
this.MsrString.DataPropertyName = "MsrString";
|
|||
|
this.MsrString.HeaderText = "Msr";
|
|||
|
this.MsrString.Name = "MsrString";
|
|||
|
this.MsrString.ReadOnly = true;
|
|||
|
this.MsrString.Width = 30;
|
|||
|
//
|
|||
|
// LockedOut
|
|||
|
//
|
|||
|
this.LockedOut.DataPropertyName = "LockedOut";
|
|||
|
this.LockedOut.HeaderText = "Locked";
|
|||
|
this.LockedOut.Name = "LockedOut";
|
|||
|
this.LockedOut.ReadOnly = true;
|
|||
|
this.LockedOut.Width = 49;
|
|||
|
//
|
|||
|
// UserGroups
|
|||
|
//
|
|||
|
this.UserGroups.DataPropertyName = "UserGroups";
|
|||
|
this.UserGroups.HeaderText = "Groups";
|
|||
|
this.UserGroups.Name = "UserGroups";
|
|||
|
this.UserGroups.ReadOnly = true;
|
|||
|
this.UserGroups.Width = 66;
|
|||
|
//
|
|||
|
// UserListForm
|
|||
|
//
|
|||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
this.ClientSize = new System.Drawing.Size(662, 342);
|
|||
|
this.Controls.Add(this.dgvUsers);
|
|||
|
this.Controls.Add(this.btnAdd);
|
|||
|
this.Controls.Add(this.btnEdit);
|
|||
|
this.Controls.Add(this.btnExit);
|
|||
|
this.MaximizeBox = false;
|
|||
|
this.MinimizeBox = false;
|
|||
|
this.Name = "UserListForm";
|
|||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|||
|
this.Text = "Users";
|
|||
|
this.Load += new System.EventHandler(this.UserListForm_Load);
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.dgvUsers)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.bsList)).EndInit();
|
|||
|
this.ResumeLayout(false);
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
internal System.Windows.Forms.Button btnAdd;
|
|||
|
internal System.Windows.Forms.Button btnEdit;
|
|||
|
internal System.Windows.Forms.Button btnExit;
|
|||
|
private System.Windows.Forms.DataGridView dgvUsers;
|
|||
|
private System.Windows.Forms.BindingSource bsList;
|
|||
|
private System.Windows.Forms.DataGridViewTextBoxColumn nameDataGridViewTextBoxColumn;
|
|||
|
private System.Windows.Forms.DataGridViewTextBoxColumn Password;
|
|||
|
private System.Windows.Forms.DataGridViewCheckBoxColumn MsrString;
|
|||
|
private System.Windows.Forms.DataGridViewCheckBoxColumn LockedOut;
|
|||
|
private System.Windows.Forms.DataGridViewTextBoxColumn UserGroups;
|
|||
|
}
|
|||
|
}
|