82f3b6b3e7
Fix: Removed MinimumLevel and MaximumLevel from products.
340 lines
15 KiB
C#
340 lines
15 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.GroupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.btnAddCategory = new System.Windows.Forms.Button();
|
|
this.cmbProductGroups = new System.Windows.Forms.ComboBox();
|
|
this.bsProductGroups = 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.txtUniqueID = new System.Windows.Forms.TextBox();
|
|
this.Label1 = new System.Windows.Forms.Label();
|
|
this.btnDelete = new System.Windows.Forms.Button();
|
|
this.btnSave = new System.Windows.Forms.Button();
|
|
this.btnCancel = new System.Windows.Forms.Button();
|
|
this.chkDiscontinued = new System.Windows.Forms.CheckBox();
|
|
this.cmbVat = new System.Windows.Forms.ComboBox();
|
|
this.bsVat = new System.Windows.Forms.BindingSource(this.components);
|
|
this.label10 = new System.Windows.Forms.Label();
|
|
this.cmbServiceTax = new System.Windows.Forms.ComboBox();
|
|
this.bsServiceTax = new System.Windows.Forms.BindingSource(this.components);
|
|
this.label8 = new System.Windows.Forms.Label();
|
|
this.GroupBox1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsProductGroups)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsUnits)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsVat)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsServiceTax)).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.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";
|
|
//
|
|
// GroupBox1
|
|
//
|
|
this.GroupBox1.Controls.Add(this.btnAddCategory);
|
|
this.GroupBox1.Controls.Add(this.cmbProductGroups);
|
|
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);
|
|
//
|
|
// cmbProductGroups
|
|
//
|
|
this.cmbProductGroups.DataSource = this.bsProductGroups;
|
|
this.cmbProductGroups.DisplayMember = "Name";
|
|
this.cmbProductGroups.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmbProductGroups.Location = new System.Drawing.Point(94, 72);
|
|
this.cmbProductGroups.Name = "cmbProductGroups";
|
|
this.cmbProductGroups.Size = new System.Drawing.Size(181, 21);
|
|
this.cmbProductGroups.TabIndex = 35;
|
|
this.cmbProductGroups.ValueMember = "ProductGroupID";
|
|
//
|
|
// bsProductGroups
|
|
//
|
|
this.bsProductGroups.DataSource = typeof(Tanshu.Accounts.Contracts.ProductGroupBO);
|
|
//
|
|
// cmbUnits
|
|
//
|
|
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.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";
|
|
//
|
|
// txtUniqueID
|
|
//
|
|
this.txtUniqueID.AccessibleName = "Unique ID";
|
|
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;
|
|
//
|
|
// btnDelete
|
|
//
|
|
this.btnDelete.Location = new System.Drawing.Point(90, 214);
|
|
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);
|
|
//
|
|
// btnSave
|
|
//
|
|
this.btnSave.AccessibleName = "Done";
|
|
this.btnSave.Location = new System.Drawing.Point(12, 213);
|
|
this.btnSave.Name = "btnSave";
|
|
this.btnSave.Size = new System.Drawing.Size(72, 24);
|
|
this.btnSave.TabIndex = 71;
|
|
this.btnSave.Text = "&Save";
|
|
this.btnSave.Click += new System.EventHandler(this.btnUpdate_Click);
|
|
//
|
|
// btnCancel
|
|
//
|
|
this.btnCancel.AccessibleName = "Done";
|
|
this.btnCancel.Location = new System.Drawing.Point(255, 214);
|
|
this.btnCancel.Name = "btnCancel";
|
|
this.btnCancel.Size = new System.Drawing.Size(72, 24);
|
|
this.btnCancel.TabIndex = 70;
|
|
this.btnCancel.Text = "&Cancel";
|
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
|
//
|
|
// chkDiscontinued
|
|
//
|
|
this.chkDiscontinued.AutoSize = true;
|
|
this.chkDiscontinued.Location = new System.Drawing.Point(16, 190);
|
|
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;
|
|
//
|
|
// cmbVat
|
|
//
|
|
this.cmbVat.DataSource = this.bsVat;
|
|
this.cmbVat.DisplayMember = "Name";
|
|
this.cmbVat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmbVat.Location = new System.Drawing.Point(106, 163);
|
|
this.cmbVat.Name = "cmbVat";
|
|
this.cmbVat.Size = new System.Drawing.Size(91, 21);
|
|
this.cmbVat.TabIndex = 82;
|
|
this.cmbVat.ValueMember = "TaxID";
|
|
//
|
|
// bsVat
|
|
//
|
|
this.bsVat.DataSource = typeof(Tanshu.Accounts.Contracts.TaxBO);
|
|
//
|
|
// label10
|
|
//
|
|
this.label10.AutoSize = true;
|
|
this.label10.Location = new System.Drawing.Point(111, 148);
|
|
this.label10.Name = "label10";
|
|
this.label10.Size = new System.Drawing.Size(23, 13);
|
|
this.label10.TabIndex = 81;
|
|
this.label10.Text = "Vat";
|
|
//
|
|
// cmbServiceTax
|
|
//
|
|
this.cmbServiceTax.DataSource = this.bsServiceTax;
|
|
this.cmbServiceTax.DisplayMember = "Name";
|
|
this.cmbServiceTax.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmbServiceTax.Location = new System.Drawing.Point(227, 164);
|
|
this.cmbServiceTax.Name = "cmbServiceTax";
|
|
this.cmbServiceTax.Size = new System.Drawing.Size(91, 21);
|
|
this.cmbServiceTax.TabIndex = 84;
|
|
this.cmbServiceTax.ValueMember = "TaxID";
|
|
//
|
|
// bsServiceTax
|
|
//
|
|
this.bsServiceTax.DataSource = typeof(Tanshu.Accounts.Contracts.TaxBO);
|
|
//
|
|
// label8
|
|
//
|
|
this.label8.AutoSize = true;
|
|
this.label8.Location = new System.Drawing.Point(223, 148);
|
|
this.label8.Name = "label8";
|
|
this.label8.Size = new System.Drawing.Size(64, 13);
|
|
this.label8.TabIndex = 83;
|
|
this.label8.Text = "Service Tax";
|
|
//
|
|
// ProductsForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(336, 249);
|
|
this.Controls.Add(this.cmbServiceTax);
|
|
this.Controls.Add(this.label8);
|
|
this.Controls.Add(this.cmbVat);
|
|
this.Controls.Add(this.Label1);
|
|
this.Controls.Add(this.label10);
|
|
this.Controls.Add(this.chkDiscontinued);
|
|
this.Controls.Add(this.btnDelete);
|
|
this.Controls.Add(this.btnSave);
|
|
this.Controls.Add(this.btnCancel);
|
|
this.Controls.Add(this.Label4);
|
|
this.Controls.Add(this.txtSalePrice);
|
|
this.Controls.Add(this.GroupBox1);
|
|
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);
|
|
this.GroupBox1.ResumeLayout(false);
|
|
this.GroupBox1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsProductGroups)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsUnits)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsVat)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsServiceTax)).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 cmbProductGroups;
|
|
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.TextBox txtUniqueID;
|
|
internal System.Windows.Forms.Label Label1;
|
|
internal System.Windows.Forms.Button btnDelete;
|
|
internal System.Windows.Forms.Button btnSave;
|
|
internal System.Windows.Forms.Button btnCancel;
|
|
private System.Windows.Forms.CheckBox chkDiscontinued;
|
|
internal System.Windows.Forms.ComboBox cmbVat;
|
|
internal System.Windows.Forms.Label label10;
|
|
private System.Windows.Forms.BindingSource bsUnits;
|
|
private System.Windows.Forms.BindingSource bsProductGroups;
|
|
private System.Windows.Forms.BindingSource bsVat;
|
|
private System.Windows.Forms.BindingSource bsServiceTax;
|
|
internal System.Windows.Forms.ComboBox cmbServiceTax;
|
|
internal System.Windows.Forms.Label label8;
|
|
}
|
|
} |