277 lines
15 KiB
C#
277 lines
15 KiB
C#
namespace Tanshu.Accounts.PointOfSale.Updates
|
|
{
|
|
partial class UpdateSales
|
|
{
|
|
/// <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 dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.txtDiff = new System.Windows.Forms.TextBox();
|
|
this.dgvPending = new System.Windows.Forms.DataGridView();
|
|
this.selectDataGridViewItem = new System.Windows.Forms.DataGridViewButtonColumn();
|
|
this.TableID = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.bsPending = new System.Windows.Forms.BindingSource(this.components);
|
|
this.dtpFinish = new System.Windows.Forms.DateTimePicker();
|
|
this.dtpStart = new System.Windows.Forms.DateTimePicker();
|
|
this.label10 = new System.Windows.Forms.Label();
|
|
this.btnShowBill = new System.Windows.Forms.Button();
|
|
this.bindingSource = new System.Windows.Forms.BindingSource(this.components);
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.txtTarget = new System.Windows.Forms.TextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.cmbTax = new System.Windows.Forms.ComboBox();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvPending)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsPending)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bindingSource)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(600, 18);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(23, 13);
|
|
this.label1.TabIndex = 8;
|
|
this.label1.Text = "Diff";
|
|
//
|
|
// txtDiff
|
|
//
|
|
this.txtDiff.Location = new System.Drawing.Point(629, 12);
|
|
this.txtDiff.Name = "txtDiff";
|
|
this.txtDiff.ReadOnly = true;
|
|
this.txtDiff.Size = new System.Drawing.Size(126, 20);
|
|
this.txtDiff.TabIndex = 10;
|
|
//
|
|
// 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;
|
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
|
|
dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.dgvPending.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
|
this.dgvPending.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dgvPending.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.selectDataGridViewItem,
|
|
this.TableID});
|
|
this.dgvPending.DataSource = this.bsPending;
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
|
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
this.dgvPending.DefaultCellStyle = dataGridViewCellStyle2;
|
|
this.dgvPending.Location = new System.Drawing.Point(12, 38);
|
|
this.dgvPending.MultiSelect = false;
|
|
this.dgvPending.Name = "dgvPending";
|
|
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
|
|
dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.dgvPending.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
|
|
this.dgvPending.RowHeadersVisible = false;
|
|
this.dgvPending.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
this.dgvPending.Size = new System.Drawing.Size(743, 500);
|
|
this.dgvPending.TabIndex = 9;
|
|
this.dgvPending.VirtualMode = true;
|
|
this.dgvPending.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvPending_CellContentClick);
|
|
//
|
|
// selectDataGridViewItem
|
|
//
|
|
this.selectDataGridViewItem.HeaderText = "Select";
|
|
this.selectDataGridViewItem.Name = "selectDataGridViewItem";
|
|
this.selectDataGridViewItem.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.selectDataGridViewItem.Text = "Select";
|
|
this.selectDataGridViewItem.UseColumnTextForButtonValue = true;
|
|
this.selectDataGridViewItem.Width = 43;
|
|
//
|
|
// TableID
|
|
//
|
|
this.TableID.DataPropertyName = "TableID";
|
|
this.TableID.HeaderText = "TableID";
|
|
this.TableID.Name = "TableID";
|
|
this.TableID.Width = 70;
|
|
//
|
|
// dtpFinish
|
|
//
|
|
this.dtpFinish.CustomFormat = "dd-MMM-yyyy";
|
|
this.dtpFinish.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
|
this.dtpFinish.Location = new System.Drawing.Point(168, 12);
|
|
this.dtpFinish.Name = "dtpFinish";
|
|
this.dtpFinish.Size = new System.Drawing.Size(90, 20);
|
|
this.dtpFinish.TabIndex = 2;
|
|
//
|
|
// dtpStart
|
|
//
|
|
this.dtpStart.CustomFormat = "dd-MMM-yyyy";
|
|
this.dtpStart.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
|
this.dtpStart.Location = new System.Drawing.Point(12, 12);
|
|
this.dtpStart.Name = "dtpStart";
|
|
this.dtpStart.Size = new System.Drawing.Size(90, 20);
|
|
this.dtpStart.TabIndex = 0;
|
|
//
|
|
// label10
|
|
//
|
|
this.label10.AutoSize = true;
|
|
this.label10.Location = new System.Drawing.Point(108, 18);
|
|
this.label10.Name = "label10";
|
|
this.label10.Size = new System.Drawing.Size(54, 13);
|
|
this.label10.TabIndex = 1;
|
|
this.label10.Text = "<- Date ->";
|
|
//
|
|
// btnShowBill
|
|
//
|
|
this.btnShowBill.Location = new System.Drawing.Point(264, 12);
|
|
this.btnShowBill.Name = "btnShowBill";
|
|
this.btnShowBill.Size = new System.Drawing.Size(70, 20);
|
|
this.btnShowBill.TabIndex = 3;
|
|
this.btnShowBill.Text = "Show List";
|
|
this.btnShowBill.UseVisualStyleBackColor = true;
|
|
this.btnShowBill.Click += new System.EventHandler(this.btnShowBill_Click);
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(340, 18);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(25, 13);
|
|
this.label2.TabIndex = 4;
|
|
this.label2.Text = "Tax";
|
|
//
|
|
// txtTarget
|
|
//
|
|
this.txtTarget.Location = new System.Drawing.Point(474, 12);
|
|
this.txtTarget.Name = "txtTarget";
|
|
this.txtTarget.Size = new System.Drawing.Size(120, 20);
|
|
this.txtTarget.TabIndex = 7;
|
|
this.txtTarget.Text = "0";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(430, 18);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(38, 13);
|
|
this.label3.TabIndex = 6;
|
|
this.label3.Text = "Target";
|
|
//
|
|
// cmbTax
|
|
//
|
|
this.cmbTax.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmbTax.FormattingEnabled = true;
|
|
this.cmbTax.Items.AddRange(new object[] {
|
|
"0%",
|
|
"4%",
|
|
"5%",
|
|
"5.25%",
|
|
"12.5%",
|
|
"13.125%"});
|
|
this.cmbTax.Location = new System.Drawing.Point(371, 10);
|
|
this.cmbTax.Name = "cmbTax";
|
|
this.cmbTax.Size = new System.Drawing.Size(53, 21);
|
|
this.cmbTax.TabIndex = 5;
|
|
//
|
|
// UpdateSales
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(767, 544);
|
|
this.Controls.Add(this.cmbTax);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.txtTarget);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.btnShowBill);
|
|
this.Controls.Add(this.dtpFinish);
|
|
this.Controls.Add(this.dtpStart);
|
|
this.Controls.Add(this.label10);
|
|
this.Controls.Add(this.dgvPending);
|
|
this.Controls.Add(this.txtDiff);
|
|
this.Controls.Add(this.label1);
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "UpdateSales";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Update Sales";
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvPending)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsPending)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bindingSource)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.TextBox txtDiff;
|
|
private System.Windows.Forms.DataGridView dgvPending;
|
|
private System.Windows.Forms.DateTimePicker dtpFinish;
|
|
private System.Windows.Forms.DateTimePicker dtpStart;
|
|
private System.Windows.Forms.Label label10;
|
|
private System.Windows.Forms.Button btnShowBill;
|
|
private System.Windows.Forms.BindingSource bsPending;
|
|
private System.Windows.Forms.BindingSource bindingSource;
|
|
private System.Windows.Forms.DataGridViewButtonColumn selectDataGridViewItem;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn TableID;
|
|
//private System.Windows.Forms.DataGridViewTextBoxColumn voucherIDDataGridViewTextBoxColumn;
|
|
//private System.Windows.Forms.DataGridViewTextBoxColumn billNoDataGridViewTextBoxColumn;
|
|
//private System.Windows.Forms.DataGridViewTextBoxColumn kotDataGridViewTextBoxColumn;
|
|
//private System.Windows.Forms.DataGridViewTextBoxColumn tableIDDataGridViewTextBoxColumn;
|
|
//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.Label label2;
|
|
private System.Windows.Forms.TextBox txtTarget;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.ComboBox cmbTax;
|
|
}
|
|
} |