c52f382ec2
Chore: Settle Choices form greatly simplified. Feature: Modifiers are now cached.
337 lines
17 KiB
C#
337 lines
17 KiB
C#
namespace Tanshu.Accounts.PointOfSale
|
|
{
|
|
partial class MainForm
|
|
{
|
|
/// <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.btnLogin = new System.Windows.Forms.Button();
|
|
this.btnSale = new System.Windows.Forms.Button();
|
|
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
|
this.btnSwipeLogin = new System.Windows.Forms.Button();
|
|
this.btnCustomer = new System.Windows.Forms.Button();
|
|
this.btnProduct = new System.Windows.Forms.Button();
|
|
this.btnProductGroup = new System.Windows.Forms.Button();
|
|
this.btnReorderTables = new System.Windows.Forms.Button();
|
|
this.btnModifiers = new System.Windows.Forms.Button();
|
|
this.btnOpenBill = new System.Windows.Forms.Button();
|
|
this.btnCreateUser = new System.Windows.Forms.Button();
|
|
this.btnUserRoles = new System.Windows.Forms.Button();
|
|
this.btnGroupRoles = new System.Windows.Forms.Button();
|
|
this.btnCashierCheckout = new System.Windows.Forms.Button();
|
|
this.btnSaleAnalysis = new System.Windows.Forms.Button();
|
|
this.btnSaleDetail = new System.Windows.Forms.Button();
|
|
this.btnBillDetails = new System.Windows.Forms.Button();
|
|
this.btnVoidOrReprints = new System.Windows.Forms.Button();
|
|
this.btnDiscountReport = new System.Windows.Forms.Button();
|
|
this.btnChangePassword = new System.Windows.Forms.Button();
|
|
this.btnExit = new System.Windows.Forms.Button();
|
|
this.btnManagement = new System.Windows.Forms.Button();
|
|
this.flowLayoutPanel1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// btnLogin
|
|
//
|
|
this.btnLogin.Location = new System.Drawing.Point(3, 3);
|
|
this.btnLogin.Name = "btnLogin";
|
|
this.btnLogin.Size = new System.Drawing.Size(150, 100);
|
|
this.btnLogin.TabIndex = 0;
|
|
this.btnLogin.Text = "&Login";
|
|
this.btnLogin.UseVisualStyleBackColor = true;
|
|
this.btnLogin.Click += new System.EventHandler(this.btnLogin_Click);
|
|
//
|
|
// btnSale
|
|
//
|
|
this.btnSale.Location = new System.Drawing.Point(315, 3);
|
|
this.btnSale.Name = "btnSale";
|
|
this.btnSale.Size = new System.Drawing.Size(150, 100);
|
|
this.btnSale.TabIndex = 2;
|
|
this.btnSale.Text = "&Sale";
|
|
this.btnSale.UseVisualStyleBackColor = true;
|
|
this.btnSale.Click += new System.EventHandler(this.btnSale_Click);
|
|
//
|
|
// flowLayoutPanel1
|
|
//
|
|
this.flowLayoutPanel1.Controls.Add(this.btnLogin);
|
|
this.flowLayoutPanel1.Controls.Add(this.btnSwipeLogin);
|
|
this.flowLayoutPanel1.Controls.Add(this.btnSale);
|
|
this.flowLayoutPanel1.Controls.Add(this.btnCustomer);
|
|
this.flowLayoutPanel1.Controls.Add(this.btnProduct);
|
|
this.flowLayoutPanel1.Controls.Add(this.btnProductGroup);
|
|
this.flowLayoutPanel1.Controls.Add(this.btnReorderTables);
|
|
this.flowLayoutPanel1.Controls.Add(this.btnModifiers);
|
|
this.flowLayoutPanel1.Controls.Add(this.btnOpenBill);
|
|
this.flowLayoutPanel1.Controls.Add(this.btnCreateUser);
|
|
this.flowLayoutPanel1.Controls.Add(this.btnUserRoles);
|
|
this.flowLayoutPanel1.Controls.Add(this.btnGroupRoles);
|
|
this.flowLayoutPanel1.Controls.Add(this.btnCashierCheckout);
|
|
this.flowLayoutPanel1.Controls.Add(this.btnSaleAnalysis);
|
|
this.flowLayoutPanel1.Controls.Add(this.btnSaleDetail);
|
|
this.flowLayoutPanel1.Controls.Add(this.btnBillDetails);
|
|
this.flowLayoutPanel1.Controls.Add(this.btnVoidOrReprints);
|
|
this.flowLayoutPanel1.Controls.Add(this.btnDiscountReport);
|
|
this.flowLayoutPanel1.Controls.Add(this.btnChangePassword);
|
|
this.flowLayoutPanel1.Controls.Add(this.btnExit);
|
|
this.flowLayoutPanel1.Controls.Add(this.btnManagement);
|
|
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 0);
|
|
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
|
this.flowLayoutPanel1.Size = new System.Drawing.Size(792, 537);
|
|
this.flowLayoutPanel1.TabIndex = 0;
|
|
//
|
|
// btnSwipeLogin
|
|
//
|
|
this.btnSwipeLogin.Location = new System.Drawing.Point(159, 3);
|
|
this.btnSwipeLogin.Name = "btnSwipeLogin";
|
|
this.btnSwipeLogin.Size = new System.Drawing.Size(150, 100);
|
|
this.btnSwipeLogin.TabIndex = 1;
|
|
this.btnSwipeLogin.Text = "Swipe Login";
|
|
this.btnSwipeLogin.UseVisualStyleBackColor = true;
|
|
this.btnSwipeLogin.Click += new System.EventHandler(this.btnSwipeLogin_Click);
|
|
//
|
|
// btnCustomer
|
|
//
|
|
this.btnCustomer.Location = new System.Drawing.Point(471, 3);
|
|
this.btnCustomer.Name = "btnCustomer";
|
|
this.btnCustomer.Size = new System.Drawing.Size(150, 100);
|
|
this.btnCustomer.TabIndex = 3;
|
|
this.btnCustomer.Text = "Customers";
|
|
this.btnCustomer.UseVisualStyleBackColor = true;
|
|
this.btnCustomer.Click += new System.EventHandler(this.btnCustomer_Click);
|
|
//
|
|
// btnProduct
|
|
//
|
|
this.btnProduct.Location = new System.Drawing.Point(627, 3);
|
|
this.btnProduct.Name = "btnProduct";
|
|
this.btnProduct.Size = new System.Drawing.Size(150, 100);
|
|
this.btnProduct.TabIndex = 4;
|
|
this.btnProduct.Text = "Products";
|
|
this.btnProduct.UseVisualStyleBackColor = true;
|
|
this.btnProduct.Click += new System.EventHandler(this.btnProduct_Click);
|
|
//
|
|
// btnProductGroup
|
|
//
|
|
this.btnProductGroup.Location = new System.Drawing.Point(3, 109);
|
|
this.btnProductGroup.Name = "btnProductGroup";
|
|
this.btnProductGroup.Size = new System.Drawing.Size(150, 100);
|
|
this.btnProductGroup.TabIndex = 5;
|
|
this.btnProductGroup.Text = "Product Groups";
|
|
this.btnProductGroup.UseVisualStyleBackColor = true;
|
|
this.btnProductGroup.Click += new System.EventHandler(this.btnProductGroup_Click);
|
|
//
|
|
// btnReorderTables
|
|
//
|
|
this.btnReorderTables.Location = new System.Drawing.Point(159, 109);
|
|
this.btnReorderTables.Name = "btnReorderTables";
|
|
this.btnReorderTables.Size = new System.Drawing.Size(150, 100);
|
|
this.btnReorderTables.TabIndex = 6;
|
|
this.btnReorderTables.Text = "Reorder Tables";
|
|
this.btnReorderTables.UseVisualStyleBackColor = true;
|
|
this.btnReorderTables.Click += new System.EventHandler(this.btnReorderTables_Click);
|
|
//
|
|
// btnModifiers
|
|
//
|
|
this.btnModifiers.Location = new System.Drawing.Point(315, 109);
|
|
this.btnModifiers.Name = "btnModifiers";
|
|
this.btnModifiers.Size = new System.Drawing.Size(150, 100);
|
|
this.btnModifiers.TabIndex = 7;
|
|
this.btnModifiers.Text = "Product Modifiers";
|
|
this.btnModifiers.UseVisualStyleBackColor = true;
|
|
this.btnModifiers.Click += new System.EventHandler(this.btnModifiers_Click);
|
|
//
|
|
// btnOpenBill
|
|
//
|
|
this.btnOpenBill.Location = new System.Drawing.Point(471, 109);
|
|
this.btnOpenBill.Name = "btnOpenBill";
|
|
this.btnOpenBill.Size = new System.Drawing.Size(150, 100);
|
|
this.btnOpenBill.TabIndex = 8;
|
|
this.btnOpenBill.Text = "Open Bill";
|
|
this.btnOpenBill.UseVisualStyleBackColor = true;
|
|
this.btnOpenBill.Click += new System.EventHandler(this.btnOpenBill_Click);
|
|
//
|
|
// btnCreateUser
|
|
//
|
|
this.btnCreateUser.Location = new System.Drawing.Point(627, 109);
|
|
this.btnCreateUser.Name = "btnCreateUser";
|
|
this.btnCreateUser.Size = new System.Drawing.Size(150, 100);
|
|
this.btnCreateUser.TabIndex = 9;
|
|
this.btnCreateUser.Text = "Create User";
|
|
this.btnCreateUser.UseVisualStyleBackColor = true;
|
|
this.btnCreateUser.Click += new System.EventHandler(this.btnCreateUser_Click);
|
|
//
|
|
// btnUserRoles
|
|
//
|
|
this.btnUserRoles.Location = new System.Drawing.Point(3, 215);
|
|
this.btnUserRoles.Name = "btnUserRoles";
|
|
this.btnUserRoles.Size = new System.Drawing.Size(150, 100);
|
|
this.btnUserRoles.TabIndex = 10;
|
|
this.btnUserRoles.Text = "Manage User Roles";
|
|
this.btnUserRoles.UseVisualStyleBackColor = true;
|
|
this.btnUserRoles.Click += new System.EventHandler(this.btnUserRoles_Click);
|
|
//
|
|
// btnGroupRoles
|
|
//
|
|
this.btnGroupRoles.Location = new System.Drawing.Point(159, 215);
|
|
this.btnGroupRoles.Name = "btnGroupRoles";
|
|
this.btnGroupRoles.Size = new System.Drawing.Size(150, 100);
|
|
this.btnGroupRoles.TabIndex = 11;
|
|
this.btnGroupRoles.Text = "Manage Group Roles";
|
|
this.btnGroupRoles.UseVisualStyleBackColor = true;
|
|
this.btnGroupRoles.Click += new System.EventHandler(this.btnGroupRoles_Click);
|
|
//
|
|
// btnCashierCheckout
|
|
//
|
|
this.btnCashierCheckout.Location = new System.Drawing.Point(315, 215);
|
|
this.btnCashierCheckout.Name = "btnCashierCheckout";
|
|
this.btnCashierCheckout.Size = new System.Drawing.Size(150, 100);
|
|
this.btnCashierCheckout.TabIndex = 12;
|
|
this.btnCashierCheckout.Text = "Cashier Checkout";
|
|
this.btnCashierCheckout.UseVisualStyleBackColor = true;
|
|
this.btnCashierCheckout.Click += new System.EventHandler(this.btnCashierCheckout_Click);
|
|
//
|
|
// btnSaleAnalysis
|
|
//
|
|
this.btnSaleAnalysis.Location = new System.Drawing.Point(471, 215);
|
|
this.btnSaleAnalysis.Name = "btnSaleAnalysis";
|
|
this.btnSaleAnalysis.Size = new System.Drawing.Size(150, 100);
|
|
this.btnSaleAnalysis.TabIndex = 13;
|
|
this.btnSaleAnalysis.Text = "Sale Analysis";
|
|
this.btnSaleAnalysis.UseVisualStyleBackColor = true;
|
|
this.btnSaleAnalysis.Click += new System.EventHandler(this.btnSaleAnalysis_Click);
|
|
//
|
|
// btnSaleDetail
|
|
//
|
|
this.btnSaleDetail.Location = new System.Drawing.Point(627, 215);
|
|
this.btnSaleDetail.Name = "btnSaleDetail";
|
|
this.btnSaleDetail.Size = new System.Drawing.Size(150, 100);
|
|
this.btnSaleDetail.TabIndex = 14;
|
|
this.btnSaleDetail.Text = "Sale Detail";
|
|
this.btnSaleDetail.UseVisualStyleBackColor = true;
|
|
this.btnSaleDetail.Click += new System.EventHandler(this.btnSaleDetail_Click);
|
|
//
|
|
// btnBillDetails
|
|
//
|
|
this.btnBillDetails.Location = new System.Drawing.Point(3, 321);
|
|
this.btnBillDetails.Name = "btnBillDetails";
|
|
this.btnBillDetails.Size = new System.Drawing.Size(150, 100);
|
|
this.btnBillDetails.TabIndex = 15;
|
|
this.btnBillDetails.Text = "Bill Details";
|
|
this.btnBillDetails.UseVisualStyleBackColor = true;
|
|
this.btnBillDetails.Click += new System.EventHandler(this.btnBillDetails_Click);
|
|
//
|
|
// btnVoidOrReprints
|
|
//
|
|
this.btnVoidOrReprints.Location = new System.Drawing.Point(159, 321);
|
|
this.btnVoidOrReprints.Name = "btnVoidOrReprints";
|
|
this.btnVoidOrReprints.Size = new System.Drawing.Size(150, 100);
|
|
this.btnVoidOrReprints.TabIndex = 16;
|
|
this.btnVoidOrReprints.Text = "Voids or Reprints";
|
|
this.btnVoidOrReprints.UseVisualStyleBackColor = true;
|
|
this.btnVoidOrReprints.Click += new System.EventHandler(this.btnVoidOrReprints_Click);
|
|
//
|
|
// btnDiscountReport
|
|
//
|
|
this.btnDiscountReport.Location = new System.Drawing.Point(315, 321);
|
|
this.btnDiscountReport.Name = "btnDiscountReport";
|
|
this.btnDiscountReport.Size = new System.Drawing.Size(150, 100);
|
|
this.btnDiscountReport.TabIndex = 17;
|
|
this.btnDiscountReport.Text = "Discount Report";
|
|
this.btnDiscountReport.UseVisualStyleBackColor = true;
|
|
this.btnDiscountReport.Click += new System.EventHandler(this.btnDiscountReport_Click);
|
|
//
|
|
// btnChangePassword
|
|
//
|
|
this.btnChangePassword.Location = new System.Drawing.Point(471, 321);
|
|
this.btnChangePassword.Name = "btnChangePassword";
|
|
this.btnChangePassword.Size = new System.Drawing.Size(150, 100);
|
|
this.btnChangePassword.TabIndex = 18;
|
|
this.btnChangePassword.Text = "Change Password";
|
|
this.btnChangePassword.UseVisualStyleBackColor = true;
|
|
this.btnChangePassword.Click += new System.EventHandler(this.btnChangePassword_Click);
|
|
//
|
|
// btnExit
|
|
//
|
|
this.btnExit.Location = new System.Drawing.Point(627, 321);
|
|
this.btnExit.Name = "btnExit";
|
|
this.btnExit.Size = new System.Drawing.Size(150, 100);
|
|
this.btnExit.TabIndex = 19;
|
|
this.btnExit.Text = "Exit";
|
|
this.btnExit.UseVisualStyleBackColor = true;
|
|
this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
|
|
//
|
|
// btnManagement
|
|
//
|
|
this.btnManagement.Location = new System.Drawing.Point(3, 427);
|
|
this.btnManagement.Name = "btnManagement";
|
|
this.btnManagement.Size = new System.Drawing.Size(150, 100);
|
|
this.btnManagement.TabIndex = 20;
|
|
this.btnManagement.Text = "Management";
|
|
this.btnManagement.UseVisualStyleBackColor = true;
|
|
this.btnManagement.Click += new System.EventHandler(this.btnManagement_Click);
|
|
//
|
|
// MainForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(792, 537);
|
|
this.Controls.Add(this.flowLayoutPanel1);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.Name = "MainForm";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "MainForm";
|
|
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
|
this.Load += new System.EventHandler(this.MainForm_Load);
|
|
this.flowLayoutPanel1.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button btnLogin;
|
|
private System.Windows.Forms.Button btnSale;
|
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
|
|
private System.Windows.Forms.Button btnProduct;
|
|
private System.Windows.Forms.Button btnProductGroup;
|
|
private System.Windows.Forms.Button btnCustomer;
|
|
private System.Windows.Forms.Button btnExit;
|
|
private System.Windows.Forms.Button btnCreateUser;
|
|
private System.Windows.Forms.Button btnUserRoles;
|
|
private System.Windows.Forms.Button btnChangePassword;
|
|
private System.Windows.Forms.Button btnCashierCheckout;
|
|
private System.Windows.Forms.Button btnSaleAnalysis;
|
|
private System.Windows.Forms.Button btnGroupRoles;
|
|
private System.Windows.Forms.Button btnSaleDetail;
|
|
private System.Windows.Forms.Button btnSwipeLogin;
|
|
private System.Windows.Forms.Button btnOpenBill;
|
|
private System.Windows.Forms.Button btnBillDetails;
|
|
private System.Windows.Forms.Button btnVoidOrReprints;
|
|
private System.Windows.Forms.Button btnManagement;
|
|
private System.Windows.Forms.Button btnDiscountReport;
|
|
private System.Windows.Forms.Button btnReorderTables;
|
|
private System.Windows.Forms.Button btnModifiers;
|
|
}
|
|
} |