59909a5ee7
Must use the Repositories with Using or else bad things will happen.
302 lines
13 KiB
C#
302 lines
13 KiB
C#
namespace Tanshu.Accounts.PointOfSale
|
|
{
|
|
partial class ProductForm
|
|
{
|
|
/// <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.bsProductGroups = new System.Windows.Forms.BindingSource(this.components);
|
|
this.Label7 = new System.Windows.Forms.Label();
|
|
this.bsTax = new System.Windows.Forms.BindingSource(this.components);
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.txtProductID = new System.Windows.Forms.TextBox();
|
|
this.txtCode = new System.Windows.Forms.TextBox();
|
|
this.Label2 = new System.Windows.Forms.Label();
|
|
this.txtUnits = new System.Windows.Forms.TextBox();
|
|
this.txtName = new System.Windows.Forms.TextBox();
|
|
this.txtSalePrice = new System.Windows.Forms.TextBox();
|
|
this.cmbTax = new System.Windows.Forms.ComboBox();
|
|
this.chkDiscontinued = new System.Windows.Forms.CheckBox();
|
|
this.txtServiceCharge = new System.Windows.Forms.TextBox();
|
|
this.btnAddProductGroup = new System.Windows.Forms.Button();
|
|
this.cmbProductGroup = new System.Windows.Forms.ComboBox();
|
|
this.btnCancel = new System.Windows.Forms.Button();
|
|
this.btnOk = new System.Windows.Forms.Button();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.txtSortOrder = new System.Windows.Forms.TextBox();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsProductGroups)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsTax)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// Label4
|
|
//
|
|
this.Label4.AutoSize = true;
|
|
this.Label4.Location = new System.Drawing.Point(22, 67);
|
|
this.Label4.Name = "Label4";
|
|
this.Label4.Size = new System.Drawing.Size(84, 13);
|
|
this.Label4.TabIndex = 15;
|
|
this.Label4.Text = "Sale Price / Tax";
|
|
//
|
|
// bsProductGroups
|
|
//
|
|
this.bsProductGroups.DataSource = typeof(Tanshu.Accounts.Entities.ProductGroup);
|
|
//
|
|
// Label7
|
|
//
|
|
this.Label7.AutoSize = true;
|
|
this.Label7.Location = new System.Drawing.Point(70, 119);
|
|
this.Label7.Name = "Label7";
|
|
this.Label7.Size = new System.Drawing.Size(36, 13);
|
|
this.Label7.TabIndex = 17;
|
|
this.Label7.Text = "Group";
|
|
//
|
|
// bsTax
|
|
//
|
|
this.bsTax.DataSource = typeof(Tanshu.Accounts.Entities.Tax);
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(26, 93);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(80, 13);
|
|
this.label5.TabIndex = 16;
|
|
this.label5.Text = "Service Charge";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(12, 15);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(94, 13);
|
|
this.label3.TabIndex = 13;
|
|
this.label3.Text = "Product ID / Code";
|
|
//
|
|
// txtProductID
|
|
//
|
|
this.txtProductID.Location = new System.Drawing.Point(112, 12);
|
|
this.txtProductID.Name = "txtProductID";
|
|
this.txtProductID.ReadOnly = true;
|
|
this.txtProductID.Size = new System.Drawing.Size(189, 20);
|
|
this.txtProductID.TabIndex = 12;
|
|
//
|
|
// txtCode
|
|
//
|
|
this.txtCode.AccessibleName = "";
|
|
this.txtCode.Location = new System.Drawing.Point(307, 12);
|
|
this.txtCode.Name = "txtCode";
|
|
this.txtCode.Size = new System.Drawing.Size(96, 20);
|
|
this.txtCode.TabIndex = 0;
|
|
this.txtCode.WordWrap = false;
|
|
//
|
|
// Label2
|
|
//
|
|
this.Label2.AutoSize = true;
|
|
this.Label2.Location = new System.Drawing.Point(36, 41);
|
|
this.Label2.Name = "Label2";
|
|
this.Label2.Size = new System.Drawing.Size(70, 13);
|
|
this.Label2.TabIndex = 14;
|
|
this.Label2.Text = "Name / Units";
|
|
//
|
|
// txtUnits
|
|
//
|
|
this.txtUnits.AccessibleName = "";
|
|
this.txtUnits.Location = new System.Drawing.Point(307, 38);
|
|
this.txtUnits.Name = "txtUnits";
|
|
this.txtUnits.Size = new System.Drawing.Size(96, 20);
|
|
this.txtUnits.TabIndex = 2;
|
|
//
|
|
// txtName
|
|
//
|
|
this.txtName.AccessibleName = "";
|
|
this.txtName.Location = new System.Drawing.Point(112, 38);
|
|
this.txtName.Name = "txtName";
|
|
this.txtName.Size = new System.Drawing.Size(189, 20);
|
|
this.txtName.TabIndex = 1;
|
|
//
|
|
// txtSalePrice
|
|
//
|
|
this.txtSalePrice.AccessibleName = "";
|
|
this.txtSalePrice.Location = new System.Drawing.Point(112, 64);
|
|
this.txtSalePrice.Name = "txtSalePrice";
|
|
this.txtSalePrice.Size = new System.Drawing.Size(189, 20);
|
|
this.txtSalePrice.TabIndex = 3;
|
|
this.txtSalePrice.Text = "0";
|
|
//
|
|
// cmbTax
|
|
//
|
|
this.cmbTax.DataSource = this.bsTax;
|
|
this.cmbTax.DisplayMember = "Name";
|
|
this.cmbTax.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmbTax.Location = new System.Drawing.Point(307, 65);
|
|
this.cmbTax.Name = "cmbTax";
|
|
this.cmbTax.Size = new System.Drawing.Size(96, 21);
|
|
this.cmbTax.TabIndex = 4;
|
|
this.cmbTax.ValueMember = "TaxID";
|
|
//
|
|
// chkDiscontinued
|
|
//
|
|
this.chkDiscontinued.AutoSize = true;
|
|
this.chkDiscontinued.Location = new System.Drawing.Point(307, 92);
|
|
this.chkDiscontinued.Name = "chkDiscontinued";
|
|
this.chkDiscontinued.Size = new System.Drawing.Size(88, 17);
|
|
this.chkDiscontinued.TabIndex = 7;
|
|
this.chkDiscontinued.Text = "Discontinued";
|
|
this.chkDiscontinued.UseVisualStyleBackColor = true;
|
|
//
|
|
// txtServiceCharge
|
|
//
|
|
this.txtServiceCharge.AccessibleName = "Phone 1";
|
|
this.txtServiceCharge.Location = new System.Drawing.Point(112, 90);
|
|
this.txtServiceCharge.Name = "txtServiceCharge";
|
|
this.txtServiceCharge.Size = new System.Drawing.Size(73, 20);
|
|
this.txtServiceCharge.TabIndex = 5;
|
|
this.txtServiceCharge.Text = "0";
|
|
//
|
|
// btnAddProductGroup
|
|
//
|
|
this.btnAddProductGroup.Location = new System.Drawing.Point(307, 116);
|
|
this.btnAddProductGroup.Name = "btnAddProductGroup";
|
|
this.btnAddProductGroup.Size = new System.Drawing.Size(96, 21);
|
|
this.btnAddProductGroup.TabIndex = 9;
|
|
this.btnAddProductGroup.Text = "Add Group";
|
|
//
|
|
// cmbProductGroup
|
|
//
|
|
this.cmbProductGroup.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bsProductGroups, "ProductGroupID", true));
|
|
this.cmbProductGroup.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsProductGroups, "Name", true));
|
|
this.cmbProductGroup.DataSource = this.bsProductGroups;
|
|
this.cmbProductGroup.DisplayMember = "Name";
|
|
this.cmbProductGroup.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmbProductGroup.Location = new System.Drawing.Point(112, 116);
|
|
this.cmbProductGroup.Name = "cmbProductGroup";
|
|
this.cmbProductGroup.Size = new System.Drawing.Size(189, 21);
|
|
this.cmbProductGroup.TabIndex = 8;
|
|
this.cmbProductGroup.ValueMember = "ProductGroupID";
|
|
//
|
|
// btnCancel
|
|
//
|
|
this.btnCancel.Location = new System.Drawing.Point(328, 143);
|
|
this.btnCancel.Name = "btnCancel";
|
|
this.btnCancel.Size = new System.Drawing.Size(75, 75);
|
|
this.btnCancel.TabIndex = 11;
|
|
this.btnCancel.Text = "&Cancel";
|
|
this.btnCancel.UseVisualStyleBackColor = true;
|
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
|
//
|
|
// btnOk
|
|
//
|
|
this.btnOk.Location = new System.Drawing.Point(247, 143);
|
|
this.btnOk.Name = "btnOk";
|
|
this.btnOk.Size = new System.Drawing.Size(75, 75);
|
|
this.btnOk.TabIndex = 10;
|
|
this.btnOk.Text = "&Ok";
|
|
this.btnOk.UseVisualStyleBackColor = true;
|
|
this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(196, 93);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(26, 13);
|
|
this.label1.TabIndex = 18;
|
|
this.label1.Text = "Sort";
|
|
//
|
|
// txtSortOrder
|
|
//
|
|
this.txtSortOrder.AccessibleName = "";
|
|
this.txtSortOrder.Location = new System.Drawing.Point(228, 90);
|
|
this.txtSortOrder.Name = "txtSortOrder";
|
|
this.txtSortOrder.Size = new System.Drawing.Size(73, 20);
|
|
this.txtSortOrder.TabIndex = 6;
|
|
this.txtSortOrder.Text = "0";
|
|
//
|
|
// ProductForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(415, 230);
|
|
this.Controls.Add(this.txtSortOrder);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.btnCancel);
|
|
this.Controls.Add(this.btnOk);
|
|
this.Controls.Add(this.btnAddProductGroup);
|
|
this.Controls.Add(this.cmbProductGroup);
|
|
this.Controls.Add(this.chkDiscontinued);
|
|
this.Controls.Add(this.txtServiceCharge);
|
|
this.Controls.Add(this.Label7);
|
|
this.Controls.Add(this.txtSalePrice);
|
|
this.Controls.Add(this.label5);
|
|
this.Controls.Add(this.cmbTax);
|
|
this.Controls.Add(this.txtUnits);
|
|
this.Controls.Add(this.txtName);
|
|
this.Controls.Add(this.Label2);
|
|
this.Controls.Add(this.txtCode);
|
|
this.Controls.Add(this.txtProductID);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.Label4);
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "ProductForm";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Products";
|
|
this.Load += new System.EventHandler(this.Products_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.bsProductGroups)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsTax)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
internal System.Windows.Forms.Label Label4;
|
|
internal System.Windows.Forms.Label Label7;
|
|
private System.Windows.Forms.BindingSource bsProductGroups;
|
|
private System.Windows.Forms.BindingSource bsTax;
|
|
internal System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.TextBox txtProductID;
|
|
internal System.Windows.Forms.TextBox txtCode;
|
|
internal System.Windows.Forms.Label Label2;
|
|
internal System.Windows.Forms.TextBox txtUnits;
|
|
internal System.Windows.Forms.TextBox txtName;
|
|
internal System.Windows.Forms.TextBox txtSalePrice;
|
|
internal System.Windows.Forms.ComboBox cmbTax;
|
|
private System.Windows.Forms.CheckBox chkDiscontinued;
|
|
internal System.Windows.Forms.TextBox txtServiceCharge;
|
|
internal System.Windows.Forms.Button btnAddProductGroup;
|
|
internal System.Windows.Forms.ComboBox cmbProductGroup;
|
|
private System.Windows.Forms.Button btnCancel;
|
|
private System.Windows.Forms.Button btnOk;
|
|
internal System.Windows.Forms.Label label1;
|
|
internal System.Windows.Forms.TextBox txtSortOrder;
|
|
}
|
|
} |