158 lines
8.0 KiB
C#
158 lines
8.0 KiB
C#
namespace Accounts.PointOfSale
|
|
{
|
|
partial class ApplyRates
|
|
{
|
|
/// <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.btnSave = new System.Windows.Forms.Button();
|
|
this.dgvItems = new System.Windows.Forms.DataGridView();
|
|
this.idDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.productIDDataGridViewTextBoxColumn = 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();
|
|
this.deleteDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.bsApplyRates = new System.Windows.Forms.BindingSource(this.components);
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvItems)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsApplyRates)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// btnSave
|
|
//
|
|
this.btnSave.Location = new System.Drawing.Point(523, 326);
|
|
this.btnSave.Name = "btnSave";
|
|
this.btnSave.Size = new System.Drawing.Size(81, 23);
|
|
this.btnSave.TabIndex = 31;
|
|
this.btnSave.Text = "Apply Rates";
|
|
this.btnSave.UseVisualStyleBackColor = true;
|
|
//
|
|
// dgvItems
|
|
//
|
|
this.dgvItems.AllowUserToAddRows = false;
|
|
this.dgvItems.AllowUserToDeleteRows = false;
|
|
this.dgvItems.AllowUserToOrderColumns = true;
|
|
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.oldRateDataGridViewTextBoxColumn,
|
|
this.newRateDataGridViewTextBoxColumn,
|
|
this.timestampDataGridViewTextBoxColumn,
|
|
this.deleteDataGridViewTextBoxColumn});
|
|
this.dgvItems.DataSource = this.bsApplyRates;
|
|
this.dgvItems.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
|
|
this.dgvItems.Location = new System.Drawing.Point(2, 3);
|
|
this.dgvItems.MultiSelect = false;
|
|
this.dgvItems.Name = "dgvItems";
|
|
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 = 30;
|
|
//
|
|
// idDataGridViewTextBoxColumn
|
|
//
|
|
this.idDataGridViewTextBoxColumn.DataPropertyName = "Id";
|
|
this.idDataGridViewTextBoxColumn.HeaderText = "Id";
|
|
this.idDataGridViewTextBoxColumn.Name = "idDataGridViewTextBoxColumn";
|
|
this.idDataGridViewTextBoxColumn.Width = 41;
|
|
//
|
|
// productIDDataGridViewTextBoxColumn
|
|
//
|
|
this.productIDDataGridViewTextBoxColumn.DataPropertyName = "ProductID";
|
|
this.productIDDataGridViewTextBoxColumn.HeaderText = "ProductID";
|
|
this.productIDDataGridViewTextBoxColumn.Name = "productIDDataGridViewTextBoxColumn";
|
|
this.productIDDataGridViewTextBoxColumn.Width = 80;
|
|
//
|
|
// oldRateDataGridViewTextBoxColumn
|
|
//
|
|
this.oldRateDataGridViewTextBoxColumn.DataPropertyName = "OldRate";
|
|
this.oldRateDataGridViewTextBoxColumn.HeaderText = "OldRate";
|
|
this.oldRateDataGridViewTextBoxColumn.Name = "oldRateDataGridViewTextBoxColumn";
|
|
this.oldRateDataGridViewTextBoxColumn.Width = 71;
|
|
//
|
|
// newRateDataGridViewTextBoxColumn
|
|
//
|
|
this.newRateDataGridViewTextBoxColumn.DataPropertyName = "NewRate";
|
|
this.newRateDataGridViewTextBoxColumn.HeaderText = "NewRate";
|
|
this.newRateDataGridViewTextBoxColumn.Name = "newRateDataGridViewTextBoxColumn";
|
|
this.newRateDataGridViewTextBoxColumn.Width = 77;
|
|
//
|
|
// timestampDataGridViewTextBoxColumn
|
|
//
|
|
this.timestampDataGridViewTextBoxColumn.DataPropertyName = "timestamp";
|
|
this.timestampDataGridViewTextBoxColumn.HeaderText = "timestamp";
|
|
this.timestampDataGridViewTextBoxColumn.Name = "timestampDataGridViewTextBoxColumn";
|
|
this.timestampDataGridViewTextBoxColumn.Width = 79;
|
|
//
|
|
// deleteDataGridViewTextBoxColumn
|
|
//
|
|
this.deleteDataGridViewTextBoxColumn.DataPropertyName = "Delete";
|
|
this.deleteDataGridViewTextBoxColumn.HeaderText = "Delete";
|
|
this.deleteDataGridViewTextBoxColumn.Name = "deleteDataGridViewTextBoxColumn";
|
|
this.deleteDataGridViewTextBoxColumn.Width = 63;
|
|
//
|
|
// bsApplyRates
|
|
//
|
|
this.bsApplyRates.DataSource = typeof(Accounts.Proxy.NewProductRates);
|
|
//
|
|
// ApplyRates
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(606, 354);
|
|
this.Controls.Add(this.btnSave);
|
|
this.Controls.Add(this.dgvItems);
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "ApplyRates";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Apply Rates";
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvItems)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsApplyRates)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button btnSave;
|
|
private System.Windows.Forms.DataGridView dgvItems;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn idDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn productIDDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn oldRateDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn newRateDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn timestampDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn deleteDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.BindingSource bsApplyRates;
|
|
}
|
|
} |