d8ecec8bb6
BillInventory Renamed. Refactored Bill to be more usable. Added Bill Detail Report. Added Open Bill and Bill Details Roles. Zero Rate Products have Yellow background Color. Refactored UserBI, FoodTableBI, ModifierBI, PrintLocationBI, ProductBI, ProductGroupBI, TaxBI, UserBI, Cached the Products List. Product and Product Group Form Working.
310 lines
15 KiB
C#
310 lines
15 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.btnInitial = 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.btnOpenBill = new System.Windows.Forms.Button();
|
|
this.btnAdvanceReceive = new System.Windows.Forms.Button();
|
|
this.btnAdvanceAdjust = 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.btnChangePassword = new System.Windows.Forms.Button();
|
|
this.btnExit = new System.Windows.Forms.Button();
|
|
this.flowLayoutPanel1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// btnLogin
|
|
//
|
|
this.btnLogin.Location = new System.Drawing.Point(159, 3);
|
|
this.btnLogin.Name = "btnLogin";
|
|
this.btnLogin.Size = new System.Drawing.Size(150, 100);
|
|
this.btnLogin.TabIndex = 1;
|
|
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(471, 3);
|
|
this.btnSale.Name = "btnSale";
|
|
this.btnSale.Size = new System.Drawing.Size(150, 100);
|
|
this.btnSale.TabIndex = 3;
|
|
this.btnSale.Text = "&Sale";
|
|
this.btnSale.UseVisualStyleBackColor = true;
|
|
this.btnSale.Click += new System.EventHandler(this.btnSale_Click);
|
|
//
|
|
// btnInitial
|
|
//
|
|
this.btnInitial.Location = new System.Drawing.Point(3, 3);
|
|
this.btnInitial.Name = "btnInitial";
|
|
this.btnInitial.Size = new System.Drawing.Size(150, 100);
|
|
this.btnInitial.TabIndex = 0;
|
|
this.btnInitial.Text = "Initial Data";
|
|
this.btnInitial.UseVisualStyleBackColor = true;
|
|
this.btnInitial.Click += new System.EventHandler(this.btnInitial_Click);
|
|
//
|
|
// flowLayoutPanel1
|
|
//
|
|
this.flowLayoutPanel1.Controls.Add(this.btnInitial);
|
|
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.btnOpenBill);
|
|
this.flowLayoutPanel1.Controls.Add(this.btnAdvanceReceive);
|
|
this.flowLayoutPanel1.Controls.Add(this.btnAdvanceAdjust);
|
|
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.btnChangePassword);
|
|
this.flowLayoutPanel1.Controls.Add(this.btnExit);
|
|
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(315, 3);
|
|
this.btnSwipeLogin.Name = "btnSwipeLogin";
|
|
this.btnSwipeLogin.Size = new System.Drawing.Size(150, 100);
|
|
this.btnSwipeLogin.TabIndex = 2;
|
|
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(627, 3);
|
|
this.btnCustomer.Name = "btnCustomer";
|
|
this.btnCustomer.Size = new System.Drawing.Size(150, 100);
|
|
this.btnCustomer.TabIndex = 4;
|
|
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(3, 109);
|
|
this.btnProduct.Name = "btnProduct";
|
|
this.btnProduct.Size = new System.Drawing.Size(150, 100);
|
|
this.btnProduct.TabIndex = 5;
|
|
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(159, 109);
|
|
this.btnProductGroup.Name = "btnProductGroup";
|
|
this.btnProductGroup.Size = new System.Drawing.Size(150, 100);
|
|
this.btnProductGroup.TabIndex = 6;
|
|
this.btnProductGroup.Text = "Product Groups";
|
|
this.btnProductGroup.UseVisualStyleBackColor = true;
|
|
this.btnProductGroup.Click += new System.EventHandler(this.btnProductGroup_Click);
|
|
//
|
|
// btnOpenBill
|
|
//
|
|
this.btnOpenBill.Location = new System.Drawing.Point(315, 109);
|
|
this.btnOpenBill.Name = "btnOpenBill";
|
|
this.btnOpenBill.Size = new System.Drawing.Size(150, 100);
|
|
this.btnOpenBill.TabIndex = 7;
|
|
this.btnOpenBill.Text = "Open Bill";
|
|
this.btnOpenBill.UseVisualStyleBackColor = true;
|
|
this.btnOpenBill.Click += new System.EventHandler(this.btnOpenBill_Click);
|
|
//
|
|
// btnAdvanceReceive
|
|
//
|
|
this.btnAdvanceReceive.Location = new System.Drawing.Point(471, 109);
|
|
this.btnAdvanceReceive.Name = "btnAdvanceReceive";
|
|
this.btnAdvanceReceive.Size = new System.Drawing.Size(150, 100);
|
|
this.btnAdvanceReceive.TabIndex = 8;
|
|
this.btnAdvanceReceive.Text = "Receive Advance";
|
|
this.btnAdvanceReceive.UseVisualStyleBackColor = true;
|
|
this.btnAdvanceReceive.Click += new System.EventHandler(this.btnAdvanceReceive_Click);
|
|
//
|
|
// btnAdvanceAdjust
|
|
//
|
|
this.btnAdvanceAdjust.Location = new System.Drawing.Point(627, 109);
|
|
this.btnAdvanceAdjust.Name = "btnAdvanceAdjust";
|
|
this.btnAdvanceAdjust.Size = new System.Drawing.Size(150, 100);
|
|
this.btnAdvanceAdjust.TabIndex = 9;
|
|
this.btnAdvanceAdjust.Text = "Adjust Advance";
|
|
this.btnAdvanceAdjust.UseVisualStyleBackColor = true;
|
|
this.btnAdvanceAdjust.Click += new System.EventHandler(this.btnAdvanceAdjust_Click);
|
|
//
|
|
// btnCreateUser
|
|
//
|
|
this.btnCreateUser.Location = new System.Drawing.Point(3, 215);
|
|
this.btnCreateUser.Name = "btnCreateUser";
|
|
this.btnCreateUser.Size = new System.Drawing.Size(150, 100);
|
|
this.btnCreateUser.TabIndex = 10;
|
|
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(159, 215);
|
|
this.btnUserRoles.Name = "btnUserRoles";
|
|
this.btnUserRoles.Size = new System.Drawing.Size(150, 100);
|
|
this.btnUserRoles.TabIndex = 11;
|
|
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(315, 215);
|
|
this.btnGroupRoles.Name = "btnGroupRoles";
|
|
this.btnGroupRoles.Size = new System.Drawing.Size(150, 100);
|
|
this.btnGroupRoles.TabIndex = 12;
|
|
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(471, 215);
|
|
this.btnCashierCheckout.Name = "btnCashierCheckout";
|
|
this.btnCashierCheckout.Size = new System.Drawing.Size(150, 100);
|
|
this.btnCashierCheckout.TabIndex = 13;
|
|
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(627, 215);
|
|
this.btnSaleAnalysis.Name = "btnSaleAnalysis";
|
|
this.btnSaleAnalysis.Size = new System.Drawing.Size(150, 100);
|
|
this.btnSaleAnalysis.TabIndex = 14;
|
|
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(3, 321);
|
|
this.btnSaleDetail.Name = "btnSaleDetail";
|
|
this.btnSaleDetail.Size = new System.Drawing.Size(150, 100);
|
|
this.btnSaleDetail.TabIndex = 15;
|
|
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(159, 321);
|
|
this.btnBillDetails.Name = "btnBillDetails";
|
|
this.btnBillDetails.Size = new System.Drawing.Size(150, 100);
|
|
this.btnBillDetails.TabIndex = 16;
|
|
this.btnBillDetails.Text = "Bill Details";
|
|
this.btnBillDetails.UseVisualStyleBackColor = true;
|
|
this.btnBillDetails.Click += new System.EventHandler(this.btnBillDetails_Click);
|
|
//
|
|
// btnChangePassword
|
|
//
|
|
this.btnChangePassword.Location = new System.Drawing.Point(315, 321);
|
|
this.btnChangePassword.Name = "btnChangePassword";
|
|
this.btnChangePassword.Size = new System.Drawing.Size(150, 100);
|
|
this.btnChangePassword.TabIndex = 17;
|
|
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(471, 321);
|
|
this.btnExit.Name = "btnExit";
|
|
this.btnExit.Size = new System.Drawing.Size(150, 100);
|
|
this.btnExit.TabIndex = 18;
|
|
this.btnExit.Text = "Exit";
|
|
this.btnExit.UseVisualStyleBackColor = true;
|
|
this.btnExit.Click += new System.EventHandler(this.btnExit_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.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.Button btnInitial;
|
|
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 btnAdvanceReceive;
|
|
private System.Windows.Forms.Button btnAdvanceAdjust;
|
|
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;
|
|
}
|
|
} |