2011-06-23 12:47:48 +00:00
using System.Collections.Generic ;
using Tanshu.Accounts.Entities ;
namespace Tanshu.Accounts.PointOfSale.Sales
2010-03-02 17:56:21 +00:00
{
partial class SalesForm
{
/// <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 ( ) ;
2011-12-05 09:41:02 +00:00
System . Windows . Forms . DataGridViewCellStyle dataGridViewCellStyle1 = new System . Windows . Forms . DataGridViewCellStyle ( ) ;
System . Windows . Forms . DataGridViewCellStyle dataGridViewCellStyle2 = new System . Windows . Forms . DataGridViewCellStyle ( ) ;
2010-03-02 17:56:21 +00:00
this . label7 = new System . Windows . Forms . Label ( ) ;
this . txtDiscount = new System . Windows . Forms . TextBox ( ) ;
this . Label12 = new System . Windows . Forms . Label ( ) ;
this . txtGrossAmount = new System . Windows . Forms . TextBox ( ) ;
this . txtAmount = new System . Windows . Forms . TextBox ( ) ;
this . label6 = new System . Windows . Forms . Label ( ) ;
this . label5 = new System . Windows . Forms . Label ( ) ;
this . txtGrossTax = new System . Windows . Forms . TextBox ( ) ;
this . dgvProducts = new System . Windows . Forms . DataGridView ( ) ;
this . Display = new System . Windows . Forms . DataGridViewTextBoxColumn ( ) ;
2011-06-23 12:47:48 +00:00
this . printedDataGridViewTextBoxColumn = new System . Windows . Forms . DataGridViewTextBoxColumn ( ) ;
this . bindingSource = new System . Windows . Forms . BindingSource ( this . components ) ;
2010-03-02 17:56:21 +00:00
this . pnlBilling = new System . Windows . Forms . Panel ( ) ;
2014-10-16 11:11:55 +00:00
this . label10 = new System . Windows . Forms . Label ( ) ;
this . txtPax = new System . Windows . Forms . TextBox ( ) ;
2011-01-31 20:33:22 +00:00
this . flpMain = new System . Windows . Forms . FlowLayoutPanel ( ) ;
this . flpGroup = new System . Windows . Forms . FlowLayoutPanel ( ) ;
this . flpActions = new System . Windows . Forms . FlowLayoutPanel ( ) ;
this . btnQuantity = new System . Windows . Forms . Button ( ) ;
2010-03-02 17:56:21 +00:00
this . btnRate = new System . Windows . Forms . Button ( ) ;
2011-02-18 16:54:48 +00:00
this . btnDelete = new System . Windows . Forms . Button ( ) ;
2011-01-31 20:33:22 +00:00
this . btnDiscount = new System . Windows . Forms . Button ( ) ;
this . btnModifier = new System . Windows . Forms . Button ( ) ;
this . btnWaiter = new System . Windows . Forms . Button ( ) ;
2010-03-02 17:56:21 +00:00
this . btnPrintKot = new System . Windows . Forms . Button ( ) ;
2011-06-23 12:47:48 +00:00
this . btnMoveTable = new System . Windows . Forms . Button ( ) ;
2010-03-02 17:56:21 +00:00
this . btnPrintBill = new System . Windows . Forms . Button ( ) ;
2011-01-31 20:33:22 +00:00
this . btnClear = new System . Windows . Forms . Button ( ) ;
2010-03-02 17:56:21 +00:00
this . btnVoid = new System . Windows . Forms . Button ( ) ;
2011-01-31 20:33:22 +00:00
this . btnSettle = new System . Windows . Forms . Button ( ) ;
2011-06-23 12:47:48 +00:00
this . btnMore = new System . Windows . Forms . Button ( ) ;
this . btnMoveKot = new System . Windows . Forms . Button ( ) ;
2011-12-05 09:41:02 +00:00
this . btnSplitBill = new System . Windows . Forms . Button ( ) ;
2011-01-31 20:33:22 +00:00
this . label1 = new System . Windows . Forms . Label ( ) ;
this . txtServiceCharge = new System . Windows . Forms . TextBox ( ) ;
2010-03-02 17:56:21 +00:00
this . txtTableID = new System . Windows . Forms . TextBox ( ) ;
this . label11 = new System . Windows . Forms . Label ( ) ;
this . label9 = new System . Windows . Forms . Label ( ) ;
this . label8 = new System . Windows . Forms . Label ( ) ;
this . label4 = new System . Windows . Forms . Label ( ) ;
this . txtDate = new System . Windows . Forms . TextBox ( ) ;
this . txtLastEditDate = new System . Windows . Forms . TextBox ( ) ;
this . txtCreationDate = new System . Windows . Forms . TextBox ( ) ;
this . label3 = new System . Windows . Forms . Label ( ) ;
this . label2 = new System . Windows . Forms . Label ( ) ;
this . txtBillID = new System . Windows . Forms . TextBox ( ) ;
this . txtKotID = new System . Windows . Forms . TextBox ( ) ;
this . btnCustomer = new System . Windows . Forms . Button ( ) ;
2011-01-09 23:36:24 +00:00
this . bsWaiter = new System . Windows . Forms . BindingSource ( this . components ) ;
( ( System . ComponentModel . ISupportInitialize ) ( this . dgvProducts ) ) . BeginInit ( ) ;
2011-06-23 12:47:48 +00:00
( ( System . ComponentModel . ISupportInitialize ) ( this . bindingSource ) ) . BeginInit ( ) ;
2011-01-09 23:36:24 +00:00
this . pnlBilling . SuspendLayout ( ) ;
2011-01-31 20:33:22 +00:00
this . flpActions . SuspendLayout ( ) ;
2010-03-02 17:56:21 +00:00
( ( System . ComponentModel . ISupportInitialize ) ( this . bsWaiter ) ) . BeginInit ( ) ;
this . SuspendLayout ( ) ;
//
// label7
//
this . label7 . Anchor = ( ( System . Windows . Forms . AnchorStyles ) ( ( System . Windows . Forms . AnchorStyles . Bottom | System . Windows . Forms . AnchorStyles . Left ) ) ) ;
this . label7 . AutoSize = true ;
2011-01-17 14:55:43 +00:00
this . label7 . Location = new System . Drawing . Point ( 12 , 511 ) ;
2010-03-02 17:56:21 +00:00
this . label7 . Name = "label7" ;
this . label7 . Size = new System . Drawing . Size ( 49 , 13 ) ;
this . label7 . TabIndex = 112 ;
this . label7 . Text = "Discount" ;
this . label7 . TextAlign = System . Drawing . ContentAlignment . TopRight ;
//
// txtDiscount
//
this . txtDiscount . Anchor = ( ( System . Windows . Forms . AnchorStyles ) ( ( System . Windows . Forms . AnchorStyles . Bottom | System . Windows . Forms . AnchorStyles . Left ) ) ) ;
2011-01-17 14:55:43 +00:00
this . txtDiscount . Location = new System . Drawing . Point ( 64 , 508 ) ;
2010-03-02 17:56:21 +00:00
this . txtDiscount . Name = "txtDiscount" ;
this . txtDiscount . ReadOnly = true ;
this . txtDiscount . Size = new System . Drawing . Size ( 120 , 20 ) ;
this . txtDiscount . TabIndex = 113 ;
this . txtDiscount . TextAlign = System . Windows . Forms . HorizontalAlignment . Right ;
//
// Label12
//
this . Label12 . Anchor = ( ( System . Windows . Forms . AnchorStyles ) ( ( System . Windows . Forms . AnchorStyles . Bottom | System . Windows . Forms . AnchorStyles . Left ) ) ) ;
this . Label12 . AutoSize = true ;
this . Label12 . Font = new System . Drawing . Font ( "Microsoft Sans Serif" , 8.25F , System . Drawing . FontStyle . Bold , System . Drawing . GraphicsUnit . Point , ( ( byte ) ( 0 ) ) ) ;
2011-01-17 14:55:43 +00:00
this . Label12 . Location = new System . Drawing . Point ( 222 , 565 ) ;
2010-03-02 17:56:21 +00:00
this . Label12 . Name = "Label12" ;
this . Label12 . Size = new System . Drawing . Size ( 36 , 13 ) ;
this . Label12 . TabIndex = 116 ;
this . Label12 . Text = "Total" ;
this . Label12 . TextAlign = System . Drawing . ContentAlignment . TopRight ;
//
// txtGrossAmount
//
this . txtGrossAmount . Anchor = ( ( System . Windows . Forms . AnchorStyles ) ( ( System . Windows . Forms . AnchorStyles . Bottom | System . Windows . Forms . AnchorStyles . Left ) ) ) ;
2011-01-17 14:55:43 +00:00
this . txtGrossAmount . Location = new System . Drawing . Point ( 64 , 534 ) ;
2010-03-02 17:56:21 +00:00
this . txtGrossAmount . Name = "txtGrossAmount" ;
this . txtGrossAmount . ReadOnly = true ;
this . txtGrossAmount . Size = new System . Drawing . Size ( 120 , 20 ) ;
this . txtGrossAmount . TabIndex = 109 ;
this . txtGrossAmount . TextAlign = System . Windows . Forms . HorizontalAlignment . Right ;
//
// txtAmount
//
this . txtAmount . Anchor = ( ( System . Windows . Forms . AnchorStyles ) ( ( System . Windows . Forms . AnchorStyles . Bottom | System . Windows . Forms . AnchorStyles . Left ) ) ) ;
this . txtAmount . BackColor = System . Drawing . Color . Black ;
this . txtAmount . Font = new System . Drawing . Font ( "Microsoft Sans Serif" , 9.75F , System . Drawing . FontStyle . Bold , System . Drawing . GraphicsUnit . Point , ( ( byte ) ( 0 ) ) ) ;
this . txtAmount . ForeColor = System . Drawing . Color . Transparent ;
2011-01-17 14:55:43 +00:00
this . txtAmount . Location = new System . Drawing . Point ( 264 , 560 ) ;
2010-03-02 17:56:21 +00:00
this . txtAmount . Name = "txtAmount" ;
this . txtAmount . ReadOnly = true ;
this . txtAmount . Size = new System . Drawing . Size ( 120 , 22 ) ;
this . txtAmount . TabIndex = 107 ;
this . txtAmount . Text = "0.00" ;
this . txtAmount . TextAlign = System . Windows . Forms . HorizontalAlignment . Right ;
//
// label6
//
this . label6 . Anchor = ( ( System . Windows . Forms . AnchorStyles ) ( ( System . Windows . Forms . AnchorStyles . Bottom | System . Windows . Forms . AnchorStyles . Left ) ) ) ;
this . label6 . AutoSize = true ;
2011-01-17 14:55:43 +00:00
this . label6 . Location = new System . Drawing . Point ( 12 , 537 ) ;
2010-03-02 17:56:21 +00:00
this . label6 . Name = "label6" ;
this . label6 . Size = new System . Drawing . Size ( 46 , 13 ) ;
this . label6 . TabIndex = 108 ;
this . label6 . Text = "Subtotal" ;
this . label6 . TextAlign = System . Drawing . ContentAlignment . TopRight ;
//
// label5
//
this . label5 . Anchor = ( ( System . Windows . Forms . AnchorStyles ) ( ( System . Windows . Forms . AnchorStyles . Bottom | System . Windows . Forms . AnchorStyles . Left ) ) ) ;
this . label5 . AutoSize = true ;
2011-01-17 14:55:43 +00:00
this . label5 . Location = new System . Drawing . Point ( 220 , 537 ) ;
2010-03-02 17:56:21 +00:00
this . label5 . Name = "label5" ;
this . label5 . Size = new System . Drawing . Size ( 36 , 13 ) ;
this . label5 . TabIndex = 110 ;
this . label5 . Text = "Taxes" ;
this . label5 . TextAlign = System . Drawing . ContentAlignment . TopRight ;
//
// txtGrossTax
//
this . txtGrossTax . Anchor = ( ( System . Windows . Forms . AnchorStyles ) ( ( System . Windows . Forms . AnchorStyles . Bottom | System . Windows . Forms . AnchorStyles . Left ) ) ) ;
2011-01-17 14:55:43 +00:00
this . txtGrossTax . Location = new System . Drawing . Point ( 264 , 534 ) ;
2010-03-02 17:56:21 +00:00
this . txtGrossTax . Name = "txtGrossTax" ;
this . txtGrossTax . ReadOnly = true ;
this . txtGrossTax . Size = new System . Drawing . Size ( 120 , 20 ) ;
this . txtGrossTax . TabIndex = 111 ;
this . txtGrossTax . TextAlign = System . Windows . Forms . HorizontalAlignment . Right ;
//
// dgvProducts
//
this . dgvProducts . AllowUserToAddRows = false ;
this . dgvProducts . AllowUserToDeleteRows = false ;
this . dgvProducts . AllowUserToOrderColumns = true ;
this . dgvProducts . AllowUserToResizeRows = false ;
this . dgvProducts . Anchor = ( ( System . Windows . Forms . AnchorStyles ) ( ( ( ( System . Windows . Forms . AnchorStyles . Top | System . Windows . Forms . AnchorStyles . Bottom )
| System . Windows . Forms . AnchorStyles . Left )
| System . Windows . Forms . AnchorStyles . Right ) ) ) ;
this . dgvProducts . AutoGenerateColumns = false ;
this . dgvProducts . AutoSizeColumnsMode = System . Windows . Forms . DataGridViewAutoSizeColumnsMode . DisplayedCellsExceptHeader ;
2011-01-31 20:33:22 +00:00
this . dgvProducts . AutoSizeRowsMode = System . Windows . Forms . DataGridViewAutoSizeRowsMode . AllCellsExceptHeaders ;
2010-03-02 17:56:21 +00:00
this . dgvProducts . ColumnHeadersHeightSizeMode = System . Windows . Forms . DataGridViewColumnHeadersHeightSizeMode . AutoSize ;
this . dgvProducts . Columns . AddRange ( new System . Windows . Forms . DataGridViewColumn [ ] {
this . Display ,
2011-02-18 16:54:48 +00:00
this . printedDataGridViewTextBoxColumn } ) ;
2010-03-02 17:56:21 +00:00
this . dgvProducts . DataSource = this . bindingSource ;
this . dgvProducts . EditMode = System . Windows . Forms . DataGridViewEditMode . EditProgrammatically ;
this . dgvProducts . Location = new System . Drawing . Point ( 12 , 90 ) ;
this . dgvProducts . MultiSelect = false ;
this . dgvProducts . Name = "dgvProducts" ;
this . dgvProducts . RowHeadersVisible = false ;
this . dgvProducts . RowTemplate . Height = 19 ;
this . dgvProducts . SelectionMode = System . Windows . Forms . DataGridViewSelectionMode . FullRowSelect ;
2011-01-09 23:36:24 +00:00
this . dgvProducts . Size = new System . Drawing . Size ( 372 , 412 ) ;
2010-03-02 17:56:21 +00:00
this . dgvProducts . TabIndex = 0 ;
this . dgvProducts . CellFormatting + = new System . Windows . Forms . DataGridViewCellFormattingEventHandler ( this . dgvProducts_CellFormatting ) ;
//
// Display
//
2011-02-18 16:54:48 +00:00
this . Display . AutoSizeMode = System . Windows . Forms . DataGridViewAutoSizeColumnMode . DisplayedCells ;
2010-03-02 17:56:21 +00:00
this . Display . DataPropertyName = "Display" ;
2011-12-05 09:41:02 +00:00
dataGridViewCellStyle1 . WrapMode = System . Windows . Forms . DataGridViewTriState . True ;
this . Display . DefaultCellStyle = dataGridViewCellStyle1 ;
2010-03-02 17:56:21 +00:00
this . Display . HeaderText = "Display" ;
2011-02-18 16:54:48 +00:00
this . Display . MinimumWidth = 250 ;
2010-03-02 17:56:21 +00:00
this . Display . Name = "Display" ;
this . Display . ReadOnly = true ;
2011-02-18 16:54:48 +00:00
this . Display . Width = 250 ;
2010-03-02 17:56:21 +00:00
//
2011-06-23 12:47:48 +00:00
// printedDataGridViewTextBoxColumn
//
this . printedDataGridViewTextBoxColumn . AutoSizeMode = System . Windows . Forms . DataGridViewAutoSizeColumnMode . DisplayedCells ;
this . printedDataGridViewTextBoxColumn . DataPropertyName = "Quantity" ;
2011-12-05 09:41:02 +00:00
dataGridViewCellStyle2 . Alignment = System . Windows . Forms . DataGridViewContentAlignment . MiddleRight ;
dataGridViewCellStyle2 . Format = "N2" ;
this . printedDataGridViewTextBoxColumn . DefaultCellStyle = dataGridViewCellStyle2 ;
2011-06-23 12:47:48 +00:00
this . printedDataGridViewTextBoxColumn . HeaderText = "Printed" ;
this . printedDataGridViewTextBoxColumn . Name = "printedDataGridViewTextBoxColumn" ;
this . printedDataGridViewTextBoxColumn . ReadOnly = true ;
this . printedDataGridViewTextBoxColumn . Width = 65 ;
//
// bindingSource
//
this . bindingSource . DataSource = typeof ( Tanshu . Accounts . Contracts . BillItemValue ) ;
//
2010-03-02 17:56:21 +00:00
// pnlBilling
//
this . pnlBilling . AutoSize = true ;
this . pnlBilling . AutoSizeMode = System . Windows . Forms . AutoSizeMode . GrowAndShrink ;
2011-12-05 09:41:02 +00:00
this . pnlBilling . Controls . Add ( this . label10 ) ;
this . pnlBilling . Controls . Add ( this . txtPax ) ;
2011-01-30 07:14:05 +00:00
this . pnlBilling . Controls . Add ( this . flpMain ) ;
this . pnlBilling . Controls . Add ( this . flpGroup ) ;
this . pnlBilling . Controls . Add ( this . flpActions ) ;
2011-01-17 14:55:43 +00:00
this . pnlBilling . Controls . Add ( this . label1 ) ;
this . pnlBilling . Controls . Add ( this . txtServiceCharge ) ;
2010-03-02 17:56:21 +00:00
this . pnlBilling . Controls . Add ( this . txtTableID ) ;
this . pnlBilling . Controls . Add ( this . label11 ) ;
this . pnlBilling . Controls . Add ( this . label9 ) ;
this . pnlBilling . Controls . Add ( this . label8 ) ;
this . pnlBilling . Controls . Add ( this . label4 ) ;
this . pnlBilling . Controls . Add ( this . txtDate ) ;
this . pnlBilling . Controls . Add ( this . txtLastEditDate ) ;
this . pnlBilling . Controls . Add ( this . txtCreationDate ) ;
this . pnlBilling . Controls . Add ( this . label3 ) ;
this . pnlBilling . Controls . Add ( this . label2 ) ;
this . pnlBilling . Controls . Add ( this . txtBillID ) ;
this . pnlBilling . Controls . Add ( this . txtKotID ) ;
this . pnlBilling . Controls . Add ( this . btnCustomer ) ;
this . pnlBilling . Controls . Add ( this . dgvProducts ) ;
this . pnlBilling . Controls . Add ( this . txtGrossTax ) ;
this . pnlBilling . Controls . Add ( this . label5 ) ;
this . pnlBilling . Controls . Add ( this . label6 ) ;
this . pnlBilling . Controls . Add ( this . txtAmount ) ;
this . pnlBilling . Controls . Add ( this . txtGrossAmount ) ;
this . pnlBilling . Controls . Add ( this . Label12 ) ;
this . pnlBilling . Controls . Add ( this . txtDiscount ) ;
this . pnlBilling . Controls . Add ( this . label7 ) ;
this . pnlBilling . Dock = System . Windows . Forms . DockStyle . Fill ;
this . pnlBilling . Location = new System . Drawing . Point ( 0 , 0 ) ;
this . pnlBilling . Name = "pnlBilling" ;
2011-01-09 23:36:24 +00:00
this . pnlBilling . Size = new System . Drawing . Size ( 982 , 688 ) ;
2010-03-02 17:56:21 +00:00
this . pnlBilling . TabIndex = 121 ;
//
2014-10-16 11:11:55 +00:00
// label10
//
this . label10 . AutoSize = true ;
this . label10 . Location = new System . Drawing . Point ( 804 , 12 ) ;
this . label10 . Name = "label10" ;
this . label10 . Size = new System . Drawing . Size ( 25 , 13 ) ;
this . label10 . TabIndex = 161 ;
this . label10 . Text = "Pax" ;
//
// txtPax
//
this . txtPax . Location = new System . Drawing . Point ( 807 , 28 ) ;
this . txtPax . Name = "txtPax" ;
this . txtPax . ReadOnly = true ;
this . txtPax . Size = new System . Drawing . Size ( 88 , 20 ) ;
this . txtPax . TabIndex = 160 ;
//
2011-01-31 20:33:22 +00:00
// flpMain
2011-01-17 14:55:43 +00:00
//
2011-01-31 20:33:22 +00:00
this . flpMain . Anchor = ( ( System . Windows . Forms . AnchorStyles ) ( ( ( ( System . Windows . Forms . AnchorStyles . Top | System . Windows . Forms . AnchorStyles . Bottom )
| System . Windows . Forms . AnchorStyles . Left )
| System . Windows . Forms . AnchorStyles . Right ) ) ) ;
this . flpMain . Location = new System . Drawing . Point ( 390 , 54 ) ;
this . flpMain . Name = "flpMain" ;
this . flpMain . Size = new System . Drawing . Size ( 511 , 552 ) ;
this . flpMain . TabIndex = 159 ;
2011-01-17 14:55:43 +00:00
//
2011-01-31 20:33:22 +00:00
// flpGroup
2011-01-17 14:55:43 +00:00
//
2011-01-31 20:33:22 +00:00
this . flpGroup . Dock = System . Windows . Forms . DockStyle . Right ;
this . flpGroup . Location = new System . Drawing . Point ( 901 , 0 ) ;
this . flpGroup . Name = "flpGroup" ;
this . flpGroup . Size = new System . Drawing . Size ( 81 , 607 ) ;
this . flpGroup . TabIndex = 158 ;
2011-01-17 14:55:43 +00:00
//
2011-01-31 20:33:22 +00:00
// flpActions
2010-03-02 17:56:21 +00:00
//
2011-01-31 20:33:22 +00:00
this . flpActions . Controls . Add ( this . btnQuantity ) ;
this . flpActions . Controls . Add ( this . btnRate ) ;
this . flpActions . Controls . Add ( this . btnDelete ) ;
this . flpActions . Controls . Add ( this . btnDiscount ) ;
this . flpActions . Controls . Add ( this . btnModifier ) ;
this . flpActions . Controls . Add ( this . btnWaiter ) ;
this . flpActions . Controls . Add ( this . btnPrintKot ) ;
2011-02-18 16:54:48 +00:00
this . flpActions . Controls . Add ( this . btnMoveTable ) ;
2011-01-31 20:33:22 +00:00
this . flpActions . Controls . Add ( this . btnPrintBill ) ;
this . flpActions . Controls . Add ( this . btnClear ) ;
this . flpActions . Controls . Add ( this . btnVoid ) ;
this . flpActions . Controls . Add ( this . btnSettle ) ;
2011-02-18 16:54:48 +00:00
this . flpActions . Controls . Add ( this . btnMore ) ;
this . flpActions . Controls . Add ( this . btnMoveKot ) ;
2011-08-23 07:10:05 +00:00
this . flpActions . Controls . Add ( this . btnSplitBill ) ;
2011-01-31 20:33:22 +00:00
this . flpActions . Dock = System . Windows . Forms . DockStyle . Bottom ;
this . flpActions . Location = new System . Drawing . Point ( 0 , 607 ) ;
this . flpActions . Name = "flpActions" ;
this . flpActions . Size = new System . Drawing . Size ( 982 , 81 ) ;
this . flpActions . TabIndex = 157 ;
2010-03-02 17:56:21 +00:00
//
2011-01-31 20:33:22 +00:00
// btnQuantity
2010-03-02 17:56:21 +00:00
//
2011-01-31 20:33:22 +00:00
this . btnQuantity . Location = new System . Drawing . Point ( 3 , 3 ) ;
this . btnQuantity . Name = "btnQuantity" ;
this . btnQuantity . Size = new System . Drawing . Size ( 75 , 75 ) ;
this . btnQuantity . TabIndex = 141 ;
this . btnQuantity . Text = "Quantity - F2" ;
this . btnQuantity . UseVisualStyleBackColor = true ;
this . btnQuantity . Click + = new System . EventHandler ( this . btnQuantity_Click ) ;
2010-03-02 17:56:21 +00:00
//
// btnRate
//
2011-01-30 07:14:05 +00:00
this . btnRate . Location = new System . Drawing . Point ( 84 , 3 ) ;
2010-03-02 17:56:21 +00:00
this . btnRate . Name = "btnRate" ;
2011-01-09 23:36:24 +00:00
this . btnRate . Size = new System . Drawing . Size ( 75 , 75 ) ;
2010-03-02 17:56:21 +00:00
this . btnRate . TabIndex = 146 ;
this . btnRate . Text = "&Rate" ;
this . btnRate . UseVisualStyleBackColor = true ;
this . btnRate . Click + = new System . EventHandler ( this . btnRate_Click ) ;
//
2011-02-18 16:54:48 +00:00
// btnDelete
//
this . btnDelete . Location = new System . Drawing . Point ( 165 , 3 ) ;
this . btnDelete . Name = "btnDelete" ;
this . btnDelete . Size = new System . Drawing . Size ( 75 , 75 ) ;
this . btnDelete . TabIndex = 157 ;
this . btnDelete . Text = "Delete" ;
this . btnDelete . UseVisualStyleBackColor = true ;
this . btnDelete . Click + = new System . EventHandler ( this . btnDelete_Click ) ;
//
2011-01-31 20:33:22 +00:00
// btnDiscount
//
this . btnDiscount . Location = new System . Drawing . Point ( 246 , 3 ) ;
this . btnDiscount . Name = "btnDiscount" ;
this . btnDiscount . Size = new System . Drawing . Size ( 75 , 75 ) ;
this . btnDiscount . TabIndex = 142 ;
this . btnDiscount . Text = "Discount - F3" ;
this . btnDiscount . UseVisualStyleBackColor = true ;
this . btnDiscount . Click + = new System . EventHandler ( this . btnDiscount_Click ) ;
//
// btnModifier
//
this . btnModifier . Location = new System . Drawing . Point ( 327 , 3 ) ;
this . btnModifier . Name = "btnModifier" ;
this . btnModifier . Size = new System . Drawing . Size ( 75 , 75 ) ;
this . btnModifier . TabIndex = 156 ;
this . btnModifier . Text = "Modifier" ;
this . btnModifier . UseVisualStyleBackColor = true ;
this . btnModifier . Click + = new System . EventHandler ( this . btnModifier_Click ) ;
//
// btnWaiter
//
this . btnWaiter . Location = new System . Drawing . Point ( 408 , 3 ) ;
this . btnWaiter . Name = "btnWaiter" ;
this . btnWaiter . Size = new System . Drawing . Size ( 75 , 75 ) ;
this . btnWaiter . TabIndex = 150 ;
this . btnWaiter . Text = "Select Waiter - F5" ;
this . btnWaiter . UseVisualStyleBackColor = true ;
this . btnWaiter . Click + = new System . EventHandler ( this . btnWaiter_Click ) ;
//
2010-03-02 17:56:21 +00:00
// btnPrintKot
//
2011-01-31 20:33:22 +00:00
this . btnPrintKot . Location = new System . Drawing . Point ( 489 , 3 ) ;
2010-03-02 17:56:21 +00:00
this . btnPrintKot . Name = "btnPrintKot" ;
2011-01-09 23:36:24 +00:00
this . btnPrintKot . Size = new System . Drawing . Size ( 75 , 75 ) ;
2010-03-02 17:56:21 +00:00
this . btnPrintKot . TabIndex = 145 ;
this . btnPrintKot . Text = "Print KOT - F12" ;
this . btnPrintKot . UseVisualStyleBackColor = true ;
this . btnPrintKot . Click + = new System . EventHandler ( this . btnPrintKot_Click ) ;
//
2011-06-23 12:47:48 +00:00
// btnMoveTable
//
this . btnMoveTable . Location = new System . Drawing . Point ( 570 , 3 ) ;
this . btnMoveTable . Name = "btnMoveTable" ;
this . btnMoveTable . Size = new System . Drawing . Size ( 75 , 75 ) ;
this . btnMoveTable . TabIndex = 158 ;
this . btnMoveTable . Text = "Move Table" ;
this . btnMoveTable . UseVisualStyleBackColor = true ;
this . btnMoveTable . Click + = new System . EventHandler ( this . btnMoveTable_Click ) ;
//
2010-03-02 17:56:21 +00:00
// btnPrintBill
//
2011-02-18 16:54:48 +00:00
this . btnPrintBill . Location = new System . Drawing . Point ( 651 , 3 ) ;
2010-03-02 17:56:21 +00:00
this . btnPrintBill . Name = "btnPrintBill" ;
2011-01-09 23:36:24 +00:00
this . btnPrintBill . Size = new System . Drawing . Size ( 75 , 75 ) ;
2010-03-02 17:56:21 +00:00
this . btnPrintBill . TabIndex = 144 ;
this . btnPrintBill . Text = "Print Bill - F11" ;
this . btnPrintBill . UseVisualStyleBackColor = true ;
this . btnPrintBill . Click + = new System . EventHandler ( this . btnPrintBill_Click ) ;
//
2011-01-31 20:33:22 +00:00
// btnClear
//
2011-02-18 16:54:48 +00:00
this . btnClear . Location = new System . Drawing . Point ( 732 , 3 ) ;
2011-01-31 20:33:22 +00:00
this . btnClear . Name = "btnClear" ;
this . btnClear . Size = new System . Drawing . Size ( 75 , 75 ) ;
this . btnClear . TabIndex = 148 ;
this . btnClear . Text = "Clear - Esc" ;
this . btnClear . UseVisualStyleBackColor = true ;
this . btnClear . Click + = new System . EventHandler ( this . btnClear_Click ) ;
//
2010-03-02 17:56:21 +00:00
// btnVoid
//
2011-02-18 16:54:48 +00:00
this . btnVoid . Location = new System . Drawing . Point ( 813 , 3 ) ;
2010-03-02 17:56:21 +00:00
this . btnVoid . Name = "btnVoid" ;
2011-01-09 23:36:24 +00:00
this . btnVoid . Size = new System . Drawing . Size ( 75 , 75 ) ;
2010-03-02 17:56:21 +00:00
this . btnVoid . TabIndex = 143 ;
2011-01-30 07:14:05 +00:00
this . btnVoid . Text = "Void Bill" ;
2010-03-02 17:56:21 +00:00
this . btnVoid . UseVisualStyleBackColor = true ;
this . btnVoid . Click + = new System . EventHandler ( this . btnVoid_Click ) ;
//
2011-01-31 20:33:22 +00:00
// btnSettle
2010-03-02 17:56:21 +00:00
//
2011-02-18 16:54:48 +00:00
this . btnSettle . Location = new System . Drawing . Point ( 894 , 3 ) ;
2011-01-31 20:33:22 +00:00
this . btnSettle . Name = "btnSettle" ;
this . btnSettle . Size = new System . Drawing . Size ( 75 , 75 ) ;
this . btnSettle . TabIndex = 155 ;
this . btnSettle . Text = "Settle Bill" ;
this . btnSettle . UseVisualStyleBackColor = true ;
this . btnSettle . Click + = new System . EventHandler ( this . btnSettle_Click ) ;
2010-03-02 17:56:21 +00:00
//
2011-06-23 12:47:48 +00:00
// btnMore
//
this . btnMore . Location = new System . Drawing . Point ( 3 , 84 ) ;
this . btnMore . Name = "btnMore" ;
this . btnMore . Size = new System . Drawing . Size ( 75 , 75 ) ;
this . btnMore . TabIndex = 159 ;
this . btnMore . Text = "More" ;
this . btnMore . UseVisualStyleBackColor = true ;
this . btnMore . Click + = new System . EventHandler ( this . btnMore_Click ) ;
//
// btnMoveKot
//
this . btnMoveKot . Location = new System . Drawing . Point ( 84 , 84 ) ;
this . btnMoveKot . Name = "btnMoveKot" ;
this . btnMoveKot . Size = new System . Drawing . Size ( 75 , 75 ) ;
this . btnMoveKot . TabIndex = 160 ;
this . btnMoveKot . Text = "Move Kot" ;
this . btnMoveKot . UseVisualStyleBackColor = true ;
this . btnMoveKot . Click + = new System . EventHandler ( this . btnMoveKot_Click ) ;
//
2011-12-05 09:41:02 +00:00
// btnSplitBill
//
this . btnSplitBill . Location = new System . Drawing . Point ( 165 , 84 ) ;
this . btnSplitBill . Name = "btnSplitBill" ;
this . btnSplitBill . Size = new System . Drawing . Size ( 75 , 75 ) ;
this . btnSplitBill . TabIndex = 161 ;
this . btnSplitBill . Text = "Split Bill" ;
this . btnSplitBill . UseVisualStyleBackColor = true ;
this . btnSplitBill . Click + = new System . EventHandler ( this . btnSplitBill_Click ) ;
//
2011-01-31 20:33:22 +00:00
// label1
2010-03-02 17:56:21 +00:00
//
2011-01-31 20:33:22 +00:00
this . label1 . Anchor = ( ( System . Windows . Forms . AnchorStyles ) ( ( System . Windows . Forms . AnchorStyles . Bottom | System . Windows . Forms . AnchorStyles . Left ) ) ) ;
this . label1 . AutoSize = true ;
this . label1 . Location = new System . Drawing . Point ( 235 , 511 ) ;
this . label1 . Name = "label1" ;
this . label1 . Size = new System . Drawing . Size ( 21 , 13 ) ;
this . label1 . TabIndex = 154 ;
this . label1 . Text = "SC" ;
this . label1 . TextAlign = System . Drawing . ContentAlignment . TopRight ;
//
// txtServiceCharge
//
this . txtServiceCharge . Anchor = ( ( System . Windows . Forms . AnchorStyles ) ( ( System . Windows . Forms . AnchorStyles . Bottom | System . Windows . Forms . AnchorStyles . Left ) ) ) ;
this . txtServiceCharge . Location = new System . Drawing . Point ( 264 , 508 ) ;
this . txtServiceCharge . Name = "txtServiceCharge" ;
this . txtServiceCharge . ReadOnly = true ;
this . txtServiceCharge . Size = new System . Drawing . Size ( 120 , 20 ) ;
this . txtServiceCharge . TabIndex = 153 ;
this . txtServiceCharge . TextAlign = System . Windows . Forms . HorizontalAlignment . Right ;
2010-03-02 17:56:21 +00:00
//
// txtTableID
//
this . txtTableID . Location = new System . Drawing . Point ( 390 , 28 ) ;
this . txtTableID . Name = "txtTableID" ;
this . txtTableID . ReadOnly = true ;
this . txtTableID . Size = new System . Drawing . Size ( 93 , 20 ) ;
this . txtTableID . TabIndex = 140 ;
//
// label11
//
this . label11 . AutoSize = true ;
this . label11 . Location = new System . Drawing . Point ( 387 , 12 ) ;
this . label11 . Name = "label11" ;
this . label11 . Size = new System . Drawing . Size ( 34 , 13 ) ;
this . label11 . TabIndex = 139 ;
this . label11 . Text = "Table" ;
//
// label9
//
this . label9 . AutoSize = true ;
this . label9 . Location = new System . Drawing . Point ( 259 , 12 ) ;
this . label9 . Name = "label9" ;
2011-12-05 09:41:02 +00:00
this . label9 . Size = new System . Drawing . Size ( 55 , 13 ) ;
2010-03-02 17:56:21 +00:00
this . label9 . TabIndex = 136 ;
2011-12-05 09:41:02 +00:00
this . label9 . Text = "Start Time" ;
2010-03-02 17:56:21 +00:00
//
// label8
//
this . label8 . AutoSize = true ;
this . label8 . Location = new System . Drawing . Point ( 486 , 12 ) ;
this . label8 . Name = "label8" ;
this . label8 . Size = new System . Drawing . Size ( 84 , 13 ) ;
this . label8 . TabIndex = 135 ;
this . label8 . Text = "Bill Printing Time" ;
//
// label4
//
this . label4 . AutoSize = true ;
this . label4 . Location = new System . Drawing . Point ( 645 , 12 ) ;
this . label4 . Name = "label4" ;
this . label4 . Size = new System . Drawing . Size ( 74 , 13 ) ;
this . label4 . TabIndex = 134 ;
this . label4 . Text = "Last Edit Time" ;
//
// txtDate
//
this . txtDate . Location = new System . Drawing . Point ( 489 , 28 ) ;
this . txtDate . Name = "txtDate" ;
this . txtDate . ReadOnly = true ;
this . txtDate . Size = new System . Drawing . Size ( 153 , 20 ) ;
this . txtDate . TabIndex = 133 ;
//
// txtLastEditDate
//
this . txtLastEditDate . Location = new System . Drawing . Point ( 648 , 28 ) ;
this . txtLastEditDate . Name = "txtLastEditDate" ;
this . txtLastEditDate . ReadOnly = true ;
this . txtLastEditDate . Size = new System . Drawing . Size ( 153 , 20 ) ;
this . txtLastEditDate . TabIndex = 132 ;
//
// txtCreationDate
//
this . txtCreationDate . Location = new System . Drawing . Point ( 262 , 28 ) ;
this . txtCreationDate . Name = "txtCreationDate" ;
this . txtCreationDate . ReadOnly = true ;
this . txtCreationDate . Size = new System . Drawing . Size ( 122 , 20 ) ;
this . txtCreationDate . TabIndex = 131 ;
//
// label3
//
this . label3 . AutoSize = true ;
this . label3 . Location = new System . Drawing . Point ( 124 , 12 ) ;
this . label3 . Name = "label3" ;
this . label3 . Size = new System . Drawing . Size ( 69 , 13 ) ;
this . label3 . TabIndex = 130 ;
this . label3 . Text = "KOT Number" ;
//
// label2
//
this . label2 . AutoSize = true ;
this . label2 . Location = new System . Drawing . Point ( 9 , 12 ) ;
this . label2 . Name = "label2" ;
this . label2 . Size = new System . Drawing . Size ( 60 , 13 ) ;
this . label2 . TabIndex = 129 ;
this . label2 . Text = "Bill Number" ;
//
// txtBillID
//
this . txtBillID . Location = new System . Drawing . Point ( 12 , 28 ) ;
this . txtBillID . Name = "txtBillID" ;
this . txtBillID . ReadOnly = true ;
this . txtBillID . Size = new System . Drawing . Size ( 109 , 20 ) ;
this . txtBillID . TabIndex = 128 ;
//
// txtKotID
//
this . txtKotID . Location = new System . Drawing . Point ( 127 , 28 ) ;
this . txtKotID . Name = "txtKotID" ;
this . txtKotID . ReadOnly = true ;
this . txtKotID . Size = new System . Drawing . Size ( 129 , 20 ) ;
this . txtKotID . TabIndex = 127 ;
//
// btnCustomer
//
this . btnCustomer . Font = new System . Drawing . Font ( "Microsoft Sans Serif" , 15.75F , System . Drawing . FontStyle . Regular , System . Drawing . GraphicsUnit . Point , ( ( byte ) ( 0 ) ) ) ;
this . btnCustomer . ForeColor = System . Drawing . Color . Red ;
this . btnCustomer . Location = new System . Drawing . Point ( 12 , 54 ) ;
this . btnCustomer . Name = "btnCustomer" ;
2011-01-09 23:36:24 +00:00
this . btnCustomer . Size = new System . Drawing . Size ( 372 , 34 ) ;
2010-03-02 17:56:21 +00:00
this . btnCustomer . TabIndex = 126 ;
this . btnCustomer . UseVisualStyleBackColor = true ;
this . btnCustomer . Click + = new System . EventHandler ( this . btnCustomer_Click ) ;
//
2011-01-31 20:33:22 +00:00
// bsWaiter
2011-01-30 07:14:05 +00:00
//
2011-01-31 20:33:22 +00:00
this . bsWaiter . DataSource = typeof ( Tanshu . Accounts . Entities . Waiter ) ;
2011-01-30 07:14:05 +00:00
//
2010-03-02 17:56:21 +00:00
// SalesForm
//
this . AutoScaleDimensions = new System . Drawing . SizeF ( 6F , 13F ) ;
this . AutoScaleMode = System . Windows . Forms . AutoScaleMode . Font ;
2011-01-09 23:36:24 +00:00
this . ClientSize = new System . Drawing . Size ( 982 , 688 ) ;
2010-03-02 17:56:21 +00:00
this . Controls . Add ( this . pnlBilling ) ;
this . KeyPreview = true ;
this . MaximizeBox = false ;
this . Name = "SalesForm" ;
this . StartPosition = System . Windows . Forms . FormStartPosition . CenterScreen ;
this . Text = "F2-Qty., F3-Discount, F4-Customer, F5-Waiter, F7-Product, F8-LoadBill, F9-Set Amo" +
"unt, F11-Print Bill, F12-Print KOT, ESC-Cancel" ;
this . Load + = new System . EventHandler ( this . SalesForm_Load ) ;
this . KeyDown + = new System . Windows . Forms . KeyEventHandler ( this . SalesForm_KeyDown ) ;
( ( System . ComponentModel . ISupportInitialize ) ( this . dgvProducts ) ) . EndInit ( ) ;
2011-06-23 12:47:48 +00:00
( ( System . ComponentModel . ISupportInitialize ) ( this . bindingSource ) ) . EndInit ( ) ;
2010-03-02 17:56:21 +00:00
this . pnlBilling . ResumeLayout ( false ) ;
this . pnlBilling . PerformLayout ( ) ;
2011-01-31 20:33:22 +00:00
this . flpActions . ResumeLayout ( false ) ;
2011-01-09 23:36:24 +00:00
( ( System . ComponentModel . ISupportInitialize ) ( this . bsWaiter ) ) . EndInit ( ) ;
2010-03-02 17:56:21 +00:00
this . ResumeLayout ( false ) ;
this . PerformLayout ( ) ;
}
#endregion
private System . Windows . Forms . BindingSource bindingSource ;
private System . Windows . Forms . BindingSource bsWaiter ;
internal System . Windows . Forms . Label label7 ;
internal System . Windows . Forms . TextBox txtDiscount ;
internal System . Windows . Forms . Label Label12 ;
internal System . Windows . Forms . TextBox txtGrossAmount ;
internal System . Windows . Forms . TextBox txtAmount ;
internal System . Windows . Forms . Label label6 ;
internal System . Windows . Forms . Label label5 ;
internal System . Windows . Forms . TextBox txtGrossTax ;
private System . Windows . Forms . DataGridView dgvProducts ;
private System . Windows . Forms . Panel pnlBilling ;
private System . Windows . Forms . Button btnCustomer ;
private System . Windows . Forms . TextBox txtBillID ;
private System . Windows . Forms . TextBox txtKotID ;
private System . Windows . Forms . Label label3 ;
private System . Windows . Forms . Label label2 ;
private System . Windows . Forms . Label label9 ;
private System . Windows . Forms . Label label8 ;
private System . Windows . Forms . Label label4 ;
private System . Windows . Forms . TextBox txtDate ;
private System . Windows . Forms . TextBox txtLastEditDate ;
private System . Windows . Forms . TextBox txtCreationDate ;
private System . Windows . Forms . TextBox txtTableID ;
private System . Windows . Forms . Label label11 ;
private System . Windows . Forms . Button btnDiscount ;
private System . Windows . Forms . Button btnQuantity ;
private System . Windows . Forms . Button btnPrintKot ;
private System . Windows . Forms . Button btnPrintBill ;
private System . Windows . Forms . Button btnVoid ;
private System . Windows . Forms . Button btnRate ;
private System . Windows . Forms . Button btnClear ;
private System . Windows . Forms . Button btnWaiter ;
2011-01-17 14:55:43 +00:00
internal System . Windows . Forms . Label label1 ;
internal System . Windows . Forms . TextBox txtServiceCharge ;
private System . Windows . Forms . Button btnSettle ;
2011-01-30 07:14:05 +00:00
private System . Windows . Forms . FlowLayoutPanel flpActions ;
private System . Windows . Forms . Button btnModifier ;
private System . Windows . Forms . FlowLayoutPanel flpGroup ;
private System . Windows . Forms . FlowLayoutPanel flpMain ;
2011-02-18 16:54:48 +00:00
private System . Windows . Forms . Button btnDelete ;
private System . Windows . Forms . Button btnMoveTable ;
2011-01-31 20:33:22 +00:00
private System . Windows . Forms . DataGridViewTextBoxColumn Display ;
private System . Windows . Forms . DataGridViewTextBoxColumn printedDataGridViewTextBoxColumn ;
2011-02-18 16:54:48 +00:00
private System . Windows . Forms . Button btnMore ;
private System . Windows . Forms . Button btnMoveKot ;
2011-03-11 18:49:48 +00:00
private readonly BillController _billController ;
2011-08-23 07:10:05 +00:00
private System . Windows . Forms . Button btnSplitBill ;
2011-12-05 09:41:02 +00:00
private System . Windows . Forms . Label label10 ;
private System . Windows . Forms . TextBox txtPax ;
2010-03-02 17:56:21 +00:00
}
}