226 lines
11 KiB
C#
226 lines
11 KiB
C#
namespace Accounts.PointOfSale
|
|
{
|
|
partial class ComplexProductForm
|
|
{
|
|
/// <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.dgvItems = new System.Windows.Forms.DataGridView();
|
|
this.deleteDataGridViewButtonColumn = new System.Windows.Forms.DataGridViewButtonColumn();
|
|
this.bsComplexProducts = new System.Windows.Forms.BindingSource(this.components);
|
|
this.btnAdd = new System.Windows.Forms.Button();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.txtQuantity = new System.Windows.Forms.TextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.bsProducts = new System.Windows.Forms.BindingSource(this.components);
|
|
this.cmbChildItems = new System.Windows.Forms.ComboBox();
|
|
this.bsChildProducts = new System.Windows.Forms.BindingSource(this.components);
|
|
this.btnPrint = new System.Windows.Forms.Button();
|
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
|
this.textBox2 = new System.Windows.Forms.TextBox();
|
|
this.textBox3 = new System.Windows.Forms.TextBox();
|
|
this.textBox4 = new System.Windows.Forms.TextBox();
|
|
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvItems)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsComplexProducts)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsProducts)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsChildProducts)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// dgvItems
|
|
//
|
|
this.dgvItems.AllowUserToAddRows = false;
|
|
this.dgvItems.AutoGenerateColumns = false;
|
|
this.dgvItems.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dgvItems.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.deleteDataGridViewButtonColumn});
|
|
this.dgvItems.DataSource = this.bsComplexProducts;
|
|
this.dgvItems.Location = new System.Drawing.Point(16, 74);
|
|
this.dgvItems.Name = "dgvItems";
|
|
this.dgvItems.Size = new System.Drawing.Size(490, 420);
|
|
this.dgvItems.TabIndex = 2;
|
|
this.dgvItems.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvItems_CellClick);
|
|
//
|
|
// deleteDataGridViewButtonColumn
|
|
//
|
|
this.deleteDataGridViewButtonColumn.HeaderText = "Delete";
|
|
this.deleteDataGridViewButtonColumn.Name = "deleteDataGridViewButtonColumn";
|
|
this.deleteDataGridViewButtonColumn.Text = "Delete";
|
|
this.deleteDataGridViewButtonColumn.UseColumnTextForButtonValue = true;
|
|
this.deleteDataGridViewButtonColumn.Width = 64;
|
|
//
|
|
// btnAdd
|
|
//
|
|
this.btnAdd.Location = new System.Drawing.Point(431, 45);
|
|
this.btnAdd.Name = "btnAdd";
|
|
this.btnAdd.Size = new System.Drawing.Size(75, 23);
|
|
this.btnAdd.TabIndex = 3;
|
|
this.btnAdd.Text = "Add";
|
|
this.btnAdd.UseVisualStyleBackColor = true;
|
|
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(52, 50);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(53, 13);
|
|
this.label2.TabIndex = 4;
|
|
this.label2.Text = "Child Item";
|
|
//
|
|
// txtQuantity
|
|
//
|
|
this.txtQuantity.Location = new System.Drawing.Point(375, 48);
|
|
this.txtQuantity.Name = "txtQuantity";
|
|
this.txtQuantity.Size = new System.Drawing.Size(50, 20);
|
|
this.txtQuantity.TabIndex = 7;
|
|
this.txtQuantity.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(330, 51);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(39, 13);
|
|
this.label3.TabIndex = 6;
|
|
this.label3.Text = "Quality";
|
|
//
|
|
// cmbChildItems
|
|
//
|
|
this.cmbChildItems.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmbChildItems.FormattingEnabled = true;
|
|
this.cmbChildItems.Location = new System.Drawing.Point(111, 47);
|
|
this.cmbChildItems.Name = "cmbChildItems";
|
|
this.cmbChildItems.Size = new System.Drawing.Size(213, 21);
|
|
this.cmbChildItems.TabIndex = 9;
|
|
//
|
|
// btnPrint
|
|
//
|
|
this.btnPrint.Location = new System.Drawing.Point(431, 501);
|
|
this.btnPrint.Name = "btnPrint";
|
|
this.btnPrint.Size = new System.Drawing.Size(75, 23);
|
|
this.btnPrint.TabIndex = 11;
|
|
this.btnPrint.Text = "Print";
|
|
this.btnPrint.UseVisualStyleBackColor = true;
|
|
this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
|
|
//
|
|
// textBox1
|
|
//
|
|
this.textBox1.Location = new System.Drawing.Point(111, 12);
|
|
this.textBox1.Name = "textBox1";
|
|
this.textBox1.Size = new System.Drawing.Size(100, 20);
|
|
this.textBox1.TabIndex = 12;
|
|
//
|
|
// textBox2
|
|
//
|
|
this.textBox2.Location = new System.Drawing.Point(0, 0);
|
|
this.textBox2.Name = "textBox2";
|
|
this.textBox2.Size = new System.Drawing.Size(100, 20);
|
|
this.textBox2.TabIndex = 13;
|
|
//
|
|
// textBox3
|
|
//
|
|
this.textBox3.Location = new System.Drawing.Point(8, 8);
|
|
this.textBox3.Name = "textBox3";
|
|
this.textBox3.Size = new System.Drawing.Size(100, 20);
|
|
this.textBox3.TabIndex = 14;
|
|
//
|
|
// textBox4
|
|
//
|
|
this.textBox4.Location = new System.Drawing.Point(16, 16);
|
|
this.textBox4.Name = "textBox4";
|
|
this.textBox4.Size = new System.Drawing.Size(100, 20);
|
|
this.textBox4.TabIndex = 15;
|
|
//
|
|
// comboBox1
|
|
//
|
|
this.comboBox1.FormattingEnabled = true;
|
|
this.comboBox1.Location = new System.Drawing.Point(24, 24);
|
|
this.comboBox1.Name = "comboBox1";
|
|
this.comboBox1.Size = new System.Drawing.Size(121, 21);
|
|
this.comboBox1.TabIndex = 16;
|
|
//
|
|
// ComplexProductForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(521, 531);
|
|
this.Controls.Add(this.comboBox1);
|
|
this.Controls.Add(this.textBox4);
|
|
this.Controls.Add(this.textBox3);
|
|
this.Controls.Add(this.textBox2);
|
|
this.Controls.Add(this.textBox1);
|
|
this.Controls.Add(this.btnPrint);
|
|
this.Controls.Add(this.cmbChildItems);
|
|
this.Controls.Add(this.txtQuantity);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.btnAdd);
|
|
this.Controls.Add(this.dgvItems);
|
|
this.KeyPreview = true;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "ComplexProductForm";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Complex Products F7-Complex Product, F6-Child Item";
|
|
this.Load += new System.EventHandler(this.ComplexProductForm_Load);
|
|
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ComplexProductForm_KeyDown);
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvItems)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsComplexProducts)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsProducts)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsChildProducts)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.DataGridView dgvItems;
|
|
private System.Windows.Forms.Button btnAdd;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.TextBox txtQuantity;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.ComboBox cmbChildItems;
|
|
private System.Windows.Forms.BindingSource bsProducts;
|
|
private System.Windows.Forms.BindingSource bsChildProducts;
|
|
private System.Windows.Forms.BindingSource bsComplexProducts;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn complexProductIDDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn productNameDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn quantityDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn productIDDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn childIDDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn timestampDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewButtonColumn deleteDataGridViewButtonColumn;
|
|
private System.Windows.Forms.Button btnPrint;
|
|
private System.Windows.Forms.TextBox textBox1;
|
|
private System.Windows.Forms.TextBox textBox2;
|
|
private System.Windows.Forms.TextBox textBox3;
|
|
private System.Windows.Forms.TextBox textBox4;
|
|
private System.Windows.Forms.ComboBox comboBox1;
|
|
}
|
|
} |