2010-03-02 17:56:21 +00:00
|
|
|
|
namespace Tanshu.Accounts.PointOfSale
|
|
|
|
|
{
|
|
|
|
|
partial class ProductsForm
|
|
|
|
|
{
|
|
|
|
|
/// <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.Label4 = new System.Windows.Forms.Label();
|
|
|
|
|
this.txtSalePrice = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.bsProducts = new System.Windows.Forms.BindingSource(this.components);
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.btnAddProductGroup = new System.Windows.Forms.Button();
|
|
|
|
|
this.cmbProductGroup = new System.Windows.Forms.ComboBox();
|
|
|
|
|
this.bsProductGroups = new System.Windows.Forms.BindingSource(this.components);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.Label7 = new System.Windows.Forms.Label();
|
|
|
|
|
this.txtName = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.Label2 = new System.Windows.Forms.Label();
|
|
|
|
|
this.btnNavFirst = new System.Windows.Forms.Button();
|
|
|
|
|
this.btnNavPrev = new System.Windows.Forms.Button();
|
|
|
|
|
this.lblNavLocation = new System.Windows.Forms.Label();
|
|
|
|
|
this.btnNavNext = new System.Windows.Forms.Button();
|
|
|
|
|
this.btnLast = new System.Windows.Forms.Button();
|
|
|
|
|
this.txtUniqueID = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.Label1 = new System.Windows.Forms.Label();
|
|
|
|
|
this.btnAdd = new System.Windows.Forms.Button();
|
|
|
|
|
this.btnDelete = new System.Windows.Forms.Button();
|
|
|
|
|
this.btnUpdate = new System.Windows.Forms.Button();
|
|
|
|
|
this.btnExit = new System.Windows.Forms.Button();
|
|
|
|
|
this.chkDiscontinued = new System.Windows.Forms.CheckBox();
|
|
|
|
|
this.cmbSalesTax = new System.Windows.Forms.ComboBox();
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.bsTax = new System.Windows.Forms.BindingSource(this.components);
|
|
|
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
|
|
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
|
|
|
this.txtProductID = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
|
|
|
|
this.txtUnits = new System.Windows.Forms.TextBox();
|
2010-03-02 17:56:21 +00:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.bsProducts)).BeginInit();
|
2011-02-18 16:54:48 +00:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.bsProductGroups)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.bsTax)).BeginInit();
|
|
|
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
|
|
|
this.tableLayoutPanel2.SuspendLayout();
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// Label4
|
|
|
|
|
//
|
|
|
|
|
this.Label4.AutoSize = true;
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.Label4.Location = new System.Drawing.Point(3, 105);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.Label4.Name = "Label4";
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.Label4.Size = new System.Drawing.Size(84, 13);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.Label4.TabIndex = 59;
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.Label4.Text = "Sale Price / Tax";
|
2010-03-02 17:56:21 +00:00
|
|
|
|
//
|
|
|
|
|
// txtSalePrice
|
|
|
|
|
//
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.txtSalePrice.AccessibleName = "";
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.txtSalePrice.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsProducts, "SalePrice", true));
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.txtSalePrice.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
|
|
this.txtSalePrice.Location = new System.Drawing.Point(106, 108);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.txtSalePrice.Name = "txtSalePrice";
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.txtSalePrice.Size = new System.Drawing.Size(149, 20);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.txtSalePrice.TabIndex = 53;
|
|
|
|
|
this.txtSalePrice.Text = "0";
|
|
|
|
|
//
|
|
|
|
|
// bsProducts
|
|
|
|
|
//
|
2011-01-30 07:14:05 +00:00
|
|
|
|
this.bsProducts.DataSource = typeof(Tanshu.Accounts.Entities.Product);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.bsProducts.AddingNew += new System.ComponentModel.AddingNewEventHandler(this.bsProducts_AddingNew);
|
|
|
|
|
this.bsProducts.PositionChanged += new System.EventHandler(this.bsProducts_PositionChanged);
|
|
|
|
|
//
|
2011-02-18 16:54:48 +00:00
|
|
|
|
// btnAddProductGroup
|
|
|
|
|
//
|
|
|
|
|
this.btnAddProductGroup.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
|
|
this.btnAddProductGroup.Location = new System.Drawing.Point(261, 73);
|
|
|
|
|
this.btnAddProductGroup.Name = "btnAddProductGroup";
|
|
|
|
|
this.btnAddProductGroup.Size = new System.Drawing.Size(151, 21);
|
|
|
|
|
this.btnAddProductGroup.TabIndex = 37;
|
|
|
|
|
this.btnAddProductGroup.Text = "Add Group";
|
|
|
|
|
this.btnAddProductGroup.Click += new System.EventHandler(this.btnAddCategory_Click);
|
|
|
|
|
//
|
|
|
|
|
// cmbProductGroup
|
|
|
|
|
//
|
|
|
|
|
this.cmbProductGroup.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bsProducts, "ProductGroup", true));
|
|
|
|
|
this.cmbProductGroup.DataSource = this.bsProductGroups;
|
|
|
|
|
this.cmbProductGroup.DisplayMember = "Name";
|
|
|
|
|
this.cmbProductGroup.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
|
|
this.cmbProductGroup.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
|
|
this.cmbProductGroup.Location = new System.Drawing.Point(106, 73);
|
|
|
|
|
this.cmbProductGroup.Name = "cmbProductGroup";
|
|
|
|
|
this.cmbProductGroup.Size = new System.Drawing.Size(149, 21);
|
|
|
|
|
this.cmbProductGroup.TabIndex = 35;
|
|
|
|
|
this.cmbProductGroup.ValueMember = "ProductTypeID";
|
|
|
|
|
//
|
|
|
|
|
// bsProductGroups
|
|
|
|
|
//
|
|
|
|
|
this.bsProductGroups.DataSource = typeof(Tanshu.Accounts.Entities.ProductGroup);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
//
|
|
|
|
|
// Label7
|
|
|
|
|
//
|
|
|
|
|
this.Label7.AutoSize = true;
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.Label7.Location = new System.Drawing.Point(3, 70);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.Label7.Name = "Label7";
|
|
|
|
|
this.Label7.Size = new System.Drawing.Size(76, 13);
|
|
|
|
|
this.Label7.TabIndex = 33;
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.Label7.Text = "Product Group";
|
2010-03-02 17:56:21 +00:00
|
|
|
|
//
|
|
|
|
|
// txtName
|
|
|
|
|
//
|
|
|
|
|
this.txtName.AccessibleName = "";
|
|
|
|
|
this.txtName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsProducts, "Name", true));
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.txtName.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
|
|
this.txtName.Location = new System.Drawing.Point(106, 38);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.txtName.Name = "txtName";
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.txtName.Size = new System.Drawing.Size(149, 20);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.txtName.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// Label2
|
|
|
|
|
//
|
|
|
|
|
this.Label2.AutoSize = true;
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.Label2.Location = new System.Drawing.Point(3, 35);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.Label2.Name = "Label2";
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.Label2.Size = new System.Drawing.Size(70, 13);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.Label2.TabIndex = 28;
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.Label2.Text = "Name / Units";
|
2010-03-02 17:56:21 +00:00
|
|
|
|
//
|
|
|
|
|
// btnNavFirst
|
|
|
|
|
//
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.btnNavFirst.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.btnNavFirst.Location = new System.Drawing.Point(3, 53);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.btnNavFirst.Name = "btnNavFirst";
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.btnNavFirst.Size = new System.Drawing.Size(97, 44);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.btnNavFirst.TabIndex = 44;
|
|
|
|
|
this.btnNavFirst.Text = "<<";
|
|
|
|
|
this.btnNavFirst.Click += new System.EventHandler(this.btnNavFirst_Click);
|
|
|
|
|
//
|
|
|
|
|
// btnNavPrev
|
|
|
|
|
//
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.btnNavPrev.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.btnNavPrev.Location = new System.Drawing.Point(106, 53);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.btnNavPrev.Name = "btnNavPrev";
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.btnNavPrev.Size = new System.Drawing.Size(97, 44);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.btnNavPrev.TabIndex = 45;
|
|
|
|
|
this.btnNavPrev.Text = "<";
|
|
|
|
|
this.btnNavPrev.Click += new System.EventHandler(this.btnNavPrev_Click);
|
|
|
|
|
//
|
|
|
|
|
// lblNavLocation
|
|
|
|
|
//
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.lblNavLocation.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.lblNavLocation.BackColor = System.Drawing.Color.White;
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.lblNavLocation.Location = new System.Drawing.Point(12, 186);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.lblNavLocation.Name = "lblNavLocation";
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.lblNavLocation.Size = new System.Drawing.Size(391, 23);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.lblNavLocation.TabIndex = 46;
|
|
|
|
|
this.lblNavLocation.Text = "No Records";
|
|
|
|
|
this.lblNavLocation.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
|
|
|
this.lblNavLocation.Click += new System.EventHandler(this.lblNavLocation_Click);
|
|
|
|
|
//
|
|
|
|
|
// btnNavNext
|
|
|
|
|
//
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.btnNavNext.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.btnNavNext.Location = new System.Drawing.Point(209, 53);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.btnNavNext.Name = "btnNavNext";
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.btnNavNext.Size = new System.Drawing.Size(97, 44);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.btnNavNext.TabIndex = 47;
|
|
|
|
|
this.btnNavNext.Text = ">";
|
|
|
|
|
this.btnNavNext.Click += new System.EventHandler(this.btnNavNext_Click);
|
|
|
|
|
//
|
|
|
|
|
// btnLast
|
|
|
|
|
//
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.btnLast.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.btnLast.Location = new System.Drawing.Point(312, 53);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.btnLast.Name = "btnLast";
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.btnLast.Size = new System.Drawing.Size(100, 44);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.btnLast.TabIndex = 48;
|
|
|
|
|
this.btnLast.Text = ">>";
|
|
|
|
|
this.btnLast.Click += new System.EventHandler(this.btnLast_Click);
|
|
|
|
|
//
|
|
|
|
|
// txtUniqueID
|
|
|
|
|
//
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.txtUniqueID.AccessibleName = "";
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.txtUniqueID.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsProducts, "Code", true));
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.txtUniqueID.Dock = System.Windows.Forms.DockStyle.Top;
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.txtUniqueID.Enabled = false;
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.txtUniqueID.Location = new System.Drawing.Point(261, 3);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.txtUniqueID.Name = "txtUniqueID";
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.txtUniqueID.Size = new System.Drawing.Size(151, 20);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.txtUniqueID.TabIndex = 37;
|
|
|
|
|
this.txtUniqueID.WordWrap = false;
|
|
|
|
|
//
|
|
|
|
|
// Label1
|
|
|
|
|
//
|
|
|
|
|
this.Label1.AutoSize = true;
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.Label1.Location = new System.Drawing.Point(3, 0);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.Label1.Name = "Label1";
|
|
|
|
|
this.Label1.Size = new System.Drawing.Size(32, 13);
|
|
|
|
|
this.Label1.TabIndex = 36;
|
|
|
|
|
this.Label1.Text = "Code";
|
|
|
|
|
this.Label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
|
|
|
|
//
|
|
|
|
|
// btnAdd
|
|
|
|
|
//
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.btnAdd.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.btnAdd.Location = new System.Drawing.Point(3, 3);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.btnAdd.Name = "btnAdd";
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.btnAdd.Size = new System.Drawing.Size(97, 44);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.btnAdd.TabIndex = 72;
|
|
|
|
|
this.btnAdd.Text = "&Add";
|
|
|
|
|
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
|
|
|
|
|
//
|
|
|
|
|
// btnDelete
|
|
|
|
|
//
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.btnDelete.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.btnDelete.Location = new System.Drawing.Point(106, 3);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.btnDelete.Name = "btnDelete";
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.btnDelete.Size = new System.Drawing.Size(97, 44);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.btnDelete.TabIndex = 73;
|
|
|
|
|
this.btnDelete.Text = "&Delete";
|
|
|
|
|
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
|
|
|
|
|
//
|
|
|
|
|
// btnUpdate
|
|
|
|
|
//
|
|
|
|
|
this.btnUpdate.AccessibleName = "Done";
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.btnUpdate.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.btnUpdate.Location = new System.Drawing.Point(209, 3);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.btnUpdate.Name = "btnUpdate";
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.btnUpdate.Size = new System.Drawing.Size(97, 44);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.btnUpdate.TabIndex = 71;
|
|
|
|
|
this.btnUpdate.Text = "&Update";
|
|
|
|
|
this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
|
|
|
|
|
//
|
|
|
|
|
// btnExit
|
|
|
|
|
//
|
|
|
|
|
this.btnExit.AccessibleName = "Done";
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.btnExit.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.btnExit.Location = new System.Drawing.Point(312, 3);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.btnExit.Name = "btnExit";
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.btnExit.Size = new System.Drawing.Size(100, 44);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.btnExit.TabIndex = 70;
|
|
|
|
|
this.btnExit.Text = "E&xit";
|
|
|
|
|
this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
|
|
|
|
|
//
|
|
|
|
|
// chkDiscontinued
|
|
|
|
|
//
|
|
|
|
|
this.chkDiscontinued.AutoSize = true;
|
|
|
|
|
this.chkDiscontinued.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.bsProducts, "Discontinued", true));
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.chkDiscontinued.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
|
|
this.chkDiscontinued.Location = new System.Drawing.Point(261, 143);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.chkDiscontinued.Name = "chkDiscontinued";
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.chkDiscontinued.Size = new System.Drawing.Size(151, 17);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.chkDiscontinued.TabIndex = 78;
|
|
|
|
|
this.chkDiscontinued.Text = "Discontinued";
|
|
|
|
|
this.chkDiscontinued.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// cmbSalesTax
|
|
|
|
|
//
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.cmbSalesTax.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bsProducts, "Tax", true));
|
|
|
|
|
this.cmbSalesTax.DataSource = this.bsTax;
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.cmbSalesTax.DisplayMember = "Name";
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.cmbSalesTax.Dock = System.Windows.Forms.DockStyle.Top;
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.cmbSalesTax.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.cmbSalesTax.Location = new System.Drawing.Point(261, 108);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.cmbSalesTax.Name = "cmbSalesTax";
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.cmbSalesTax.Size = new System.Drawing.Size(151, 21);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.cmbSalesTax.TabIndex = 82;
|
|
|
|
|
this.cmbSalesTax.ValueMember = "LedgerID";
|
|
|
|
|
//
|
2011-02-18 16:54:48 +00:00
|
|
|
|
// bsTax
|
2010-03-02 17:56:21 +00:00
|
|
|
|
//
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.bsTax.DataSource = typeof(Tanshu.Accounts.Entities.Tax);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
//
|
2011-02-18 16:54:48 +00:00
|
|
|
|
// label5
|
2010-03-02 17:56:21 +00:00
|
|
|
|
//
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.label5.AutoSize = true;
|
|
|
|
|
this.label5.Location = new System.Drawing.Point(3, 140);
|
|
|
|
|
this.label5.Name = "label5";
|
|
|
|
|
this.label5.Size = new System.Drawing.Size(80, 13);
|
|
|
|
|
this.label5.TabIndex = 84;
|
|
|
|
|
this.label5.Text = "Service Charge";
|
|
|
|
|
//
|
|
|
|
|
// textBox1
|
|
|
|
|
//
|
|
|
|
|
this.textBox1.AccessibleName = "Phone 1";
|
|
|
|
|
this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsProducts, "ServiceCharge", true));
|
|
|
|
|
this.textBox1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
|
|
this.textBox1.Location = new System.Drawing.Point(106, 143);
|
|
|
|
|
this.textBox1.Name = "textBox1";
|
|
|
|
|
this.textBox1.Size = new System.Drawing.Size(149, 20);
|
|
|
|
|
this.textBox1.TabIndex = 83;
|
|
|
|
|
this.textBox1.Text = "0";
|
|
|
|
|
//
|
|
|
|
|
// tableLayoutPanel1
|
|
|
|
|
//
|
|
|
|
|
this.tableLayoutPanel1.ColumnCount = 3;
|
|
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
|
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 37.5F));
|
|
|
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 37.5F));
|
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.txtUnits, 2, 1);
|
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.txtProductID, 1, 0);
|
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.chkDiscontinued, 2, 4);
|
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.label5, 0, 4);
|
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.txtSalePrice, 1, 3);
|
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.textBox1, 1, 4);
|
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.btnAddProductGroup, 2, 2);
|
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.Label1, 0, 0);
|
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.cmbSalesTax, 2, 3);
|
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.cmbProductGroup, 1, 2);
|
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.txtUniqueID, 2, 0);
|
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.Label7, 0, 2);
|
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.Label2, 0, 1);
|
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.txtName, 1, 1);
|
|
|
|
|
this.tableLayoutPanel1.Controls.Add(this.Label4, 0, 3);
|
|
|
|
|
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
|
|
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
|
|
|
this.tableLayoutPanel1.RowCount = 5;
|
|
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
|
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
|
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
|
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
|
|
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
|
|
|
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(415, 175);
|
|
|
|
|
this.tableLayoutPanel1.TabIndex = 85;
|
|
|
|
|
//
|
|
|
|
|
// txtProductID
|
|
|
|
|
//
|
|
|
|
|
this.txtProductID.AccessibleName = "";
|
|
|
|
|
this.txtProductID.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsProducts, "ProductID", true));
|
|
|
|
|
this.txtProductID.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
|
|
this.txtProductID.Enabled = false;
|
|
|
|
|
this.txtProductID.Location = new System.Drawing.Point(106, 3);
|
|
|
|
|
this.txtProductID.Name = "txtProductID";
|
|
|
|
|
this.txtProductID.Size = new System.Drawing.Size(149, 20);
|
|
|
|
|
this.txtProductID.TabIndex = 83;
|
|
|
|
|
this.txtProductID.WordWrap = false;
|
|
|
|
|
//
|
|
|
|
|
// tableLayoutPanel2
|
|
|
|
|
//
|
|
|
|
|
this.tableLayoutPanel2.ColumnCount = 4;
|
|
|
|
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
|
|
|
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
|
|
|
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
|
|
|
|
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
|
|
|
|
this.tableLayoutPanel2.Controls.Add(this.btnAdd, 0, 0);
|
|
|
|
|
this.tableLayoutPanel2.Controls.Add(this.btnDelete, 1, 0);
|
|
|
|
|
this.tableLayoutPanel2.Controls.Add(this.btnNavPrev, 1, 1);
|
|
|
|
|
this.tableLayoutPanel2.Controls.Add(this.btnLast, 3, 1);
|
|
|
|
|
this.tableLayoutPanel2.Controls.Add(this.btnNavNext, 2, 1);
|
|
|
|
|
this.tableLayoutPanel2.Controls.Add(this.btnNavFirst, 0, 1);
|
|
|
|
|
this.tableLayoutPanel2.Controls.Add(this.btnExit, 3, 0);
|
|
|
|
|
this.tableLayoutPanel2.Controls.Add(this.btnUpdate, 2, 0);
|
|
|
|
|
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
|
|
|
this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 212);
|
|
|
|
|
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
|
|
|
|
|
this.tableLayoutPanel2.RowCount = 2;
|
|
|
|
|
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
|
|
|
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
|
|
|
this.tableLayoutPanel2.Size = new System.Drawing.Size(415, 100);
|
|
|
|
|
this.tableLayoutPanel2.TabIndex = 86;
|
|
|
|
|
//
|
|
|
|
|
// txtUnits
|
|
|
|
|
//
|
|
|
|
|
this.txtUnits.AccessibleName = "";
|
|
|
|
|
this.txtUnits.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsProducts, "Units", true));
|
|
|
|
|
this.txtUnits.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
|
|
this.txtUnits.Location = new System.Drawing.Point(261, 38);
|
|
|
|
|
this.txtUnits.Name = "txtUnits";
|
|
|
|
|
this.txtUnits.Size = new System.Drawing.Size(151, 20);
|
|
|
|
|
this.txtUnits.TabIndex = 85;
|
2010-03-02 17:56:21 +00:00
|
|
|
|
//
|
|
|
|
|
// ProductsForm
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
2011-02-18 16:54:48 +00:00
|
|
|
|
this.ClientSize = new System.Drawing.Size(415, 312);
|
|
|
|
|
this.Controls.Add(this.tableLayoutPanel2);
|
|
|
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.Controls.Add(this.lblNavLocation);
|
|
|
|
|
this.MaximizeBox = false;
|
|
|
|
|
this.MinimizeBox = false;
|
|
|
|
|
this.Name = "ProductsForm";
|
|
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
|
|
|
this.Text = "Products";
|
|
|
|
|
this.Load += new System.EventHandler(this.Products_Load);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.bsProducts)).EndInit();
|
2011-02-18 16:54:48 +00:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.bsProductGroups)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.bsTax)).EndInit();
|
|
|
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
|
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
|
|
|
this.tableLayoutPanel2.ResumeLayout(false);
|
2010-03-02 17:56:21 +00:00
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
internal System.Windows.Forms.Label Label4;
|
|
|
|
|
internal System.Windows.Forms.TextBox txtSalePrice;
|
2011-02-18 16:54:48 +00:00
|
|
|
|
internal System.Windows.Forms.Button btnAddProductGroup;
|
|
|
|
|
internal System.Windows.Forms.ComboBox cmbProductGroup;
|
2010-03-02 17:56:21 +00:00
|
|
|
|
internal System.Windows.Forms.Label Label7;
|
|
|
|
|
internal System.Windows.Forms.TextBox txtName;
|
|
|
|
|
internal System.Windows.Forms.Label Label2;
|
|
|
|
|
internal System.Windows.Forms.Button btnNavFirst;
|
|
|
|
|
internal System.Windows.Forms.Button btnNavPrev;
|
|
|
|
|
internal System.Windows.Forms.Label lblNavLocation;
|
|
|
|
|
internal System.Windows.Forms.Button btnNavNext;
|
|
|
|
|
internal System.Windows.Forms.Button btnLast;
|
|
|
|
|
internal System.Windows.Forms.TextBox txtUniqueID;
|
|
|
|
|
internal System.Windows.Forms.Label Label1;
|
|
|
|
|
internal System.Windows.Forms.Button btnAdd;
|
|
|
|
|
internal System.Windows.Forms.Button btnDelete;
|
|
|
|
|
internal System.Windows.Forms.Button btnUpdate;
|
|
|
|
|
internal System.Windows.Forms.Button btnExit;
|
|
|
|
|
private System.Windows.Forms.CheckBox chkDiscontinued;
|
|
|
|
|
internal System.Windows.Forms.ComboBox cmbSalesTax;
|
|
|
|
|
private System.Windows.Forms.BindingSource bsProducts;
|
2011-02-18 16:54:48 +00:00
|
|
|
|
private System.Windows.Forms.BindingSource bsProductGroups;
|
|
|
|
|
private System.Windows.Forms.BindingSource bsTax;
|
|
|
|
|
internal System.Windows.Forms.Label label5;
|
|
|
|
|
internal System.Windows.Forms.TextBox textBox1;
|
|
|
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
|
|
|
internal System.Windows.Forms.TextBox txtProductID;
|
|
|
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
|
|
|
|
|
internal System.Windows.Forms.TextBox txtUnits;
|
2010-03-02 17:56:21 +00:00
|
|
|
|
}
|
|
|
|
|
}
|