578 lines
28 KiB
C#
578 lines
28 KiB
C#
|
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);
|
|||
|
this.GroupBox1 = new System.Windows.Forms.GroupBox();
|
|||
|
this.btnAddCategory = new System.Windows.Forms.Button();
|
|||
|
this.cmbProductTypes = new System.Windows.Forms.ComboBox();
|
|||
|
this.bsTypes = new System.Windows.Forms.BindingSource(this.components);
|
|||
|
this.cmbUnits = new System.Windows.Forms.ComboBox();
|
|||
|
this.bsUnits = new System.Windows.Forms.BindingSource(this.components);
|
|||
|
this.Label7 = new System.Windows.Forms.Label();
|
|||
|
this.Label3 = 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.txtMinimumLevel = new System.Windows.Forms.TextBox();
|
|||
|
this.label6 = new System.Windows.Forms.Label();
|
|||
|
this.txtMaximumLevel = new System.Windows.Forms.TextBox();
|
|||
|
this.label9 = new System.Windows.Forms.Label();
|
|||
|
this.chkDiscontinued = new System.Windows.Forms.CheckBox();
|
|||
|
this.cmbSalesLedger = new System.Windows.Forms.ComboBox();
|
|||
|
this.bsSalesLedgers = new System.Windows.Forms.BindingSource(this.components);
|
|||
|
this.label5 = new System.Windows.Forms.Label();
|
|||
|
this.cmbSalesTax = new System.Windows.Forms.ComboBox();
|
|||
|
this.bsSalesTax = new System.Windows.Forms.BindingSource(this.components);
|
|||
|
this.label10 = new System.Windows.Forms.Label();
|
|||
|
this.cmbPurchaseTax = new System.Windows.Forms.ComboBox();
|
|||
|
this.bsPurchaseTax = new System.Windows.Forms.BindingSource(this.components);
|
|||
|
this.label11 = new System.Windows.Forms.Label();
|
|||
|
this.cmbPurchaseLedger = new System.Windows.Forms.ComboBox();
|
|||
|
this.bsPurchaseLedgers = new System.Windows.Forms.BindingSource(this.components);
|
|||
|
this.label12 = new System.Windows.Forms.Label();
|
|||
|
this.label13 = new System.Windows.Forms.Label();
|
|||
|
this.txtPurchasePrice = new System.Windows.Forms.TextBox();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.bsProducts)).BeginInit();
|
|||
|
this.GroupBox1.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.bsTypes)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.bsUnits)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.bsSalesLedgers)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.bsSalesTax)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.bsPurchaseTax)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.bsPurchaseLedgers)).BeginInit();
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// Label4
|
|||
|
//
|
|||
|
this.Label4.AutoSize = true;
|
|||
|
this.Label4.Location = new System.Drawing.Point(13, 148);
|
|||
|
this.Label4.Name = "Label4";
|
|||
|
this.Label4.Size = new System.Drawing.Size(60, 13);
|
|||
|
this.Label4.TabIndex = 59;
|
|||
|
this.Label4.Text = "Sales Price";
|
|||
|
//
|
|||
|
// txtSalePrice
|
|||
|
//
|
|||
|
this.txtSalePrice.AccessibleName = "Phone 1";
|
|||
|
this.txtSalePrice.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsProducts, "SalePrice", true));
|
|||
|
this.txtSalePrice.Location = new System.Drawing.Point(13, 164);
|
|||
|
this.txtSalePrice.Name = "txtSalePrice";
|
|||
|
this.txtSalePrice.Size = new System.Drawing.Size(74, 20);
|
|||
|
this.txtSalePrice.TabIndex = 53;
|
|||
|
this.txtSalePrice.Text = "0";
|
|||
|
//
|
|||
|
// bsProducts
|
|||
|
//
|
|||
|
this.bsProducts.DataSource = typeof(Tanshu.Accounts.Contracts.ProductBO);
|
|||
|
this.bsProducts.AddingNew += new System.ComponentModel.AddingNewEventHandler(this.bsProducts_AddingNew);
|
|||
|
this.bsProducts.PositionChanged += new System.EventHandler(this.bsProducts_PositionChanged);
|
|||
|
//
|
|||
|
// GroupBox1
|
|||
|
//
|
|||
|
this.GroupBox1.Controls.Add(this.btnAddCategory);
|
|||
|
this.GroupBox1.Controls.Add(this.cmbProductTypes);
|
|||
|
this.GroupBox1.Controls.Add(this.cmbUnits);
|
|||
|
this.GroupBox1.Controls.Add(this.Label7);
|
|||
|
this.GroupBox1.Controls.Add(this.Label3);
|
|||
|
this.GroupBox1.Controls.Add(this.txtName);
|
|||
|
this.GroupBox1.Controls.Add(this.Label2);
|
|||
|
this.GroupBox1.Location = new System.Drawing.Point(12, 37);
|
|||
|
this.GroupBox1.Name = "GroupBox1";
|
|||
|
this.GroupBox1.Size = new System.Drawing.Size(312, 102);
|
|||
|
this.GroupBox1.TabIndex = 52;
|
|||
|
this.GroupBox1.TabStop = false;
|
|||
|
//
|
|||
|
// btnAddCategory
|
|||
|
//
|
|||
|
this.btnAddCategory.Location = new System.Drawing.Point(281, 72);
|
|||
|
this.btnAddCategory.Name = "btnAddCategory";
|
|||
|
this.btnAddCategory.Size = new System.Drawing.Size(25, 21);
|
|||
|
this.btnAddCategory.TabIndex = 37;
|
|||
|
this.btnAddCategory.Text = "+";
|
|||
|
this.btnAddCategory.Click += new System.EventHandler(this.btnAddCategory_Click);
|
|||
|
//
|
|||
|
// cmbProductTypes
|
|||
|
//
|
|||
|
this.cmbProductTypes.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bsProducts, "ProductTypeID", true));
|
|||
|
this.cmbProductTypes.DataSource = this.bsTypes;
|
|||
|
this.cmbProductTypes.DisplayMember = "Name";
|
|||
|
this.cmbProductTypes.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|||
|
this.cmbProductTypes.Location = new System.Drawing.Point(94, 72);
|
|||
|
this.cmbProductTypes.Name = "cmbProductTypes";
|
|||
|
this.cmbProductTypes.Size = new System.Drawing.Size(181, 21);
|
|||
|
this.cmbProductTypes.TabIndex = 35;
|
|||
|
this.cmbProductTypes.ValueMember = "ProductTypeID";
|
|||
|
//
|
|||
|
// bsTypes
|
|||
|
//
|
|||
|
this.bsTypes.DataSource = typeof(Tanshu.Accounts.Contracts.ProductTypeBO);
|
|||
|
//
|
|||
|
// cmbUnits
|
|||
|
//
|
|||
|
this.cmbUnits.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bsProducts, "Units", true));
|
|||
|
this.cmbUnits.DataSource = this.bsUnits;
|
|||
|
this.cmbUnits.DisplayMember = "Description";
|
|||
|
this.cmbUnits.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|||
|
this.cmbUnits.Location = new System.Drawing.Point(94, 45);
|
|||
|
this.cmbUnits.Name = "cmbUnits";
|
|||
|
this.cmbUnits.Size = new System.Drawing.Size(212, 21);
|
|||
|
this.cmbUnits.TabIndex = 34;
|
|||
|
this.cmbUnits.ValueMember = "Description";
|
|||
|
//
|
|||
|
// bsUnits
|
|||
|
//
|
|||
|
this.bsUnits.DataSource = typeof(Tanshu.Accounts.Helpers.StringType);
|
|||
|
//
|
|||
|
// Label7
|
|||
|
//
|
|||
|
this.Label7.AutoSize = true;
|
|||
|
this.Label7.Location = new System.Drawing.Point(12, 75);
|
|||
|
this.Label7.Name = "Label7";
|
|||
|
this.Label7.Size = new System.Drawing.Size(76, 13);
|
|||
|
this.Label7.TabIndex = 33;
|
|||
|
this.Label7.Text = "Product Types";
|
|||
|
//
|
|||
|
// Label3
|
|||
|
//
|
|||
|
this.Label3.AutoSize = true;
|
|||
|
this.Label3.Location = new System.Drawing.Point(57, 48);
|
|||
|
this.Label3.Name = "Label3";
|
|||
|
this.Label3.Size = new System.Drawing.Size(31, 13);
|
|||
|
this.Label3.TabIndex = 30;
|
|||
|
this.Label3.Text = "Units";
|
|||
|
//
|
|||
|
// txtName
|
|||
|
//
|
|||
|
this.txtName.AccessibleName = "";
|
|||
|
this.txtName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsProducts, "Name", true));
|
|||
|
this.txtName.Location = new System.Drawing.Point(94, 19);
|
|||
|
this.txtName.Name = "txtName";
|
|||
|
this.txtName.Size = new System.Drawing.Size(212, 20);
|
|||
|
this.txtName.TabIndex = 0;
|
|||
|
//
|
|||
|
// Label2
|
|||
|
//
|
|||
|
this.Label2.AutoSize = true;
|
|||
|
this.Label2.Location = new System.Drawing.Point(53, 22);
|
|||
|
this.Label2.Name = "Label2";
|
|||
|
this.Label2.Size = new System.Drawing.Size(35, 13);
|
|||
|
this.Label2.TabIndex = 28;
|
|||
|
this.Label2.Text = "Name";
|
|||
|
//
|
|||
|
// btnNavFirst
|
|||
|
//
|
|||
|
this.btnNavFirst.Location = new System.Drawing.Point(40, 334);
|
|||
|
this.btnNavFirst.Name = "btnNavFirst";
|
|||
|
this.btnNavFirst.Size = new System.Drawing.Size(40, 23);
|
|||
|
this.btnNavFirst.TabIndex = 44;
|
|||
|
this.btnNavFirst.Text = "<<";
|
|||
|
this.btnNavFirst.Click += new System.EventHandler(this.btnNavFirst_Click);
|
|||
|
//
|
|||
|
// btnNavPrev
|
|||
|
//
|
|||
|
this.btnNavPrev.Location = new System.Drawing.Point(86, 334);
|
|||
|
this.btnNavPrev.Name = "btnNavPrev";
|
|||
|
this.btnNavPrev.Size = new System.Drawing.Size(35, 23);
|
|||
|
this.btnNavPrev.TabIndex = 45;
|
|||
|
this.btnNavPrev.Text = "<";
|
|||
|
this.btnNavPrev.Click += new System.EventHandler(this.btnNavPrev_Click);
|
|||
|
//
|
|||
|
// lblNavLocation
|
|||
|
//
|
|||
|
this.lblNavLocation.BackColor = System.Drawing.Color.White;
|
|||
|
this.lblNavLocation.Location = new System.Drawing.Point(118, 334);
|
|||
|
this.lblNavLocation.Name = "lblNavLocation";
|
|||
|
this.lblNavLocation.Size = new System.Drawing.Size(95, 23);
|
|||
|
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
|
|||
|
//
|
|||
|
this.btnNavNext.Location = new System.Drawing.Point(214, 334);
|
|||
|
this.btnNavNext.Name = "btnNavNext";
|
|||
|
this.btnNavNext.Size = new System.Drawing.Size(35, 23);
|
|||
|
this.btnNavNext.TabIndex = 47;
|
|||
|
this.btnNavNext.Text = ">";
|
|||
|
this.btnNavNext.Click += new System.EventHandler(this.btnNavNext_Click);
|
|||
|
//
|
|||
|
// btnLast
|
|||
|
//
|
|||
|
this.btnLast.Location = new System.Drawing.Point(254, 334);
|
|||
|
this.btnLast.Name = "btnLast";
|
|||
|
this.btnLast.Size = new System.Drawing.Size(40, 23);
|
|||
|
this.btnLast.TabIndex = 48;
|
|||
|
this.btnLast.Text = ">>";
|
|||
|
this.btnLast.Click += new System.EventHandler(this.btnLast_Click);
|
|||
|
//
|
|||
|
// txtUniqueID
|
|||
|
//
|
|||
|
this.txtUniqueID.AccessibleName = "Unique ID";
|
|||
|
this.txtUniqueID.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsProducts, "Code", true));
|
|||
|
this.txtUniqueID.DataBindings.Add(new System.Windows.Forms.Binding("Tag", this.bsProducts, "ProductID", true));
|
|||
|
this.txtUniqueID.Enabled = false;
|
|||
|
this.txtUniqueID.Location = new System.Drawing.Point(75, 12);
|
|||
|
this.txtUniqueID.Name = "txtUniqueID";
|
|||
|
this.txtUniqueID.Size = new System.Drawing.Size(249, 20);
|
|||
|
this.txtUniqueID.TabIndex = 37;
|
|||
|
this.txtUniqueID.Text = "UniqueID";
|
|||
|
this.txtUniqueID.WordWrap = false;
|
|||
|
//
|
|||
|
// Label1
|
|||
|
//
|
|||
|
this.Label1.AutoSize = true;
|
|||
|
this.Label1.Location = new System.Drawing.Point(37, 15);
|
|||
|
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
|
|||
|
//
|
|||
|
this.btnAdd.Location = new System.Drawing.Point(9, 300);
|
|||
|
this.btnAdd.Name = "btnAdd";
|
|||
|
this.btnAdd.Size = new System.Drawing.Size(75, 23);
|
|||
|
this.btnAdd.TabIndex = 72;
|
|||
|
this.btnAdd.Text = "&Add";
|
|||
|
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
|
|||
|
//
|
|||
|
// btnDelete
|
|||
|
//
|
|||
|
this.btnDelete.Location = new System.Drawing.Point(91, 300);
|
|||
|
this.btnDelete.Name = "btnDelete";
|
|||
|
this.btnDelete.Size = new System.Drawing.Size(75, 23);
|
|||
|
this.btnDelete.TabIndex = 73;
|
|||
|
this.btnDelete.Text = "&Delete";
|
|||
|
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
|
|||
|
//
|
|||
|
// btnUpdate
|
|||
|
//
|
|||
|
this.btnUpdate.AccessibleName = "Done";
|
|||
|
this.btnUpdate.Location = new System.Drawing.Point(173, 300);
|
|||
|
this.btnUpdate.Name = "btnUpdate";
|
|||
|
this.btnUpdate.Size = new System.Drawing.Size(72, 24);
|
|||
|
this.btnUpdate.TabIndex = 71;
|
|||
|
this.btnUpdate.Text = "&Update";
|
|||
|
this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
|
|||
|
//
|
|||
|
// btnExit
|
|||
|
//
|
|||
|
this.btnExit.AccessibleName = "Done";
|
|||
|
this.btnExit.Location = new System.Drawing.Point(252, 300);
|
|||
|
this.btnExit.Name = "btnExit";
|
|||
|
this.btnExit.Size = new System.Drawing.Size(72, 24);
|
|||
|
this.btnExit.TabIndex = 70;
|
|||
|
this.btnExit.Text = "E&xit";
|
|||
|
this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
|
|||
|
//
|
|||
|
// txtMinimumLevel
|
|||
|
//
|
|||
|
this.txtMinimumLevel.AccessibleName = "Phone 1";
|
|||
|
this.txtMinimumLevel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsProducts, "MinimumLevel", true));
|
|||
|
this.txtMinimumLevel.Location = new System.Drawing.Point(10, 264);
|
|||
|
this.txtMinimumLevel.Name = "txtMinimumLevel";
|
|||
|
this.txtMinimumLevel.Size = new System.Drawing.Size(77, 20);
|
|||
|
this.txtMinimumLevel.TabIndex = 75;
|
|||
|
this.txtMinimumLevel.Text = "0";
|
|||
|
//
|
|||
|
// label6
|
|||
|
//
|
|||
|
this.label6.AutoSize = true;
|
|||
|
this.label6.Location = new System.Drawing.Point(10, 248);
|
|||
|
this.label6.Name = "label6";
|
|||
|
this.label6.Size = new System.Drawing.Size(77, 13);
|
|||
|
this.label6.TabIndex = 74;
|
|||
|
this.label6.Text = "Minimum Level";
|
|||
|
//
|
|||
|
// txtMaximumLevel
|
|||
|
//
|
|||
|
this.txtMaximumLevel.AccessibleName = "Phone 1";
|
|||
|
this.txtMaximumLevel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsProducts, "MaximumLevel", true));
|
|||
|
this.txtMaximumLevel.Location = new System.Drawing.Point(96, 264);
|
|||
|
this.txtMaximumLevel.Name = "txtMaximumLevel";
|
|||
|
this.txtMaximumLevel.Size = new System.Drawing.Size(85, 20);
|
|||
|
this.txtMaximumLevel.TabIndex = 77;
|
|||
|
this.txtMaximumLevel.Text = "0";
|
|||
|
//
|
|||
|
// label9
|
|||
|
//
|
|||
|
this.label9.AutoSize = true;
|
|||
|
this.label9.Location = new System.Drawing.Point(93, 249);
|
|||
|
this.label9.Name = "label9";
|
|||
|
this.label9.Size = new System.Drawing.Size(80, 13);
|
|||
|
this.label9.TabIndex = 76;
|
|||
|
this.label9.Text = "Maximum Level";
|
|||
|
//
|
|||
|
// chkDiscontinued
|
|||
|
//
|
|||
|
this.chkDiscontinued.AutoSize = true;
|
|||
|
this.chkDiscontinued.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.bsProducts, "Discontinued", true));
|
|||
|
this.chkDiscontinued.Location = new System.Drawing.Point(233, 272);
|
|||
|
this.chkDiscontinued.Name = "chkDiscontinued";
|
|||
|
this.chkDiscontinued.Size = new System.Drawing.Size(88, 17);
|
|||
|
this.chkDiscontinued.TabIndex = 78;
|
|||
|
this.chkDiscontinued.Text = "Discontinued";
|
|||
|
this.chkDiscontinued.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// cmbSalesLedger
|
|||
|
//
|
|||
|
this.cmbSalesLedger.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bsProducts, "SaleLedgerID", true));
|
|||
|
this.cmbSalesLedger.DataSource = this.bsSalesLedgers;
|
|||
|
this.cmbSalesLedger.DisplayMember = "Name";
|
|||
|
this.cmbSalesLedger.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|||
|
this.cmbSalesLedger.Location = new System.Drawing.Point(93, 163);
|
|||
|
this.cmbSalesLedger.Name = "cmbSalesLedger";
|
|||
|
this.cmbSalesLedger.Size = new System.Drawing.Size(137, 21);
|
|||
|
this.cmbSalesLedger.TabIndex = 80;
|
|||
|
this.cmbSalesLedger.ValueMember = "LedgerID";
|
|||
|
//
|
|||
|
// bsSalesLedgers
|
|||
|
//
|
|||
|
this.bsSalesLedgers.DataSource = typeof(Tanshu.Accounts.Contracts.LedgerBO);
|
|||
|
//
|
|||
|
// label5
|
|||
|
//
|
|||
|
this.label5.AutoSize = true;
|
|||
|
this.label5.Location = new System.Drawing.Point(98, 148);
|
|||
|
this.label5.Name = "label5";
|
|||
|
this.label5.Size = new System.Drawing.Size(69, 13);
|
|||
|
this.label5.TabIndex = 79;
|
|||
|
this.label5.Text = "Sales Ledger";
|
|||
|
//
|
|||
|
// cmbSalesTax
|
|||
|
//
|
|||
|
this.cmbSalesTax.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bsProducts, "SaleTaxID", true));
|
|||
|
this.cmbSalesTax.DataSource = this.bsSalesTax;
|
|||
|
this.cmbSalesTax.DisplayMember = "Name";
|
|||
|
this.cmbSalesTax.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|||
|
this.cmbSalesTax.Location = new System.Drawing.Point(236, 163);
|
|||
|
this.cmbSalesTax.Name = "cmbSalesTax";
|
|||
|
this.cmbSalesTax.Size = new System.Drawing.Size(91, 21);
|
|||
|
this.cmbSalesTax.TabIndex = 82;
|
|||
|
this.cmbSalesTax.ValueMember = "LedgerID";
|
|||
|
//
|
|||
|
// bsSalesTax
|
|||
|
//
|
|||
|
this.bsSalesTax.DataSource = typeof(Tanshu.Accounts.Contracts.LedgerBO);
|
|||
|
//
|
|||
|
// label10
|
|||
|
//
|
|||
|
this.label10.AutoSize = true;
|
|||
|
this.label10.Location = new System.Drawing.Point(241, 148);
|
|||
|
this.label10.Name = "label10";
|
|||
|
this.label10.Size = new System.Drawing.Size(54, 13);
|
|||
|
this.label10.TabIndex = 81;
|
|||
|
this.label10.Text = "Sales Tax";
|
|||
|
//
|
|||
|
// cmbPurchaseTax
|
|||
|
//
|
|||
|
this.cmbPurchaseTax.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bsProducts, "PurchaseTaxID", true));
|
|||
|
this.cmbPurchaseTax.DataSource = this.bsPurchaseTax;
|
|||
|
this.cmbPurchaseTax.DisplayMember = "Name";
|
|||
|
this.cmbPurchaseTax.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|||
|
this.cmbPurchaseTax.Location = new System.Drawing.Point(233, 214);
|
|||
|
this.cmbPurchaseTax.Name = "cmbPurchaseTax";
|
|||
|
this.cmbPurchaseTax.Size = new System.Drawing.Size(91, 21);
|
|||
|
this.cmbPurchaseTax.TabIndex = 88;
|
|||
|
this.cmbPurchaseTax.ValueMember = "LedgerID";
|
|||
|
//
|
|||
|
// bsPurchaseTax
|
|||
|
//
|
|||
|
this.bsPurchaseTax.DataSource = typeof(Tanshu.Accounts.Contracts.LedgerBO);
|
|||
|
//
|
|||
|
// label11
|
|||
|
//
|
|||
|
this.label11.AutoSize = true;
|
|||
|
this.label11.Location = new System.Drawing.Point(233, 198);
|
|||
|
this.label11.Name = "label11";
|
|||
|
this.label11.Size = new System.Drawing.Size(73, 13);
|
|||
|
this.label11.TabIndex = 87;
|
|||
|
this.label11.Text = "Purchase Tax";
|
|||
|
//
|
|||
|
// cmbPurchaseLedger
|
|||
|
//
|
|||
|
this.cmbPurchaseLedger.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bsProducts, "PurchaseLedgerID", true));
|
|||
|
this.cmbPurchaseLedger.DataSource = this.bsPurchaseLedgers;
|
|||
|
this.cmbPurchaseLedger.DisplayMember = "Name";
|
|||
|
this.cmbPurchaseLedger.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|||
|
this.cmbPurchaseLedger.Location = new System.Drawing.Point(90, 214);
|
|||
|
this.cmbPurchaseLedger.Name = "cmbPurchaseLedger";
|
|||
|
this.cmbPurchaseLedger.Size = new System.Drawing.Size(137, 21);
|
|||
|
this.cmbPurchaseLedger.TabIndex = 86;
|
|||
|
this.cmbPurchaseLedger.ValueMember = "LedgerID";
|
|||
|
//
|
|||
|
// bsPurchaseLedgers
|
|||
|
//
|
|||
|
this.bsPurchaseLedgers.DataSource = typeof(Tanshu.Accounts.Contracts.LedgerBO);
|
|||
|
//
|
|||
|
// label12
|
|||
|
//
|
|||
|
this.label12.AutoSize = true;
|
|||
|
this.label12.Location = new System.Drawing.Point(95, 198);
|
|||
|
this.label12.Name = "label12";
|
|||
|
this.label12.Size = new System.Drawing.Size(88, 13);
|
|||
|
this.label12.TabIndex = 85;
|
|||
|
this.label12.Text = "Purchase Ledger";
|
|||
|
//
|
|||
|
// label13
|
|||
|
//
|
|||
|
this.label13.AutoSize = true;
|
|||
|
this.label13.Location = new System.Drawing.Point(10, 198);
|
|||
|
this.label13.Name = "label13";
|
|||
|
this.label13.Size = new System.Drawing.Size(79, 13);
|
|||
|
this.label13.TabIndex = 84;
|
|||
|
this.label13.Text = "Purchase Price";
|
|||
|
//
|
|||
|
// txtPurchasePrice
|
|||
|
//
|
|||
|
this.txtPurchasePrice.AccessibleName = "Phone 1";
|
|||
|
this.txtPurchasePrice.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsProducts, "PurchasePrice", true));
|
|||
|
this.txtPurchasePrice.Location = new System.Drawing.Point(10, 214);
|
|||
|
this.txtPurchasePrice.Name = "txtPurchasePrice";
|
|||
|
this.txtPurchasePrice.Size = new System.Drawing.Size(74, 20);
|
|||
|
this.txtPurchasePrice.TabIndex = 83;
|
|||
|
this.txtPurchasePrice.Text = "0";
|
|||
|
//
|
|||
|
// ProductsForm
|
|||
|
//
|
|||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
this.ClientSize = new System.Drawing.Size(336, 365);
|
|||
|
this.Controls.Add(this.cmbPurchaseTax);
|
|||
|
this.Controls.Add(this.label11);
|
|||
|
this.Controls.Add(this.cmbPurchaseLedger);
|
|||
|
this.Controls.Add(this.label12);
|
|||
|
this.Controls.Add(this.label13);
|
|||
|
this.Controls.Add(this.txtPurchasePrice);
|
|||
|
this.Controls.Add(this.cmbSalesTax);
|
|||
|
this.Controls.Add(this.Label1);
|
|||
|
this.Controls.Add(this.label10);
|
|||
|
this.Controls.Add(this.cmbSalesLedger);
|
|||
|
this.Controls.Add(this.label5);
|
|||
|
this.Controls.Add(this.chkDiscontinued);
|
|||
|
this.Controls.Add(this.txtMaximumLevel);
|
|||
|
this.Controls.Add(this.label9);
|
|||
|
this.Controls.Add(this.txtMinimumLevel);
|
|||
|
this.Controls.Add(this.label6);
|
|||
|
this.Controls.Add(this.btnAdd);
|
|||
|
this.Controls.Add(this.btnDelete);
|
|||
|
this.Controls.Add(this.btnUpdate);
|
|||
|
this.Controls.Add(this.btnExit);
|
|||
|
this.Controls.Add(this.Label4);
|
|||
|
this.Controls.Add(this.txtSalePrice);
|
|||
|
this.Controls.Add(this.GroupBox1);
|
|||
|
this.Controls.Add(this.btnNavFirst);
|
|||
|
this.Controls.Add(this.btnNavPrev);
|
|||
|
this.Controls.Add(this.lblNavLocation);
|
|||
|
this.Controls.Add(this.btnNavNext);
|
|||
|
this.Controls.Add(this.btnLast);
|
|||
|
this.Controls.Add(this.txtUniqueID);
|
|||
|
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();
|
|||
|
this.GroupBox1.ResumeLayout(false);
|
|||
|
this.GroupBox1.PerformLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.bsTypes)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.bsUnits)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.bsSalesLedgers)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.bsSalesTax)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.bsPurchaseTax)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.bsPurchaseLedgers)).EndInit();
|
|||
|
this.ResumeLayout(false);
|
|||
|
this.PerformLayout();
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
internal System.Windows.Forms.Label Label4;
|
|||
|
internal System.Windows.Forms.TextBox txtSalePrice;
|
|||
|
internal System.Windows.Forms.GroupBox GroupBox1;
|
|||
|
internal System.Windows.Forms.Button btnAddCategory;
|
|||
|
internal System.Windows.Forms.ComboBox cmbProductTypes;
|
|||
|
internal System.Windows.Forms.ComboBox cmbUnits;
|
|||
|
internal System.Windows.Forms.Label Label7;
|
|||
|
internal System.Windows.Forms.Label Label3;
|
|||
|
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;
|
|||
|
internal System.Windows.Forms.TextBox txtMinimumLevel;
|
|||
|
internal System.Windows.Forms.Label label6;
|
|||
|
internal System.Windows.Forms.TextBox txtMaximumLevel;
|
|||
|
internal System.Windows.Forms.Label label9;
|
|||
|
private System.Windows.Forms.CheckBox chkDiscontinued;
|
|||
|
internal System.Windows.Forms.ComboBox cmbSalesLedger;
|
|||
|
internal System.Windows.Forms.Label label5;
|
|||
|
internal System.Windows.Forms.ComboBox cmbSalesTax;
|
|||
|
internal System.Windows.Forms.Label label10;
|
|||
|
internal System.Windows.Forms.ComboBox cmbPurchaseTax;
|
|||
|
internal System.Windows.Forms.Label label11;
|
|||
|
internal System.Windows.Forms.ComboBox cmbPurchaseLedger;
|
|||
|
internal System.Windows.Forms.Label label12;
|
|||
|
internal System.Windows.Forms.Label label13;
|
|||
|
internal System.Windows.Forms.TextBox txtPurchasePrice;
|
|||
|
private System.Windows.Forms.BindingSource bsProducts;
|
|||
|
private System.Windows.Forms.BindingSource bsUnits;
|
|||
|
private System.Windows.Forms.BindingSource bsTypes;
|
|||
|
private System.Windows.Forms.BindingSource bsSalesLedgers;
|
|||
|
private System.Windows.Forms.BindingSource bsSalesTax;
|
|||
|
private System.Windows.Forms.BindingSource bsPurchaseLedgers;
|
|||
|
private System.Windows.Forms.BindingSource bsPurchaseTax;
|
|||
|
}
|
|||
|
}
|