318 lines
15 KiB
C#
318 lines
15 KiB
C#
namespace Tanshu.Accounts.PointOfSale
|
|
{
|
|
partial class PaymentForm
|
|
{
|
|
/// <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();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
this.btnAdd = new System.Windows.Forms.Button();
|
|
this.Label7 = new System.Windows.Forms.Label();
|
|
this.txtNarration = new System.Windows.Forms.TextBox();
|
|
this.Label6 = new System.Windows.Forms.Label();
|
|
this.txtAmount = new System.Windows.Forms.TextBox();
|
|
this.lblAmount = new System.Windows.Forms.Label();
|
|
this.txtCashier = new System.Windows.Forms.TextBox();
|
|
this.Label3 = new System.Windows.Forms.Label();
|
|
this.Label2 = new System.Windows.Forms.Label();
|
|
this.Label1 = new System.Windows.Forms.Label();
|
|
this.cmbType = new System.Windows.Forms.ComboBox();
|
|
this.dtpTo = new System.Windows.Forms.DateTimePicker();
|
|
this.dtpFrom = new System.Windows.Forms.DateTimePicker();
|
|
this.dgvPayments = new System.Windows.Forms.DataGridView();
|
|
this.dateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.typeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.amountDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Narration = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Cashier = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.bindingSource = new System.Windows.Forms.BindingSource(this.components);
|
|
this.btnDelete = new System.Windows.Forms.Button();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvPayments)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bindingSource)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// btnAdd
|
|
//
|
|
this.btnAdd.Location = new System.Drawing.Point(68, 117);
|
|
this.btnAdd.Name = "btnAdd";
|
|
this.btnAdd.Size = new System.Drawing.Size(75, 21);
|
|
this.btnAdd.TabIndex = 108;
|
|
this.btnAdd.Text = "&Add";
|
|
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
|
|
//
|
|
// Label7
|
|
//
|
|
this.Label7.AutoSize = true;
|
|
this.Label7.Location = new System.Drawing.Point(12, 94);
|
|
this.Label7.Name = "Label7";
|
|
this.Label7.Size = new System.Drawing.Size(50, 13);
|
|
this.Label7.TabIndex = 107;
|
|
this.Label7.Text = "Narration";
|
|
//
|
|
// txtNarration
|
|
//
|
|
this.txtNarration.Location = new System.Drawing.Point(68, 91);
|
|
this.txtNarration.Name = "txtNarration";
|
|
this.txtNarration.Size = new System.Drawing.Size(322, 20);
|
|
this.txtNarration.TabIndex = 106;
|
|
//
|
|
// Label6
|
|
//
|
|
this.Label6.AutoSize = true;
|
|
this.Label6.Location = new System.Drawing.Point(195, 67);
|
|
this.Label6.Name = "Label6";
|
|
this.Label6.Size = new System.Drawing.Size(44, 13);
|
|
this.Label6.TabIndex = 104;
|
|
this.Label6.Text = "Reason";
|
|
//
|
|
// txtAmount
|
|
//
|
|
this.txtAmount.Location = new System.Drawing.Point(68, 64);
|
|
this.txtAmount.Name = "txtAmount";
|
|
this.txtAmount.Size = new System.Drawing.Size(121, 20);
|
|
this.txtAmount.TabIndex = 103;
|
|
//
|
|
// lblAmount
|
|
//
|
|
this.lblAmount.AutoSize = true;
|
|
this.lblAmount.Location = new System.Drawing.Point(12, 67);
|
|
this.lblAmount.Name = "lblAmount";
|
|
this.lblAmount.Size = new System.Drawing.Size(43, 13);
|
|
this.lblAmount.TabIndex = 102;
|
|
this.lblAmount.Text = "Amount";
|
|
//
|
|
// txtCashier
|
|
//
|
|
this.txtCashier.Location = new System.Drawing.Point(68, 38);
|
|
this.txtCashier.Name = "txtCashier";
|
|
this.txtCashier.ReadOnly = true;
|
|
this.txtCashier.Size = new System.Drawing.Size(322, 20);
|
|
this.txtCashier.TabIndex = 101;
|
|
//
|
|
// Label3
|
|
//
|
|
this.Label3.AutoSize = true;
|
|
this.Label3.Location = new System.Drawing.Point(12, 41);
|
|
this.Label3.Name = "Label3";
|
|
this.Label3.Size = new System.Drawing.Size(42, 13);
|
|
this.Label3.TabIndex = 100;
|
|
this.Label3.Text = "Cashier";
|
|
//
|
|
// Label2
|
|
//
|
|
this.Label2.AutoSize = true;
|
|
this.Label2.Location = new System.Drawing.Point(219, 16);
|
|
this.Label2.Name = "Label2";
|
|
this.Label2.Size = new System.Drawing.Size(20, 13);
|
|
this.Label2.TabIndex = 97;
|
|
this.Label2.Text = "To";
|
|
//
|
|
// Label1
|
|
//
|
|
this.Label1.AutoSize = true;
|
|
this.Label1.Location = new System.Drawing.Point(12, 16);
|
|
this.Label1.Name = "Label1";
|
|
this.Label1.Size = new System.Drawing.Size(30, 13);
|
|
this.Label1.TabIndex = 95;
|
|
this.Label1.Text = "From";
|
|
//
|
|
// cmbType
|
|
//
|
|
this.cmbType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmbType.Items.AddRange(new object[] {
|
|
"Opening",
|
|
"Receipt",
|
|
"Payment",
|
|
"Additional Void",
|
|
"Retained at Night",
|
|
"Own in Pocket"});
|
|
this.cmbType.Location = new System.Drawing.Point(245, 64);
|
|
this.cmbType.Name = "cmbType";
|
|
this.cmbType.Size = new System.Drawing.Size(145, 21);
|
|
this.cmbType.TabIndex = 105;
|
|
//
|
|
// dtpTo
|
|
//
|
|
this.dtpTo.CustomFormat = "dd-MMM-yyyy";
|
|
this.dtpTo.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
|
this.dtpTo.Location = new System.Drawing.Point(245, 12);
|
|
this.dtpTo.Name = "dtpTo";
|
|
this.dtpTo.Size = new System.Drawing.Size(145, 20);
|
|
this.dtpTo.TabIndex = 98;
|
|
this.dtpTo.ValueChanged += new System.EventHandler(this.dtpTo_ValueChanged);
|
|
//
|
|
// dtpFrom
|
|
//
|
|
this.dtpFrom.CustomFormat = "dd-MMM-yyyy";
|
|
this.dtpFrom.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
|
this.dtpFrom.Location = new System.Drawing.Point(68, 12);
|
|
this.dtpFrom.Name = "dtpFrom";
|
|
this.dtpFrom.Size = new System.Drawing.Size(132, 20);
|
|
this.dtpFrom.TabIndex = 96;
|
|
this.dtpFrom.ValueChanged += new System.EventHandler(this.dtpFrom_ValueChanged);
|
|
//
|
|
// dgvPayments
|
|
//
|
|
this.dgvPayments.AllowUserToAddRows = false;
|
|
this.dgvPayments.AllowUserToDeleteRows = false;
|
|
this.dgvPayments.AllowUserToResizeRows = false;
|
|
this.dgvPayments.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.dgvPayments.AutoGenerateColumns = false;
|
|
this.dgvPayments.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCells;
|
|
this.dgvPayments.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dgvPayments.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.dateDataGridViewTextBoxColumn,
|
|
this.typeDataGridViewTextBoxColumn,
|
|
this.amountDataGridViewTextBoxColumn,
|
|
this.Narration,
|
|
this.Cashier});
|
|
this.dgvPayments.DataSource = this.bindingSource;
|
|
this.dgvPayments.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
|
|
this.dgvPayments.Location = new System.Drawing.Point(12, 144);
|
|
this.dgvPayments.Name = "dgvPayments";
|
|
this.dgvPayments.ReadOnly = true;
|
|
this.dgvPayments.RowHeadersVisible = false;
|
|
this.dgvPayments.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
this.dgvPayments.Size = new System.Drawing.Size(378, 380);
|
|
this.dgvPayments.TabIndex = 110;
|
|
//
|
|
// dateDataGridViewTextBoxColumn
|
|
//
|
|
this.dateDataGridViewTextBoxColumn.DataPropertyName = "Date";
|
|
this.dateDataGridViewTextBoxColumn.HeaderText = "Date";
|
|
this.dateDataGridViewTextBoxColumn.Name = "dateDataGridViewTextBoxColumn";
|
|
this.dateDataGridViewTextBoxColumn.ReadOnly = true;
|
|
this.dateDataGridViewTextBoxColumn.Width = 55;
|
|
//
|
|
// typeDataGridViewTextBoxColumn
|
|
//
|
|
this.typeDataGridViewTextBoxColumn.DataPropertyName = "Type";
|
|
this.typeDataGridViewTextBoxColumn.HeaderText = "Type";
|
|
this.typeDataGridViewTextBoxColumn.Name = "typeDataGridViewTextBoxColumn";
|
|
this.typeDataGridViewTextBoxColumn.ReadOnly = true;
|
|
this.typeDataGridViewTextBoxColumn.Width = 56;
|
|
//
|
|
// amountDataGridViewTextBoxColumn
|
|
//
|
|
this.amountDataGridViewTextBoxColumn.DataPropertyName = "Amount";
|
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
|
dataGridViewCellStyle1.Format = "N2";
|
|
dataGridViewCellStyle1.NullValue = "-";
|
|
this.amountDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1;
|
|
this.amountDataGridViewTextBoxColumn.HeaderText = "Amount";
|
|
this.amountDataGridViewTextBoxColumn.Name = "amountDataGridViewTextBoxColumn";
|
|
this.amountDataGridViewTextBoxColumn.ReadOnly = true;
|
|
this.amountDataGridViewTextBoxColumn.Width = 68;
|
|
//
|
|
// Narration
|
|
//
|
|
this.Narration.DataPropertyName = "Narration";
|
|
this.Narration.HeaderText = "Narration";
|
|
this.Narration.Name = "Narration";
|
|
this.Narration.ReadOnly = true;
|
|
this.Narration.Width = 75;
|
|
//
|
|
// Cashier
|
|
//
|
|
this.Cashier.DataPropertyName = "Cashier";
|
|
this.Cashier.HeaderText = "Cashier";
|
|
this.Cashier.Name = "Cashier";
|
|
this.Cashier.ReadOnly = true;
|
|
this.Cashier.Width = 67;
|
|
//
|
|
// bindingSource
|
|
//
|
|
this.bindingSource.DataSource = typeof(Tanshu.Accounts.Contracts.PaymentDisplayBO);
|
|
//
|
|
// btnDelete
|
|
//
|
|
this.btnDelete.Location = new System.Drawing.Point(315, 117);
|
|
this.btnDelete.Name = "btnDelete";
|
|
this.btnDelete.Size = new System.Drawing.Size(75, 21);
|
|
this.btnDelete.TabIndex = 109;
|
|
this.btnDelete.Text = "&Delete";
|
|
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
|
|
//
|
|
// PaymentFrom
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(402, 536);
|
|
this.Controls.Add(this.dgvPayments);
|
|
this.Controls.Add(this.btnDelete);
|
|
this.Controls.Add(this.btnAdd);
|
|
this.Controls.Add(this.Label7);
|
|
this.Controls.Add(this.txtNarration);
|
|
this.Controls.Add(this.Label6);
|
|
this.Controls.Add(this.txtAmount);
|
|
this.Controls.Add(this.lblAmount);
|
|
this.Controls.Add(this.txtCashier);
|
|
this.Controls.Add(this.Label3);
|
|
this.Controls.Add(this.Label2);
|
|
this.Controls.Add(this.Label1);
|
|
this.Controls.Add(this.cmbType);
|
|
this.Controls.Add(this.dtpTo);
|
|
this.Controls.Add(this.dtpFrom);
|
|
this.MaximizeBox = false;
|
|
this.Name = "PaymentFrom";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Payments";
|
|
this.Load += new System.EventHandler(this.PaymentForm_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvPayments)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bindingSource)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
internal System.Windows.Forms.Button btnAdd;
|
|
internal System.Windows.Forms.Label Label7;
|
|
internal System.Windows.Forms.TextBox txtNarration;
|
|
internal System.Windows.Forms.Label Label6;
|
|
internal System.Windows.Forms.TextBox txtAmount;
|
|
internal System.Windows.Forms.Label lblAmount;
|
|
internal System.Windows.Forms.TextBox txtCashier;
|
|
internal System.Windows.Forms.Label Label3;
|
|
internal System.Windows.Forms.Label Label2;
|
|
internal System.Windows.Forms.Label Label1;
|
|
internal System.Windows.Forms.ComboBox cmbType;
|
|
internal System.Windows.Forms.DateTimePicker dtpTo;
|
|
internal System.Windows.Forms.DateTimePicker dtpFrom;
|
|
private System.Windows.Forms.DataGridView dgvPayments;
|
|
private System.Windows.Forms.BindingSource bindingSource;
|
|
internal System.Windows.Forms.Button btnDelete;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dateDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn typeDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn amountDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Narration;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Cashier;
|
|
}
|
|
} |