392 lines
21 KiB
C#
392 lines
21 KiB
C#
namespace Accounts.PointOfSale
|
|
{
|
|
partial class CustomerForm
|
|
{
|
|
/// <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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustomerForm));
|
|
this.bsMain = new System.Windows.Forms.BindingSource(this.components);
|
|
this.txtName = new System.Windows.Forms.TextBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.cmbLedger = new System.Windows.Forms.ComboBox();
|
|
this.bsLedger = new System.Windows.Forms.BindingSource(this.components);
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.txtAddress = new System.Windows.Forms.TextBox();
|
|
this.txtPhone = new System.Windows.Forms.TextBox();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.txtRemarks = new System.Windows.Forms.TextBox();
|
|
this.bnMain = new System.Windows.Forms.BindingNavigator(this.components);
|
|
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
|
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
|
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
|
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
|
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
|
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
|
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
|
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
|
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
|
this.bindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
|
|
this.bindingNavigatorCancelItem = new System.Windows.Forms.ToolStripButton();
|
|
this.bindingNavigatorEditItem = new System.Windows.Forms.ToolStripButton();
|
|
this.chkImportant = new System.Windows.Forms.CheckBox();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsMain)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsLedger)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bnMain)).BeginInit();
|
|
this.bnMain.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// bsMain
|
|
//
|
|
this.bsMain.DataSource = typeof(Accounts.Proxy.Customer);
|
|
//
|
|
// txtName
|
|
//
|
|
this.txtName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsMain, "Name", true));
|
|
this.txtName.Location = new System.Drawing.Point(72, 12);
|
|
this.txtName.Name = "txtName";
|
|
this.txtName.Size = new System.Drawing.Size(291, 20);
|
|
this.txtName.TabIndex = 0;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(31, 12);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(35, 13);
|
|
this.label2.TabIndex = 4;
|
|
this.label2.Text = "Name";
|
|
//
|
|
// cmbLedger
|
|
//
|
|
this.cmbLedger.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bsMain, "LedgerID", true));
|
|
this.cmbLedger.DataSource = this.bsLedger;
|
|
this.cmbLedger.DisplayMember = "Name";
|
|
this.cmbLedger.FormattingEnabled = true;
|
|
this.cmbLedger.Location = new System.Drawing.Point(72, 45);
|
|
this.cmbLedger.Name = "cmbLedger";
|
|
this.cmbLedger.Size = new System.Drawing.Size(291, 21);
|
|
this.cmbLedger.TabIndex = 1;
|
|
this.cmbLedger.ValueMember = "LedgerID";
|
|
//
|
|
// bsLedger
|
|
//
|
|
this.bsLedger.DataSource = typeof(Accounts.Proxy.Ledger);
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(26, 45);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(40, 13);
|
|
this.label3.TabIndex = 6;
|
|
this.label3.Text = "Ledger";
|
|
//
|
|
// txtAddress
|
|
//
|
|
this.txtAddress.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsMain, "Address", true));
|
|
this.txtAddress.Location = new System.Drawing.Point(72, 119);
|
|
this.txtAddress.Multiline = true;
|
|
this.txtAddress.Name = "txtAddress";
|
|
this.txtAddress.Size = new System.Drawing.Size(291, 85);
|
|
this.txtAddress.TabIndex = 3;
|
|
//
|
|
// txtPhone
|
|
//
|
|
this.txtPhone.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsMain, "Phone", true));
|
|
this.txtPhone.Location = new System.Drawing.Point(72, 80);
|
|
this.txtPhone.Name = "txtPhone";
|
|
this.txtPhone.Size = new System.Drawing.Size(291, 20);
|
|
this.txtPhone.TabIndex = 2;
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(17, 210);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(49, 13);
|
|
this.label4.TabIndex = 9;
|
|
this.label4.Text = "Remarks";
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(21, 122);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(45, 13);
|
|
this.label5.TabIndex = 10;
|
|
this.label5.Text = "Address";
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Location = new System.Drawing.Point(8, 80);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(58, 13);
|
|
this.label6.TabIndex = 11;
|
|
this.label6.Text = "Phone No.";
|
|
//
|
|
// txtRemarks
|
|
//
|
|
this.txtRemarks.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsMain, "Remarks", true));
|
|
this.txtRemarks.Location = new System.Drawing.Point(72, 210);
|
|
this.txtRemarks.Multiline = true;
|
|
this.txtRemarks.Name = "txtRemarks";
|
|
this.txtRemarks.Size = new System.Drawing.Size(291, 78);
|
|
this.txtRemarks.TabIndex = 4;
|
|
//
|
|
// bnMain
|
|
//
|
|
this.bnMain.AddNewItem = this.bindingNavigatorAddNewItem;
|
|
this.bnMain.BindingSource = this.bsMain;
|
|
this.bnMain.CountItem = this.bindingNavigatorCountItem;
|
|
this.bnMain.DeleteItem = null;
|
|
this.bnMain.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
this.bnMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.bindingNavigatorMoveFirstItem,
|
|
this.bindingNavigatorMovePreviousItem,
|
|
this.bindingNavigatorSeparator,
|
|
this.bindingNavigatorPositionItem,
|
|
this.bindingNavigatorCountItem,
|
|
this.bindingNavigatorSeparator1,
|
|
this.bindingNavigatorMoveNextItem,
|
|
this.bindingNavigatorMoveLastItem,
|
|
this.bindingNavigatorSeparator2,
|
|
this.bindingNavigatorAddNewItem,
|
|
this.bindingNavigatorDeleteItem,
|
|
this.bindingNavigatorSaveItem,
|
|
this.bindingNavigatorCancelItem,
|
|
this.bindingNavigatorEditItem});
|
|
this.bnMain.Location = new System.Drawing.Point(0, 314);
|
|
this.bnMain.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
|
this.bnMain.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
|
this.bnMain.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
|
this.bnMain.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
|
this.bnMain.Name = "bnMain";
|
|
this.bnMain.PositionItem = this.bindingNavigatorPositionItem;
|
|
this.bnMain.Size = new System.Drawing.Size(386, 25);
|
|
this.bnMain.TabIndex = 13;
|
|
//
|
|
// bindingNavigatorAddNewItem
|
|
//
|
|
this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
|
|
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
|
|
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
|
|
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
|
|
this.bindingNavigatorAddNewItem.Text = "Add new";
|
|
this.bindingNavigatorAddNewItem.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click);
|
|
//
|
|
// bindingNavigatorCountItem
|
|
//
|
|
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
|
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(36, 22);
|
|
this.bindingNavigatorCountItem.Text = "of {0}";
|
|
this.bindingNavigatorCountItem.ToolTipText = "Total number of items";
|
|
//
|
|
// bindingNavigatorMoveFirstItem
|
|
//
|
|
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
|
|
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
|
|
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
|
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
|
|
this.bindingNavigatorMoveFirstItem.Text = "Move first";
|
|
//
|
|
// bindingNavigatorMovePreviousItem
|
|
//
|
|
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
|
|
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
|
|
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
|
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
|
|
this.bindingNavigatorMovePreviousItem.Text = "Move previous";
|
|
//
|
|
// bindingNavigatorSeparator
|
|
//
|
|
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
|
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
|
|
//
|
|
// bindingNavigatorPositionItem
|
|
//
|
|
this.bindingNavigatorPositionItem.AccessibleName = "Position";
|
|
this.bindingNavigatorPositionItem.AutoSize = false;
|
|
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
|
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
|
this.bindingNavigatorPositionItem.Text = "0";
|
|
this.bindingNavigatorPositionItem.ToolTipText = "Current position";
|
|
//
|
|
// bindingNavigatorSeparator1
|
|
//
|
|
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
|
|
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
|
|
//
|
|
// bindingNavigatorMoveNextItem
|
|
//
|
|
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
|
|
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
|
|
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
|
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
|
|
this.bindingNavigatorMoveNextItem.Text = "Move next";
|
|
//
|
|
// bindingNavigatorMoveLastItem
|
|
//
|
|
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
|
|
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
|
|
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
|
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
|
|
this.bindingNavigatorMoveLastItem.Text = "Move last";
|
|
//
|
|
// bindingNavigatorSeparator2
|
|
//
|
|
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
|
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
|
//
|
|
// bindingNavigatorDeleteItem
|
|
//
|
|
this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
|
|
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
|
|
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
|
|
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
|
|
this.bindingNavigatorDeleteItem.Text = "Delete";
|
|
//
|
|
// bindingNavigatorSaveItem
|
|
//
|
|
this.bindingNavigatorSaveItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
|
|
this.bindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorSaveItem.Image")));
|
|
this.bindingNavigatorSaveItem.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.bindingNavigatorSaveItem.Name = "bindingNavigatorSaveItem";
|
|
this.bindingNavigatorSaveItem.Size = new System.Drawing.Size(35, 22);
|
|
this.bindingNavigatorSaveItem.Text = "Save";
|
|
this.bindingNavigatorSaveItem.Click += new System.EventHandler(this.bindingNavigatorSaveItem_Click);
|
|
//
|
|
// bindingNavigatorCancelItem
|
|
//
|
|
this.bindingNavigatorCancelItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
|
|
this.bindingNavigatorCancelItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorCancelItem.Image")));
|
|
this.bindingNavigatorCancelItem.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.bindingNavigatorCancelItem.Name = "bindingNavigatorCancelItem";
|
|
this.bindingNavigatorCancelItem.Size = new System.Drawing.Size(43, 22);
|
|
this.bindingNavigatorCancelItem.Text = "Cancel";
|
|
this.bindingNavigatorCancelItem.Click += new System.EventHandler(this.bindingNavigatorCancelItem_Click);
|
|
//
|
|
// bindingNavigatorEditItem
|
|
//
|
|
this.bindingNavigatorEditItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
|
|
this.bindingNavigatorEditItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorEditItem.Image")));
|
|
this.bindingNavigatorEditItem.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.bindingNavigatorEditItem.Name = "bindingNavigatorEditItem";
|
|
this.bindingNavigatorEditItem.Size = new System.Drawing.Size(29, 22);
|
|
this.bindingNavigatorEditItem.Text = "Edit";
|
|
this.bindingNavigatorEditItem.Click += new System.EventHandler(this.bindingNavigatorEditItem_Click);
|
|
//
|
|
// chkImportant
|
|
//
|
|
this.chkImportant.AutoSize = true;
|
|
this.chkImportant.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
this.chkImportant.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.bsMain, "Important", true));
|
|
this.chkImportant.Location = new System.Drawing.Point(20, 294);
|
|
this.chkImportant.Name = "chkImportant";
|
|
this.chkImportant.Size = new System.Drawing.Size(70, 17);
|
|
this.chkImportant.TabIndex = 14;
|
|
this.chkImportant.Text = "Important";
|
|
this.chkImportant.UseVisualStyleBackColor = true;
|
|
//
|
|
// CustomerForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(386, 339);
|
|
this.Controls.Add(this.chkImportant);
|
|
this.Controls.Add(this.bnMain);
|
|
this.Controls.Add(this.txtRemarks);
|
|
this.Controls.Add(this.label6);
|
|
this.Controls.Add(this.label5);
|
|
this.Controls.Add(this.label4);
|
|
this.Controls.Add(this.txtPhone);
|
|
this.Controls.Add(this.txtAddress);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.cmbLedger);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.txtName);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.KeyPreview = true;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "CustomerForm";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Customers";
|
|
this.Load += new System.EventHandler(this.CustomerForm_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.bsMain)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsLedger)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bnMain)).EndInit();
|
|
this.bnMain.ResumeLayout(false);
|
|
this.bnMain.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TextBox txtName;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.ComboBox cmbLedger;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.TextBox txtAddress;
|
|
private System.Windows.Forms.TextBox txtPhone;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.TextBox txtRemarks;
|
|
private System.Windows.Forms.BindingNavigator bnMain;
|
|
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
|
|
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
|
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
|
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
|
|
private System.Windows.Forms.ToolStripButton bindingNavigatorSaveItem;
|
|
private System.Windows.Forms.ToolStripButton bindingNavigatorCancelItem;
|
|
private System.Windows.Forms.ToolStripButton bindingNavigatorEditItem;
|
|
private System.Windows.Forms.BindingSource bsMain;
|
|
private System.Windows.Forms.BindingSource bsLedger;
|
|
private System.Windows.Forms.CheckBox chkImportant;
|
|
}
|
|
} |