caf9b3106c
Feature: Settings database table added to store string based settings. It is right now used to store bill header and footer. Hard Coded header/footer removed from file. Feature: Tax Analysis form created to easily show the tax calculation. Feature: Management form uses background workers. Dont' know if it is functional though. Chore: Reorder Table form moved to masters from sales folder. Refactor: ManagementBI and SalesAnalysisBI
152 lines
7.8 KiB
C#
152 lines
7.8 KiB
C#
namespace Tanshu.Accounts.PointOfSale
|
|
{
|
|
partial class MachineListForm
|
|
{
|
|
/// <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();
|
|
this.btnAdd = new System.Windows.Forms.Button();
|
|
this.btnEdit = new System.Windows.Forms.Button();
|
|
this.btnExit = new System.Windows.Forms.Button();
|
|
this.dgvProductGroups = new System.Windows.Forms.DataGridView();
|
|
this.bsList = new System.Windows.Forms.BindingSource(this.components);
|
|
this.machineDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.locationDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvProductGroups)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsList)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// btnAdd
|
|
//
|
|
this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.btnAdd.Location = new System.Drawing.Point(12, 255);
|
|
this.btnAdd.Name = "btnAdd";
|
|
this.btnAdd.Size = new System.Drawing.Size(75, 75);
|
|
this.btnAdd.TabIndex = 68;
|
|
this.btnAdd.Text = "&Add";
|
|
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
|
|
//
|
|
// btnEdit
|
|
//
|
|
this.btnEdit.AccessibleName = "Done";
|
|
this.btnEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.btnEdit.Location = new System.Drawing.Point(93, 255);
|
|
this.btnEdit.Name = "btnEdit";
|
|
this.btnEdit.Size = new System.Drawing.Size(75, 75);
|
|
this.btnEdit.TabIndex = 62;
|
|
this.btnEdit.Text = "&Edit";
|
|
this.btnEdit.Click += new System.EventHandler(this.btnEdit_Click);
|
|
//
|
|
// btnExit
|
|
//
|
|
this.btnExit.AccessibleName = "Done";
|
|
this.btnExit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnExit.Location = new System.Drawing.Point(514, 255);
|
|
this.btnExit.Name = "btnExit";
|
|
this.btnExit.Size = new System.Drawing.Size(75, 75);
|
|
this.btnExit.TabIndex = 61;
|
|
this.btnExit.Text = "E&xit";
|
|
this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
|
|
//
|
|
// dgvProductGroups
|
|
//
|
|
this.dgvProductGroups.AllowUserToAddRows = false;
|
|
this.dgvProductGroups.AllowUserToDeleteRows = false;
|
|
this.dgvProductGroups.AllowUserToResizeRows = false;
|
|
this.dgvProductGroups.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.dgvProductGroups.AutoGenerateColumns = false;
|
|
this.dgvProductGroups.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
|
|
this.dgvProductGroups.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dgvProductGroups.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.machineDataGridViewTextBoxColumn,
|
|
this.locationDataGridViewTextBoxColumn});
|
|
this.dgvProductGroups.DataSource = this.bsList;
|
|
this.dgvProductGroups.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
|
|
this.dgvProductGroups.Location = new System.Drawing.Point(12, 12);
|
|
this.dgvProductGroups.MultiSelect = false;
|
|
this.dgvProductGroups.Name = "dgvProductGroups";
|
|
this.dgvProductGroups.ReadOnly = true;
|
|
this.dgvProductGroups.RowHeadersVisible = false;
|
|
this.dgvProductGroups.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
|
this.dgvProductGroups.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
this.dgvProductGroups.Size = new System.Drawing.Size(577, 237);
|
|
this.dgvProductGroups.TabIndex = 74;
|
|
//
|
|
// bsList
|
|
//
|
|
this.bsList.DataSource = typeof(Tanshu.Accounts.Entities.MachineLocation);
|
|
//
|
|
// machineDataGridViewTextBoxColumn
|
|
//
|
|
this.machineDataGridViewTextBoxColumn.DataPropertyName = "Machine";
|
|
this.machineDataGridViewTextBoxColumn.HeaderText = "Machine";
|
|
this.machineDataGridViewTextBoxColumn.Name = "machineDataGridViewTextBoxColumn";
|
|
this.machineDataGridViewTextBoxColumn.ReadOnly = true;
|
|
this.machineDataGridViewTextBoxColumn.Width = 73;
|
|
//
|
|
// locationDataGridViewTextBoxColumn
|
|
//
|
|
this.locationDataGridViewTextBoxColumn.DataPropertyName = "Location";
|
|
this.locationDataGridViewTextBoxColumn.HeaderText = "Location";
|
|
this.locationDataGridViewTextBoxColumn.Name = "locationDataGridViewTextBoxColumn";
|
|
this.locationDataGridViewTextBoxColumn.ReadOnly = true;
|
|
this.locationDataGridViewTextBoxColumn.Width = 73;
|
|
//
|
|
// MachineListForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(601, 342);
|
|
this.Controls.Add(this.dgvProductGroups);
|
|
this.Controls.Add(this.btnAdd);
|
|
this.Controls.Add(this.btnEdit);
|
|
this.Controls.Add(this.btnExit);
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "MachineListForm";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Machines";
|
|
this.Load += new System.EventHandler(this.MachineListForm_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvProductGroups)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsList)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
internal System.Windows.Forms.Button btnAdd;
|
|
internal System.Windows.Forms.Button btnEdit;
|
|
internal System.Windows.Forms.Button btnExit;
|
|
private System.Windows.Forms.DataGridView dgvProductGroups;
|
|
private System.Windows.Forms.BindingSource bsList;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn machineDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn locationDataGridViewTextBoxColumn;
|
|
}
|
|
} |