205 lines
11 KiB
C#
205 lines
11 KiB
C#
namespace Tanshu.Accounts.PointOfSale
|
|
{
|
|
partial class ProductGroupListForm
|
|
{
|
|
/// <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.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
this.btnAdd = new System.Windows.Forms.Button();
|
|
this.btnEdit = new System.Windows.Forms.Button();
|
|
this.btnExit = new System.Windows.Forms.Button();
|
|
this.dgvProductGroups = new System.Windows.Forms.DataGridView();
|
|
this.bsList = new System.Windows.Forms.BindingSource(this.components);
|
|
this.nameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.moveUp = new System.Windows.Forms.DataGridViewButtonColumn();
|
|
this.moveDown = new System.Windows.Forms.DataGridViewButtonColumn();
|
|
this.discountLimitDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.groupTypeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.btnSave = new System.Windows.Forms.Button();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvProductGroups)).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(514, 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);
|
|
//
|
|
// dgvProductGroups
|
|
//
|
|
this.dgvProductGroups.AllowUserToAddRows = false;
|
|
this.dgvProductGroups.AllowUserToDeleteRows = false;
|
|
this.dgvProductGroups.AllowUserToResizeRows = false;
|
|
this.dgvProductGroups.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.dgvProductGroups.AutoGenerateColumns = false;
|
|
this.dgvProductGroups.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
|
|
this.dgvProductGroups.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dgvProductGroups.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.nameDataGridViewTextBoxColumn,
|
|
this.moveUp,
|
|
this.moveDown,
|
|
this.discountLimitDataGridViewTextBoxColumn,
|
|
this.groupTypeDataGridViewTextBoxColumn});
|
|
this.dgvProductGroups.DataSource = this.bsList;
|
|
this.dgvProductGroups.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
|
|
this.dgvProductGroups.Location = new System.Drawing.Point(12, 12);
|
|
this.dgvProductGroups.MultiSelect = false;
|
|
this.dgvProductGroups.Name = "dgvProductGroups";
|
|
this.dgvProductGroups.ReadOnly = true;
|
|
this.dgvProductGroups.RowHeadersVisible = false;
|
|
this.dgvProductGroups.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
|
this.dgvProductGroups.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
this.dgvProductGroups.Size = new System.Drawing.Size(577, 237);
|
|
this.dgvProductGroups.TabIndex = 74;
|
|
//
|
|
// bsList
|
|
//
|
|
this.bsList.DataSource = typeof(Tanshu.Accounts.Entities.ProductGroup);
|
|
//
|
|
// nameDataGridViewTextBoxColumn
|
|
//
|
|
this.nameDataGridViewTextBoxColumn.DataPropertyName = "Name";
|
|
this.nameDataGridViewTextBoxColumn.HeaderText = "Name";
|
|
this.nameDataGridViewTextBoxColumn.Name = "nameDataGridViewTextBoxColumn";
|
|
this.nameDataGridViewTextBoxColumn.ReadOnly = true;
|
|
this.nameDataGridViewTextBoxColumn.Width = 60;
|
|
//
|
|
// moveUp
|
|
//
|
|
this.moveUp.HeaderText = "Up";
|
|
this.moveUp.Name = "moveUp";
|
|
this.moveUp.ReadOnly = true;
|
|
this.moveUp.Text = "Up";
|
|
this.moveUp.UseColumnTextForButtonValue = true;
|
|
this.moveUp.Width = 27;
|
|
//
|
|
// moveDown
|
|
//
|
|
this.moveDown.HeaderText = "Down";
|
|
this.moveDown.Name = "moveDown";
|
|
this.moveDown.ReadOnly = true;
|
|
this.moveDown.Text = "Down";
|
|
this.moveDown.UseColumnTextForButtonValue = true;
|
|
this.moveDown.Width = 41;
|
|
//
|
|
// discountLimitDataGridViewTextBoxColumn
|
|
//
|
|
this.discountLimitDataGridViewTextBoxColumn.DataPropertyName = "DiscountLimit";
|
|
dataGridViewCellStyle1.Format = "P0";
|
|
dataGridViewCellStyle1.NullValue = null;
|
|
this.discountLimitDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1;
|
|
this.discountLimitDataGridViewTextBoxColumn.HeaderText = "Discount";
|
|
this.discountLimitDataGridViewTextBoxColumn.Name = "discountLimitDataGridViewTextBoxColumn";
|
|
this.discountLimitDataGridViewTextBoxColumn.ReadOnly = true;
|
|
this.discountLimitDataGridViewTextBoxColumn.Width = 74;
|
|
//
|
|
// groupTypeDataGridViewTextBoxColumn
|
|
//
|
|
this.groupTypeDataGridViewTextBoxColumn.DataPropertyName = "GroupType";
|
|
this.groupTypeDataGridViewTextBoxColumn.HeaderText = "Type";
|
|
this.groupTypeDataGridViewTextBoxColumn.Name = "groupTypeDataGridViewTextBoxColumn";
|
|
this.groupTypeDataGridViewTextBoxColumn.ReadOnly = true;
|
|
this.groupTypeDataGridViewTextBoxColumn.Width = 56;
|
|
//
|
|
// btnSave
|
|
//
|
|
this.btnSave.AccessibleName = "Done";
|
|
this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.btnSave.Location = new System.Drawing.Point(174, 255);
|
|
this.btnSave.Name = "btnSave";
|
|
this.btnSave.Size = new System.Drawing.Size(75, 75);
|
|
this.btnSave.TabIndex = 75;
|
|
this.btnSave.Text = "&Save";
|
|
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
|
//
|
|
// ProductGroupListForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(601, 342);
|
|
this.Controls.Add(this.btnSave);
|
|
this.Controls.Add(this.dgvProductGroups);
|
|
this.Controls.Add(this.btnAdd);
|
|
this.Controls.Add(this.btnEdit);
|
|
this.Controls.Add(this.btnExit);
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "ProductGroupListForm";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Product Types";
|
|
this.Load += new System.EventHandler(this.ProductGroupListForm_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvProductGroups)).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 dgvProductGroups;
|
|
private System.Windows.Forms.BindingSource bsList;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn nameDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewButtonColumn moveUp;
|
|
private System.Windows.Forms.DataGridViewButtonColumn moveDown;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn discountLimitDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn groupTypeDataGridViewTextBoxColumn;
|
|
internal System.Windows.Forms.Button btnSave;
|
|
}
|
|
} |