0172fc4e01
Added Nc Option in settlement Merged Vouchers and SaleVoucher table. Need to update the Sql Schema
1018 lines
54 KiB
C#
1018 lines
54 KiB
C#
namespace Tanshu.Accounts.PointOfSale
|
|
{
|
|
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();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
this.tmrPending = new System.Windows.Forms.Timer(this.components);
|
|
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.txtNarration = new System.Windows.Forms.TextBox();
|
|
this.txtGrossTax = new System.Windows.Forms.TextBox();
|
|
this.dgvProducts = new System.Windows.Forms.DataGridView();
|
|
this.Display = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.printedDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.additionalDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.bindingSource = new System.Windows.Forms.BindingSource(this.components);
|
|
this.pnlBilling = new System.Windows.Forms.Panel();
|
|
this.btnAdvance = new System.Windows.Forms.Button();
|
|
this.btnResetCustomer = new System.Windows.Forms.Button();
|
|
this.btnWaiter = new System.Windows.Forms.Button();
|
|
this.txtCode = new System.Windows.Forms.TextBox();
|
|
this.btnClear = new System.Windows.Forms.Button();
|
|
this.btnRate = new System.Windows.Forms.Button();
|
|
this.btnPrintKot = new System.Windows.Forms.Button();
|
|
this.btnPrintBill = new System.Windows.Forms.Button();
|
|
this.btnVoid = new System.Windows.Forms.Button();
|
|
this.btnDiscount = new System.Windows.Forms.Button();
|
|
this.btnQuantity = new System.Windows.Forms.Button();
|
|
this.txtTableID = new System.Windows.Forms.TextBox();
|
|
this.label11 = new System.Windows.Forms.Label();
|
|
this.label10 = new System.Windows.Forms.Label();
|
|
this.txtUserID = new System.Windows.Forms.TextBox();
|
|
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();
|
|
this.pnlWaiting = new System.Windows.Forms.Panel();
|
|
this.btnPaidStaff = new System.Windows.Forms.Button();
|
|
this.btnPaidCredit = new System.Windows.Forms.Button();
|
|
this.dgvPending = new System.Windows.Forms.DataGridView();
|
|
this.selectDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
this.billNoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.kotDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.TableID = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.amountDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.importantDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
this.alarmDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
this.bookingTimeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.lastEditedDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.waiterDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.cashierDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.printedDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
this.alarmTimeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.bsPending = new System.Windows.Forms.BindingSource(this.components);
|
|
this.btnAlarm = new System.Windows.Forms.Button();
|
|
this.chkRefresh = new System.Windows.Forms.CheckBox();
|
|
this.btnRefresh = new System.Windows.Forms.Button();
|
|
this.btnPaidCC = new System.Windows.Forms.Button();
|
|
this.btnPaidCash = new System.Windows.Forms.Button();
|
|
this.btnBillList = new System.Windows.Forms.Button();
|
|
this.btnSelectBill = new System.Windows.Forms.Button();
|
|
this.btnStartBill = new System.Windows.Forms.Button();
|
|
this.tcPending = new System.Windows.Forms.TabControl();
|
|
this.tpToday = new System.Windows.Forms.TabPage();
|
|
this.tpWeek = new System.Windows.Forms.TabPage();
|
|
this.tpAll = new System.Windows.Forms.TabPage();
|
|
this.tpAlarm = new System.Windows.Forms.TabPage();
|
|
this.lblUser = new System.Windows.Forms.Label();
|
|
this.bsWaiter = new System.Windows.Forms.BindingSource(this.components);
|
|
this.btnPaidNc = new System.Windows.Forms.Button();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvProducts)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bindingSource)).BeginInit();
|
|
this.pnlBilling.SuspendLayout();
|
|
this.pnlWaiting.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvPending)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsPending)).BeginInit();
|
|
this.tcPending.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsWaiter)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// tmrPending
|
|
//
|
|
this.tmrPending.Enabled = true;
|
|
this.tmrPending.Interval = 5000;
|
|
this.tmrPending.Tick += new System.EventHandler(this.tmrPending_Tick);
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.label7.AutoSize = true;
|
|
this.label7.Location = new System.Drawing.Point(795, 517);
|
|
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)));
|
|
this.txtDiscount.Location = new System.Drawing.Point(850, 514);
|
|
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)));
|
|
this.Label12.Location = new System.Drawing.Point(808, 569);
|
|
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)));
|
|
this.txtGrossAmount.Location = new System.Drawing.Point(850, 540);
|
|
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;
|
|
this.txtAmount.Location = new System.Drawing.Point(850, 566);
|
|
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;
|
|
this.label6.Location = new System.Drawing.Point(800, 543);
|
|
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;
|
|
this.label5.Location = new System.Drawing.Point(808, 488);
|
|
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;
|
|
//
|
|
// txtNarration
|
|
//
|
|
this.txtNarration.Location = new System.Drawing.Point(12, 482);
|
|
this.txtNarration.Multiline = true;
|
|
this.txtNarration.Name = "txtNarration";
|
|
this.txtNarration.Size = new System.Drawing.Size(216, 106);
|
|
this.txtNarration.TabIndex = 4;
|
|
//
|
|
// txtGrossTax
|
|
//
|
|
this.txtGrossTax.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.txtGrossTax.Location = new System.Drawing.Point(850, 488);
|
|
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;
|
|
this.dgvProducts.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dgvProducts.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.Display,
|
|
this.printedDataGridViewTextBoxColumn,
|
|
this.additionalDataGridViewTextBoxColumn});
|
|
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;
|
|
this.dgvProducts.Size = new System.Drawing.Size(471, 386);
|
|
this.dgvProducts.TabIndex = 0;
|
|
this.dgvProducts.VirtualMode = true;
|
|
this.dgvProducts.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dgvProducts_CellFormatting);
|
|
//
|
|
// Display
|
|
//
|
|
this.Display.DataPropertyName = "Display";
|
|
this.Display.HeaderText = "Display";
|
|
this.Display.Name = "Display";
|
|
this.Display.ReadOnly = true;
|
|
this.Display.Width = 5;
|
|
//
|
|
// printedDataGridViewTextBoxColumn
|
|
//
|
|
this.printedDataGridViewTextBoxColumn.DataPropertyName = "Printed";
|
|
dataGridViewCellStyle3.Format = "N2";
|
|
this.printedDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3;
|
|
this.printedDataGridViewTextBoxColumn.HeaderText = "Printed";
|
|
this.printedDataGridViewTextBoxColumn.Name = "printedDataGridViewTextBoxColumn";
|
|
this.printedDataGridViewTextBoxColumn.ReadOnly = true;
|
|
this.printedDataGridViewTextBoxColumn.Width = 5;
|
|
//
|
|
// additionalDataGridViewTextBoxColumn
|
|
//
|
|
this.additionalDataGridViewTextBoxColumn.DataPropertyName = "Additional";
|
|
dataGridViewCellStyle4.Format = "N2";
|
|
dataGridViewCellStyle4.NullValue = null;
|
|
this.additionalDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle4;
|
|
this.additionalDataGridViewTextBoxColumn.HeaderText = "Additional";
|
|
this.additionalDataGridViewTextBoxColumn.Name = "additionalDataGridViewTextBoxColumn";
|
|
this.additionalDataGridViewTextBoxColumn.ReadOnly = true;
|
|
this.additionalDataGridViewTextBoxColumn.Width = 5;
|
|
//
|
|
// bindingSource
|
|
//
|
|
this.bindingSource.DataSource = typeof(Tanshu.Accounts.Contracts.SalesBillItemBO);
|
|
//
|
|
// pnlBilling
|
|
//
|
|
this.pnlBilling.AutoSize = true;
|
|
this.pnlBilling.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
this.pnlBilling.Controls.Add(this.btnAdvance);
|
|
this.pnlBilling.Controls.Add(this.btnResetCustomer);
|
|
this.pnlBilling.Controls.Add(this.btnWaiter);
|
|
this.pnlBilling.Controls.Add(this.txtCode);
|
|
this.pnlBilling.Controls.Add(this.btnClear);
|
|
this.pnlBilling.Controls.Add(this.btnRate);
|
|
this.pnlBilling.Controls.Add(this.btnPrintKot);
|
|
this.pnlBilling.Controls.Add(this.btnPrintBill);
|
|
this.pnlBilling.Controls.Add(this.btnVoid);
|
|
this.pnlBilling.Controls.Add(this.btnDiscount);
|
|
this.pnlBilling.Controls.Add(this.btnQuantity);
|
|
this.pnlBilling.Controls.Add(this.txtTableID);
|
|
this.pnlBilling.Controls.Add(this.label11);
|
|
this.pnlBilling.Controls.Add(this.label10);
|
|
this.pnlBilling.Controls.Add(this.txtUserID);
|
|
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.txtNarration);
|
|
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";
|
|
this.pnlBilling.Size = new System.Drawing.Size(982, 662);
|
|
this.pnlBilling.TabIndex = 121;
|
|
//
|
|
// btnAdvance
|
|
//
|
|
this.btnAdvance.Location = new System.Drawing.Point(341, 543);
|
|
this.btnAdvance.Name = "btnAdvance";
|
|
this.btnAdvance.Size = new System.Drawing.Size(101, 45);
|
|
this.btnAdvance.TabIndex = 152;
|
|
this.btnAdvance.Text = "Advance - F10";
|
|
this.btnAdvance.UseVisualStyleBackColor = true;
|
|
this.btnAdvance.Click += new System.EventHandler(this.btnAdvance_Click);
|
|
//
|
|
// btnResetCustomer
|
|
//
|
|
this.btnResetCustomer.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnResetCustomer.ForeColor = System.Drawing.Color.Red;
|
|
this.btnResetCustomer.Location = new System.Drawing.Point(489, 54);
|
|
this.btnResetCustomer.Name = "btnResetCustomer";
|
|
this.btnResetCustomer.Size = new System.Drawing.Size(36, 34);
|
|
this.btnResetCustomer.TabIndex = 151;
|
|
this.btnResetCustomer.UseVisualStyleBackColor = true;
|
|
this.btnResetCustomer.Click += new System.EventHandler(this.btnResetCustomer_Click);
|
|
//
|
|
// btnWaiter
|
|
//
|
|
this.btnWaiter.Location = new System.Drawing.Point(341, 482);
|
|
this.btnWaiter.Name = "btnWaiter";
|
|
this.btnWaiter.Size = new System.Drawing.Size(101, 55);
|
|
this.btnWaiter.TabIndex = 150;
|
|
this.btnWaiter.Text = "Select Waiter - F5";
|
|
this.btnWaiter.UseVisualStyleBackColor = true;
|
|
this.btnWaiter.Click += new System.EventHandler(this.btnWaiter_Click);
|
|
//
|
|
// txtCode
|
|
//
|
|
this.txtCode.Location = new System.Drawing.Point(531, 54);
|
|
this.txtCode.Name = "txtCode";
|
|
this.txtCode.Size = new System.Drawing.Size(439, 20);
|
|
this.txtCode.TabIndex = 149;
|
|
//
|
|
// btnClear
|
|
//
|
|
this.btnClear.Location = new System.Drawing.Point(234, 482);
|
|
this.btnClear.Name = "btnClear";
|
|
this.btnClear.Size = new System.Drawing.Size(101, 106);
|
|
this.btnClear.TabIndex = 148;
|
|
this.btnClear.Text = "Clear - Esc";
|
|
this.btnClear.UseVisualStyleBackColor = true;
|
|
this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
|
|
//
|
|
// btnRate
|
|
//
|
|
this.btnRate.Location = new System.Drawing.Point(663, 566);
|
|
this.btnRate.Name = "btnRate";
|
|
this.btnRate.Size = new System.Drawing.Size(104, 23);
|
|
this.btnRate.TabIndex = 146;
|
|
this.btnRate.Text = "&Rate";
|
|
this.btnRate.UseVisualStyleBackColor = true;
|
|
this.btnRate.Click += new System.EventHandler(this.btnRate_Click);
|
|
//
|
|
// btnPrintKot
|
|
//
|
|
this.btnPrintKot.Location = new System.Drawing.Point(555, 482);
|
|
this.btnPrintKot.Name = "btnPrintKot";
|
|
this.btnPrintKot.Size = new System.Drawing.Size(102, 106);
|
|
this.btnPrintKot.TabIndex = 145;
|
|
this.btnPrintKot.Text = "Print KOT - F12";
|
|
this.btnPrintKot.UseVisualStyleBackColor = true;
|
|
this.btnPrintKot.Click += new System.EventHandler(this.btnPrintKot_Click);
|
|
//
|
|
// btnPrintBill
|
|
//
|
|
this.btnPrintBill.Location = new System.Drawing.Point(448, 482);
|
|
this.btnPrintBill.Name = "btnPrintBill";
|
|
this.btnPrintBill.Size = new System.Drawing.Size(101, 106);
|
|
this.btnPrintBill.TabIndex = 144;
|
|
this.btnPrintBill.Text = "Print Bill - F11";
|
|
this.btnPrintBill.UseVisualStyleBackColor = true;
|
|
this.btnPrintBill.Click += new System.EventHandler(this.btnPrintBill_Click);
|
|
//
|
|
// btnVoid
|
|
//
|
|
this.btnVoid.Location = new System.Drawing.Point(663, 485);
|
|
this.btnVoid.Name = "btnVoid";
|
|
this.btnVoid.Size = new System.Drawing.Size(104, 23);
|
|
this.btnVoid.TabIndex = 143;
|
|
this.btnVoid.Text = "Cancel Current Bill";
|
|
this.btnVoid.UseVisualStyleBackColor = true;
|
|
this.btnVoid.Click += new System.EventHandler(this.btnVoid_Click);
|
|
//
|
|
// btnDiscount
|
|
//
|
|
this.btnDiscount.Location = new System.Drawing.Point(663, 514);
|
|
this.btnDiscount.Name = "btnDiscount";
|
|
this.btnDiscount.Size = new System.Drawing.Size(104, 23);
|
|
this.btnDiscount.TabIndex = 142;
|
|
this.btnDiscount.Text = "Discount - F3";
|
|
this.btnDiscount.UseVisualStyleBackColor = true;
|
|
this.btnDiscount.Click += new System.EventHandler(this.btnDiscount_Click);
|
|
//
|
|
// btnQuantity
|
|
//
|
|
this.btnQuantity.Location = new System.Drawing.Point(663, 537);
|
|
this.btnQuantity.Name = "btnQuantity";
|
|
this.btnQuantity.Size = new System.Drawing.Size(104, 23);
|
|
this.btnQuantity.TabIndex = 141;
|
|
this.btnQuantity.Text = "Quantity - F2";
|
|
this.btnQuantity.UseVisualStyleBackColor = true;
|
|
this.btnQuantity.Click += new System.EventHandler(this.btnQuantity_Click);
|
|
//
|
|
// 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";
|
|
//
|
|
// 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(73, 13);
|
|
this.label10.TabIndex = 138;
|
|
this.label10.Text = "Last Edit User";
|
|
//
|
|
// txtUserID
|
|
//
|
|
this.txtUserID.Location = new System.Drawing.Point(807, 28);
|
|
this.txtUserID.Name = "txtUserID";
|
|
this.txtUserID.ReadOnly = true;
|
|
this.txtUserID.Size = new System.Drawing.Size(163, 20);
|
|
this.txtUserID.TabIndex = 137;
|
|
//
|
|
// label9
|
|
//
|
|
this.label9.AutoSize = true;
|
|
this.label9.Location = new System.Drawing.Point(259, 12);
|
|
this.label9.Name = "label9";
|
|
this.label9.Size = new System.Drawing.Size(72, 13);
|
|
this.label9.TabIndex = 136;
|
|
this.label9.Text = "Booking Time";
|
|
//
|
|
// 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";
|
|
this.btnCustomer.Size = new System.Drawing.Size(471, 34);
|
|
this.btnCustomer.TabIndex = 126;
|
|
this.btnCustomer.UseVisualStyleBackColor = true;
|
|
this.btnCustomer.Click += new System.EventHandler(this.btnCustomer_Click);
|
|
//
|
|
// pnlWaiting
|
|
//
|
|
this.pnlWaiting.AutoSize = true;
|
|
this.pnlWaiting.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
this.pnlWaiting.Controls.Add(this.btnPaidNc);
|
|
this.pnlWaiting.Controls.Add(this.btnPaidStaff);
|
|
this.pnlWaiting.Controls.Add(this.btnPaidCredit);
|
|
this.pnlWaiting.Controls.Add(this.dgvPending);
|
|
this.pnlWaiting.Controls.Add(this.btnAlarm);
|
|
this.pnlWaiting.Controls.Add(this.chkRefresh);
|
|
this.pnlWaiting.Controls.Add(this.btnRefresh);
|
|
this.pnlWaiting.Controls.Add(this.btnPaidCC);
|
|
this.pnlWaiting.Controls.Add(this.btnPaidCash);
|
|
this.pnlWaiting.Controls.Add(this.btnBillList);
|
|
this.pnlWaiting.Controls.Add(this.btnSelectBill);
|
|
this.pnlWaiting.Controls.Add(this.btnStartBill);
|
|
this.pnlWaiting.Controls.Add(this.tcPending);
|
|
this.pnlWaiting.Controls.Add(this.lblUser);
|
|
this.pnlWaiting.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.pnlWaiting.Location = new System.Drawing.Point(0, 0);
|
|
this.pnlWaiting.Name = "pnlWaiting";
|
|
this.pnlWaiting.Size = new System.Drawing.Size(982, 662);
|
|
this.pnlWaiting.TabIndex = 121;
|
|
//
|
|
// btnPaidStaff
|
|
//
|
|
this.btnPaidStaff.Location = new System.Drawing.Point(850, 527);
|
|
this.btnPaidStaff.Name = "btnPaidStaff";
|
|
this.btnPaidStaff.Size = new System.Drawing.Size(120, 58);
|
|
this.btnPaidStaff.TabIndex = 138;
|
|
this.btnPaidStaff.Text = "Paid Staff";
|
|
this.btnPaidStaff.UseVisualStyleBackColor = true;
|
|
this.btnPaidStaff.Click += new System.EventHandler(this.btnPaidStaff_Click);
|
|
//
|
|
// btnPaidCredit
|
|
//
|
|
this.btnPaidCredit.Location = new System.Drawing.Point(850, 591);
|
|
this.btnPaidCredit.Name = "btnPaidCredit";
|
|
this.btnPaidCredit.Size = new System.Drawing.Size(57, 53);
|
|
this.btnPaidCredit.TabIndex = 137;
|
|
this.btnPaidCredit.Text = "Paid Credit";
|
|
this.btnPaidCredit.UseVisualStyleBackColor = true;
|
|
this.btnPaidCredit.Click += new System.EventHandler(this.btnPaidCredit_Click);
|
|
//
|
|
// dgvPending
|
|
//
|
|
this.dgvPending.AllowUserToAddRows = false;
|
|
this.dgvPending.AllowUserToDeleteRows = false;
|
|
this.dgvPending.AllowUserToOrderColumns = true;
|
|
this.dgvPending.AllowUserToResizeRows = false;
|
|
this.dgvPending.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.dgvPending.AutoGenerateColumns = false;
|
|
this.dgvPending.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCells;
|
|
this.dgvPending.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dgvPending.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.selectDataGridViewCheckBoxColumn,
|
|
this.billNoDataGridViewTextBoxColumn,
|
|
this.kotDataGridViewTextBoxColumn,
|
|
this.TableID,
|
|
this.amountDataGridViewTextBoxColumn,
|
|
this.importantDataGridViewCheckBoxColumn,
|
|
this.alarmDataGridViewCheckBoxColumn,
|
|
this.bookingTimeDataGridViewTextBoxColumn,
|
|
this.lastEditedDataGridViewTextBoxColumn,
|
|
this.waiterDataGridViewTextBoxColumn,
|
|
this.cashierDataGridViewTextBoxColumn,
|
|
this.printedDataGridViewCheckBoxColumn,
|
|
this.alarmTimeDataGridViewTextBoxColumn});
|
|
this.dgvPending.DataSource = this.bsPending;
|
|
this.dgvPending.Location = new System.Drawing.Point(12, 40);
|
|
this.dgvPending.MultiSelect = false;
|
|
this.dgvPending.Name = "dgvPending";
|
|
this.dgvPending.RowHeadersVisible = false;
|
|
this.dgvPending.RowTemplate.Height = 24;
|
|
this.dgvPending.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
this.dgvPending.Size = new System.Drawing.Size(696, 487);
|
|
this.dgvPending.TabIndex = 0;
|
|
this.dgvPending.VirtualMode = true;
|
|
this.dgvPending.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvPending_CellDoubleClick);
|
|
this.dgvPending.CellValueNeeded += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.dgvPending_CellValueNeeded);
|
|
this.dgvPending.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dgvPending_CellFormatting);
|
|
this.dgvPending.CellValuePushed += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.dgvPending_CellValuePushed);
|
|
//
|
|
// selectDataGridViewCheckBoxColumn
|
|
//
|
|
this.selectDataGridViewCheckBoxColumn.HeaderText = "Select";
|
|
this.selectDataGridViewCheckBoxColumn.Name = "selectDataGridViewCheckBoxColumn";
|
|
this.selectDataGridViewCheckBoxColumn.Width = 43;
|
|
//
|
|
// billNoDataGridViewTextBoxColumn
|
|
//
|
|
this.billNoDataGridViewTextBoxColumn.DataPropertyName = "BillNo";
|
|
this.billNoDataGridViewTextBoxColumn.HeaderText = "BillNo";
|
|
this.billNoDataGridViewTextBoxColumn.Name = "billNoDataGridViewTextBoxColumn";
|
|
this.billNoDataGridViewTextBoxColumn.Width = 59;
|
|
//
|
|
// kotDataGridViewTextBoxColumn
|
|
//
|
|
this.kotDataGridViewTextBoxColumn.DataPropertyName = "Kot";
|
|
this.kotDataGridViewTextBoxColumn.HeaderText = "Kot";
|
|
this.kotDataGridViewTextBoxColumn.Name = "kotDataGridViewTextBoxColumn";
|
|
this.kotDataGridViewTextBoxColumn.Width = 48;
|
|
//
|
|
// TableID
|
|
//
|
|
this.TableID.DataPropertyName = "TableID";
|
|
this.TableID.HeaderText = "TableID";
|
|
this.TableID.Name = "TableID";
|
|
this.TableID.Width = 70;
|
|
//
|
|
// amountDataGridViewTextBoxColumn
|
|
//
|
|
this.amountDataGridViewTextBoxColumn.DataPropertyName = "Amount";
|
|
this.amountDataGridViewTextBoxColumn.HeaderText = "Amount";
|
|
this.amountDataGridViewTextBoxColumn.Name = "amountDataGridViewTextBoxColumn";
|
|
this.amountDataGridViewTextBoxColumn.Width = 68;
|
|
//
|
|
// importantDataGridViewCheckBoxColumn
|
|
//
|
|
this.importantDataGridViewCheckBoxColumn.DataPropertyName = "Important";
|
|
this.importantDataGridViewCheckBoxColumn.HeaderText = "Important";
|
|
this.importantDataGridViewCheckBoxColumn.Name = "importantDataGridViewCheckBoxColumn";
|
|
this.importantDataGridViewCheckBoxColumn.Width = 57;
|
|
//
|
|
// alarmDataGridViewCheckBoxColumn
|
|
//
|
|
this.alarmDataGridViewCheckBoxColumn.DataPropertyName = "Alarm";
|
|
this.alarmDataGridViewCheckBoxColumn.HeaderText = "Alarm";
|
|
this.alarmDataGridViewCheckBoxColumn.Name = "alarmDataGridViewCheckBoxColumn";
|
|
this.alarmDataGridViewCheckBoxColumn.Width = 39;
|
|
//
|
|
// bookingTimeDataGridViewTextBoxColumn
|
|
//
|
|
this.bookingTimeDataGridViewTextBoxColumn.DataPropertyName = "BookingTime";
|
|
this.bookingTimeDataGridViewTextBoxColumn.HeaderText = "BookingTime";
|
|
this.bookingTimeDataGridViewTextBoxColumn.Name = "bookingTimeDataGridViewTextBoxColumn";
|
|
this.bookingTimeDataGridViewTextBoxColumn.Width = 94;
|
|
//
|
|
// lastEditedDataGridViewTextBoxColumn
|
|
//
|
|
this.lastEditedDataGridViewTextBoxColumn.DataPropertyName = "LastEdited";
|
|
this.lastEditedDataGridViewTextBoxColumn.HeaderText = "LastEdited";
|
|
this.lastEditedDataGridViewTextBoxColumn.Name = "lastEditedDataGridViewTextBoxColumn";
|
|
this.lastEditedDataGridViewTextBoxColumn.Width = 82;
|
|
//
|
|
// waiterDataGridViewTextBoxColumn
|
|
//
|
|
this.waiterDataGridViewTextBoxColumn.DataPropertyName = "Waiter";
|
|
this.waiterDataGridViewTextBoxColumn.HeaderText = "Waiter";
|
|
this.waiterDataGridViewTextBoxColumn.Name = "waiterDataGridViewTextBoxColumn";
|
|
this.waiterDataGridViewTextBoxColumn.Width = 63;
|
|
//
|
|
// cashierDataGridViewTextBoxColumn
|
|
//
|
|
this.cashierDataGridViewTextBoxColumn.DataPropertyName = "Cashier";
|
|
this.cashierDataGridViewTextBoxColumn.HeaderText = "Cashier";
|
|
this.cashierDataGridViewTextBoxColumn.Name = "cashierDataGridViewTextBoxColumn";
|
|
this.cashierDataGridViewTextBoxColumn.Width = 67;
|
|
//
|
|
// printedDataGridViewCheckBoxColumn
|
|
//
|
|
this.printedDataGridViewCheckBoxColumn.DataPropertyName = "Printed";
|
|
this.printedDataGridViewCheckBoxColumn.HeaderText = "Printed";
|
|
this.printedDataGridViewCheckBoxColumn.Name = "printedDataGridViewCheckBoxColumn";
|
|
this.printedDataGridViewCheckBoxColumn.Width = 46;
|
|
//
|
|
// alarmTimeDataGridViewTextBoxColumn
|
|
//
|
|
this.alarmTimeDataGridViewTextBoxColumn.DataPropertyName = "AlarmTime";
|
|
this.alarmTimeDataGridViewTextBoxColumn.HeaderText = "AlarmTime";
|
|
this.alarmTimeDataGridViewTextBoxColumn.Name = "alarmTimeDataGridViewTextBoxColumn";
|
|
this.alarmTimeDataGridViewTextBoxColumn.Width = 81;
|
|
//
|
|
// bsPending
|
|
//
|
|
this.bsPending.DataSource = typeof(Tanshu.Accounts.Contracts.PendingBillsBO);
|
|
//
|
|
// btnAlarm
|
|
//
|
|
this.btnAlarm.Location = new System.Drawing.Point(850, 393);
|
|
this.btnAlarm.Name = "btnAlarm";
|
|
this.btnAlarm.Size = new System.Drawing.Size(120, 64);
|
|
this.btnAlarm.TabIndex = 136;
|
|
this.btnAlarm.Text = "Alarm";
|
|
this.btnAlarm.UseVisualStyleBackColor = true;
|
|
this.btnAlarm.Click += new System.EventHandler(this.btnAlarm_Click);
|
|
//
|
|
// chkRefresh
|
|
//
|
|
this.chkRefresh.AutoSize = true;
|
|
this.chkRefresh.Checked = true;
|
|
this.chkRefresh.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
this.chkRefresh.Location = new System.Drawing.Point(714, 40);
|
|
this.chkRefresh.Name = "chkRefresh";
|
|
this.chkRefresh.Size = new System.Drawing.Size(121, 17);
|
|
this.chkRefresh.TabIndex = 134;
|
|
this.chkRefresh.Text = "Keep refreshing Bills";
|
|
this.chkRefresh.UseVisualStyleBackColor = true;
|
|
//
|
|
// btnRefresh
|
|
//
|
|
this.btnRefresh.Location = new System.Drawing.Point(9, 527);
|
|
this.btnRefresh.Name = "btnRefresh";
|
|
this.btnRefresh.Size = new System.Drawing.Size(129, 117);
|
|
this.btnRefresh.TabIndex = 133;
|
|
this.btnRefresh.Text = "Refresh - F5";
|
|
this.btnRefresh.UseVisualStyleBackColor = true;
|
|
this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
|
|
//
|
|
// btnPaidCC
|
|
//
|
|
this.btnPaidCC.Location = new System.Drawing.Point(850, 466);
|
|
this.btnPaidCC.Name = "btnPaidCC";
|
|
this.btnPaidCC.Size = new System.Drawing.Size(120, 55);
|
|
this.btnPaidCC.TabIndex = 6;
|
|
this.btnPaidCC.Text = "Paid By CC";
|
|
this.btnPaidCC.UseVisualStyleBackColor = true;
|
|
this.btnPaidCC.Click += new System.EventHandler(this.btnPaidCC_Click);
|
|
//
|
|
// btnPaidCash
|
|
//
|
|
this.btnPaidCash.Location = new System.Drawing.Point(714, 527);
|
|
this.btnPaidCash.Name = "btnPaidCash";
|
|
this.btnPaidCash.Size = new System.Drawing.Size(130, 117);
|
|
this.btnPaidCash.TabIndex = 5;
|
|
this.btnPaidCash.Text = "Paid";
|
|
this.btnPaidCash.UseVisualStyleBackColor = true;
|
|
this.btnPaidCash.Click += new System.EventHandler(this.btnPaidCash_Click);
|
|
//
|
|
// btnBillList
|
|
//
|
|
this.btnBillList.Location = new System.Drawing.Point(714, 393);
|
|
this.btnBillList.Name = "btnBillList";
|
|
this.btnBillList.Size = new System.Drawing.Size(130, 128);
|
|
this.btnBillList.TabIndex = 4;
|
|
this.btnBillList.Text = "List Of Bills to Cancel";
|
|
this.btnBillList.UseVisualStyleBackColor = true;
|
|
this.btnBillList.Click += new System.EventHandler(this.btnBillList_Click);
|
|
//
|
|
// btnSelectBill
|
|
//
|
|
this.btnSelectBill.Location = new System.Drawing.Point(714, 239);
|
|
this.btnSelectBill.Name = "btnSelectBill";
|
|
this.btnSelectBill.Size = new System.Drawing.Size(256, 148);
|
|
this.btnSelectBill.TabIndex = 3;
|
|
this.btnSelectBill.Text = "Select Bill";
|
|
this.btnSelectBill.UseVisualStyleBackColor = true;
|
|
this.btnSelectBill.Click += new System.EventHandler(this.btnSelectBill_Click);
|
|
//
|
|
// btnStartBill
|
|
//
|
|
this.btnStartBill.Location = new System.Drawing.Point(714, 63);
|
|
this.btnStartBill.Name = "btnStartBill";
|
|
this.btnStartBill.Size = new System.Drawing.Size(256, 170);
|
|
this.btnStartBill.TabIndex = 2;
|
|
this.btnStartBill.Text = "New Bill - F6";
|
|
this.btnStartBill.UseVisualStyleBackColor = true;
|
|
this.btnStartBill.Click += new System.EventHandler(this.btnStartBill_Click);
|
|
//
|
|
// tcPending
|
|
//
|
|
this.tcPending.Controls.Add(this.tpToday);
|
|
this.tcPending.Controls.Add(this.tpWeek);
|
|
this.tcPending.Controls.Add(this.tpAll);
|
|
this.tcPending.Controls.Add(this.tpAlarm);
|
|
this.tcPending.Location = new System.Drawing.Point(192, 12);
|
|
this.tcPending.Name = "tcPending";
|
|
this.tcPending.SelectedIndex = 0;
|
|
this.tcPending.Size = new System.Drawing.Size(271, 20);
|
|
this.tcPending.TabIndex = 1;
|
|
this.tcPending.SelectedIndexChanged += new System.EventHandler(this.tcPending_SelectedIndexChanged);
|
|
//
|
|
// tpToday
|
|
//
|
|
this.tpToday.Location = new System.Drawing.Point(4, 22);
|
|
this.tpToday.Name = "tpToday";
|
|
this.tpToday.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3);
|
|
this.tpToday.Size = new System.Drawing.Size(263, 0);
|
|
this.tpToday.TabIndex = 1;
|
|
this.tpToday.Text = "Today";
|
|
this.tpToday.UseVisualStyleBackColor = true;
|
|
//
|
|
// tpWeek
|
|
//
|
|
this.tpWeek.Location = new System.Drawing.Point(4, 22);
|
|
this.tpWeek.Name = "tpWeek";
|
|
this.tpWeek.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3);
|
|
this.tpWeek.Size = new System.Drawing.Size(263, 0);
|
|
this.tpWeek.TabIndex = 2;
|
|
this.tpWeek.Text = "Week";
|
|
this.tpWeek.UseVisualStyleBackColor = true;
|
|
//
|
|
// tpAll
|
|
//
|
|
this.tpAll.Location = new System.Drawing.Point(4, 22);
|
|
this.tpAll.Name = "tpAll";
|
|
this.tpAll.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3);
|
|
this.tpAll.Size = new System.Drawing.Size(263, 0);
|
|
this.tpAll.TabIndex = 3;
|
|
this.tpAll.Text = "All";
|
|
this.tpAll.UseVisualStyleBackColor = true;
|
|
//
|
|
// tpAlarm
|
|
//
|
|
this.tpAlarm.Location = new System.Drawing.Point(4, 22);
|
|
this.tpAlarm.Name = "tpAlarm";
|
|
this.tpAlarm.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3);
|
|
this.tpAlarm.Size = new System.Drawing.Size(263, 0);
|
|
this.tpAlarm.TabIndex = 5;
|
|
this.tpAlarm.Text = "Alarms";
|
|
this.tpAlarm.UseVisualStyleBackColor = true;
|
|
//
|
|
// lblUser
|
|
//
|
|
this.lblUser.Font = new System.Drawing.Font("Microsoft Sans Serif", 48F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblUser.ForeColor = System.Drawing.Color.Red;
|
|
this.lblUser.Location = new System.Drawing.Point(144, 530);
|
|
this.lblUser.Name = "lblUser";
|
|
this.lblUser.Size = new System.Drawing.Size(564, 114);
|
|
this.lblUser.TabIndex = 135;
|
|
this.lblUser.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// bsWaiter
|
|
//
|
|
this.bsWaiter.DataSource = typeof(Tanshu.Accounts.Contracts.WaiterBO);
|
|
//
|
|
// btnPaidNc
|
|
//
|
|
this.btnPaidNc.Location = new System.Drawing.Point(913, 591);
|
|
this.btnPaidNc.Name = "btnPaidNc";
|
|
this.btnPaidNc.Size = new System.Drawing.Size(57, 53);
|
|
this.btnPaidNc.TabIndex = 139;
|
|
this.btnPaidNc.Text = "Paid Nc";
|
|
this.btnPaidNc.UseVisualStyleBackColor = true;
|
|
this.btnPaidNc.Click += new System.EventHandler(this.btnPaidNc_Click);
|
|
//
|
|
// SalesForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(982, 662);
|
|
this.Controls.Add(this.pnlWaiting);
|
|
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();
|
|
((System.ComponentModel.ISupportInitialize)(this.bindingSource)).EndInit();
|
|
this.pnlBilling.ResumeLayout(false);
|
|
this.pnlBilling.PerformLayout();
|
|
this.pnlWaiting.ResumeLayout(false);
|
|
this.pnlWaiting.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvPending)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsPending)).EndInit();
|
|
this.tcPending.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.bsWaiter)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.BindingSource bindingSource;
|
|
private System.Windows.Forms.BindingSource bsWaiter;
|
|
private System.Windows.Forms.BindingSource bsPending;
|
|
private System.Windows.Forms.Timer tmrPending;
|
|
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;
|
|
private System.Windows.Forms.TextBox txtNarration;
|
|
internal System.Windows.Forms.TextBox txtGrossTax;
|
|
private System.Windows.Forms.DataGridView dgvProducts;
|
|
private System.Windows.Forms.Panel pnlBilling;
|
|
private System.Windows.Forms.Panel pnlWaiting;
|
|
private System.Windows.Forms.Button btnRefresh;
|
|
private System.Windows.Forms.Button btnPaidCC;
|
|
private System.Windows.Forms.Button btnPaidCash;
|
|
private System.Windows.Forms.Button btnBillList;
|
|
private System.Windows.Forms.Button btnSelectBill;
|
|
private System.Windows.Forms.Button btnStartBill;
|
|
private System.Windows.Forms.TabControl tcPending;
|
|
private System.Windows.Forms.TabPage tpToday;
|
|
private System.Windows.Forms.TabPage tpWeek;
|
|
private System.Windows.Forms.TabPage tpAll;
|
|
private System.Windows.Forms.TabPage tpAlarm;
|
|
private System.Windows.Forms.DataGridView dgvPending;
|
|
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.Label label10;
|
|
private System.Windows.Forms.TextBox txtUserID;
|
|
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.CheckBox chkRefresh;
|
|
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.Label lblUser;
|
|
private System.Windows.Forms.Button btnAlarm;
|
|
private System.Windows.Forms.DataGridViewCheckBoxColumn selectDataGridViewCheckBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn billNoDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn kotDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn TableID;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn amountDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewCheckBoxColumn importantDataGridViewCheckBoxColumn;
|
|
private System.Windows.Forms.DataGridViewCheckBoxColumn alarmDataGridViewCheckBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn bookingTimeDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn lastEditedDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn waiterDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn cashierDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewCheckBoxColumn printedDataGridViewCheckBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn alarmTimeDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Display;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn printedDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn additionalDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.Button btnWaiter;
|
|
private System.Windows.Forms.Button btnResetCustomer;
|
|
private System.Windows.Forms.TextBox txtCode;
|
|
private System.Windows.Forms.Button btnPaidStaff;
|
|
private System.Windows.Forms.Button btnPaidCredit;
|
|
private System.Windows.Forms.Button btnAdvance;
|
|
private System.Windows.Forms.Button btnPaidNc;
|
|
}
|
|
}
|
|
|