243 lines
12 KiB
C#
243 lines
12 KiB
C#
namespace Accounts.PointOfSale
|
|
{
|
|
partial class ProductNewRates
|
|
{
|
|
/// <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.txtNewRate = new System.Windows.Forms.TextBox();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.cmbItem = new System.Windows.Forms.ComboBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.dgvItems = new System.Windows.Forms.DataGridView();
|
|
this.btnSave = new System.Windows.Forms.Button();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.txtOldRate = new System.Windows.Forms.TextBox();
|
|
this.bsNewProductRates = new System.Windows.Forms.BindingSource(this.components);
|
|
this.idDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.productIDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.productNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.oldRateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.newRateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.timestampDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvItems)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsNewProductRates)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// txtNewRate
|
|
//
|
|
this.txtNewRate.Location = new System.Drawing.Point(473, 25);
|
|
this.txtNewRate.Name = "txtNewRate";
|
|
this.txtNewRate.Size = new System.Drawing.Size(66, 20);
|
|
this.txtNewRate.TabIndex = 28;
|
|
this.txtNewRate.Text = "0.00";
|
|
this.txtNewRate.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Location = new System.Drawing.Point(470, 8);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(55, 13);
|
|
this.label6.TabIndex = 27;
|
|
this.label6.Text = "New Rate";
|
|
//
|
|
// cmbItem
|
|
//
|
|
this.cmbItem.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmbItem.FormattingEnabled = true;
|
|
this.cmbItem.Location = new System.Drawing.Point(12, 25);
|
|
this.cmbItem.Name = "cmbItem";
|
|
this.cmbItem.Size = new System.Drawing.Size(379, 21);
|
|
this.cmbItem.TabIndex = 26;
|
|
this.cmbItem.SelectedIndexChanged += new System.EventHandler(this.cmbItem_SelectedIndexChanged);
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(9, 9);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(27, 13);
|
|
this.label3.TabIndex = 25;
|
|
this.label3.Text = "Item";
|
|
//
|
|
// dgvItems
|
|
//
|
|
this.dgvItems.AllowUserToAddRows = false;
|
|
this.dgvItems.AllowUserToDeleteRows = false;
|
|
this.dgvItems.AllowUserToResizeRows = false;
|
|
this.dgvItems.AutoGenerateColumns = false;
|
|
this.dgvItems.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCells;
|
|
this.dgvItems.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dgvItems.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.idDataGridViewTextBoxColumn,
|
|
this.productIDDataGridViewTextBoxColumn,
|
|
this.productNameDataGridViewTextBoxColumn,
|
|
this.oldRateDataGridViewTextBoxColumn,
|
|
this.newRateDataGridViewTextBoxColumn,
|
|
this.timestampDataGridViewTextBoxColumn});
|
|
this.dgvItems.DataSource = this.bsNewProductRates;
|
|
this.dgvItems.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
|
|
this.dgvItems.Location = new System.Drawing.Point(12, 62);
|
|
this.dgvItems.MultiSelect = false;
|
|
this.dgvItems.Name = "dgvItems";
|
|
this.dgvItems.ReadOnly = true;
|
|
this.dgvItems.RowHeadersVisible = false;
|
|
this.dgvItems.RowTemplate.Height = 19;
|
|
this.dgvItems.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
this.dgvItems.ShowRowErrors = false;
|
|
this.dgvItems.Size = new System.Drawing.Size(602, 317);
|
|
this.dgvItems.TabIndex = 24;
|
|
//
|
|
// btnSave
|
|
//
|
|
this.btnSave.Location = new System.Drawing.Point(547, 24);
|
|
this.btnSave.Name = "btnSave";
|
|
this.btnSave.Size = new System.Drawing.Size(67, 23);
|
|
this.btnSave.TabIndex = 29;
|
|
this.btnSave.Text = "Add";
|
|
this.btnSave.UseVisualStyleBackColor = true;
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(394, 8);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(49, 13);
|
|
this.label1.TabIndex = 30;
|
|
this.label1.Text = "Old Rate";
|
|
//
|
|
// txtOldRate
|
|
//
|
|
this.txtOldRate.Enabled = false;
|
|
this.txtOldRate.Location = new System.Drawing.Point(397, 25);
|
|
this.txtOldRate.Name = "txtOldRate";
|
|
this.txtOldRate.Size = new System.Drawing.Size(70, 20);
|
|
this.txtOldRate.TabIndex = 31;
|
|
this.txtOldRate.Text = "0.00";
|
|
this.txtOldRate.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
|
//
|
|
// bsNewProductRates
|
|
//
|
|
this.bsNewProductRates.DataSource = typeof(Accounts.Proxy.NewProductRates);
|
|
//
|
|
// idDataGridViewTextBoxColumn
|
|
//
|
|
this.idDataGridViewTextBoxColumn.DataPropertyName = "Id";
|
|
this.idDataGridViewTextBoxColumn.HeaderText = "Id";
|
|
this.idDataGridViewTextBoxColumn.Name = "idDataGridViewTextBoxColumn";
|
|
this.idDataGridViewTextBoxColumn.ReadOnly = true;
|
|
this.idDataGridViewTextBoxColumn.Visible = false;
|
|
this.idDataGridViewTextBoxColumn.Width = 22;
|
|
//
|
|
// productIDDataGridViewTextBoxColumn
|
|
//
|
|
this.productIDDataGridViewTextBoxColumn.DataPropertyName = "ProductID";
|
|
this.productIDDataGridViewTextBoxColumn.HeaderText = "ProductID";
|
|
this.productIDDataGridViewTextBoxColumn.Name = "productIDDataGridViewTextBoxColumn";
|
|
this.productIDDataGridViewTextBoxColumn.ReadOnly = true;
|
|
this.productIDDataGridViewTextBoxColumn.Visible = false;
|
|
this.productIDDataGridViewTextBoxColumn.Width = 61;
|
|
//
|
|
// productNameDataGridViewTextBoxColumn
|
|
//
|
|
this.productNameDataGridViewTextBoxColumn.DataPropertyName = "ProductName";
|
|
this.productNameDataGridViewTextBoxColumn.HeaderText = "Product Name";
|
|
this.productNameDataGridViewTextBoxColumn.Name = "productNameDataGridViewTextBoxColumn";
|
|
this.productNameDataGridViewTextBoxColumn.ReadOnly = true;
|
|
//
|
|
// oldRateDataGridViewTextBoxColumn
|
|
//
|
|
this.oldRateDataGridViewTextBoxColumn.DataPropertyName = "OldRate";
|
|
this.oldRateDataGridViewTextBoxColumn.HeaderText = "Old Rate";
|
|
this.oldRateDataGridViewTextBoxColumn.Name = "oldRateDataGridViewTextBoxColumn";
|
|
this.oldRateDataGridViewTextBoxColumn.ReadOnly = true;
|
|
this.oldRateDataGridViewTextBoxColumn.Width = 74;
|
|
//
|
|
// newRateDataGridViewTextBoxColumn
|
|
//
|
|
this.newRateDataGridViewTextBoxColumn.DataPropertyName = "NewRate";
|
|
this.newRateDataGridViewTextBoxColumn.HeaderText = "New Rate";
|
|
this.newRateDataGridViewTextBoxColumn.Name = "newRateDataGridViewTextBoxColumn";
|
|
this.newRateDataGridViewTextBoxColumn.ReadOnly = true;
|
|
this.newRateDataGridViewTextBoxColumn.Width = 80;
|
|
//
|
|
// timestampDataGridViewTextBoxColumn
|
|
//
|
|
this.timestampDataGridViewTextBoxColumn.DataPropertyName = "timestamp";
|
|
this.timestampDataGridViewTextBoxColumn.HeaderText = "timestamp";
|
|
this.timestampDataGridViewTextBoxColumn.Name = "timestampDataGridViewTextBoxColumn";
|
|
this.timestampDataGridViewTextBoxColumn.ReadOnly = true;
|
|
this.timestampDataGridViewTextBoxColumn.Visible = false;
|
|
this.timestampDataGridViewTextBoxColumn.Width = 79;
|
|
//
|
|
// ProductNewRates
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(626, 391);
|
|
this.Controls.Add(this.txtOldRate);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.btnSave);
|
|
this.Controls.Add(this.txtNewRate);
|
|
this.Controls.Add(this.label6);
|
|
this.Controls.Add(this.cmbItem);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.dgvItems);
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "ProductNewRates";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "New Product Rates";
|
|
this.Load += new System.EventHandler(this.ProductNewRates_Load);
|
|
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ProductNewRates_KeyDown);
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvItems)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsNewProductRates)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TextBox txtNewRate;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.ComboBox cmbItem;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.DataGridView dgvItems;
|
|
private System.Windows.Forms.Button btnSave;
|
|
private System.Windows.Forms.BindingSource bsNewProductRates;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.TextBox txtOldRate;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn idDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn productIDDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn productNameDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn oldRateDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn newRateDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn timestampDataGridViewTextBoxColumn;
|
|
}
|
|
} |