/// <summary> /// Overload the <see cref="E:Load"/> event. /// </summary> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> protected override void OnLoad(EventArgs e) { if (!this.DesignMode) { TranslateLabels(); int counter = 0; foreach (Tuple <string, string> drawerInfo in EOD.InternalApplication.Services.Peripherals.CashDrawer.GetAvailableDrawers()) { ++counter; // If cash drawer description is empty then use resource string. string buttonText = string.IsNullOrWhiteSpace(drawerInfo.Item2) ? ApplicationLocalizer.Language.Translate(51318, counter) : drawerInfo.Item2; string drawerName = drawerInfo.Item1; SimpleButtonEx button = CreateDrawerButton(buttonText, drawerName); if (openedShifts.Any(s => s.CashDrawer.Equals(drawerName, StringComparison.OrdinalIgnoreCase))) { // If drawer is already being used, then disable the button. button.Enabled = false; } this.flowLayoutPanel.Controls.Add(button); } } base.OnLoad(e); }
void OnCardTypeClick(object sender, EventArgs e) { SimpleButtonEx b = sender as SimpleButtonEx; if (b != null) { this.SelectedCard = b.Tag as ICardInfo; this.DialogResult = DialogResult.OK; } }
private SimpleButtonEx CreateDrawerButton(string text, string tag) { SimpleButtonEx button = new SimpleButtonEx(); button.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, FontStyle.Bold); button.Click += new EventHandler(button_Click); button.DialogResult = DialogResult.OK; button.Size = new Size(270, 50); button.Margin = new Padding(10); button.Text = text; button.Tag = tag; button.Name = tag; // Set for automation purposes return(button); }
private Control CreateVariantButton(string text, string tag) { SimpleButtonEx button = new SimpleButtonEx(); button.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); button.Appearance.Options.UseFont = true; button.Click += new EventHandler(OnVariantButton_Click); button.Size = DEFAULTVARIANTSIZE; button.Text = string.IsNullOrWhiteSpace(text) ? tag : text; // If the description field is empty, use the ID field button.Tag = tag; button.Visible = false; button.Name = tag; // Set for automation purposes return(button); }
private void newButton(int buttonId, string descr) { button[buttonId] = new SimpleButtonEx(); button[buttonId].Anchor = AnchorStyles.Left | AnchorStyles.Right; button[buttonId].Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); button[buttonId].Name = descr; button[buttonId].Size = new System.Drawing.Size(120, 60); button[buttonId].TabIndex = buttonId; button[buttonId].DialogResult = DialogResult.OK; button[buttonId].Text = descr; //Click event button[buttonId].Click += new EventHandler(ClickHandler); // We use a two column TableLayoutPanel for layout. Calculate which row and column to insert button into. // // Header // B0 B1 // B2 B3 // ... // Cancel // // Row is offset by 1 to account for the header label row zero. int row = 1 + (buttonId / this.tableLayoutPanel1.ColumnCount); int column = buttonId % this.tableLayoutPanel1.ColumnCount; // Insert new row when the column is zero if (column == 0) { this.tableLayoutPanel2.RowStyles.Insert(this.tableLayoutPanel2.RowCount - 1, new System.Windows.Forms.RowStyle()); this.tableLayoutPanel2.RowCount++; } // Add button to cell in layout panel this.tableLayoutPanel2.Controls.Add(button[buttonId], column, row); }
protected override void OnLoad(EventArgs e) { if (!this.DesignMode) { if (!allowCancel) { // Cancel is not allowed - card must be selected btnCancel.Visible = false; } if (Cards != null) { Size defaultSize = new Size(152, 52); panCards.AutoSize = true; // Add buttons for each card-type foreach (ICardInfo c in Cards) { SimpleButtonEx b = new SimpleButtonEx() { Tag = c, Text = string.IsNullOrWhiteSpace(c.CardName) ? c.CardTypeId : c.CardName, Anchor = AnchorStyles.None, Size = defaultSize }; b.Click -= new EventHandler(OnCardTypeClick); b.Click += new EventHandler(OnCardTypeClick); this.panCards.Controls.Add(b); } } TranslateLabels(); } base.OnLoad(e); }
/// <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(frmPurchaseOrderReceiptSearch)); this.styleController = new DevExpress.XtraEditors.StyleController(this.components); this.xtraGridBlending1 = new DevExpress.XtraGrid.Blending.XtraGridBlending(); this.basePanel = new DevExpress.XtraEditors.PanelControl(); this.tableLayoutPanel6 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel8 = new System.Windows.Forms.TableLayoutPanel(); this.btnPgDown = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnClose = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnDown = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnSelect = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnRefresh = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnUp = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnPgUp = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.tableLayoutPanel7 = new System.Windows.Forms.TableLayoutPanel(); this.grReceipts = new DevExpress.XtraGrid.GridControl(); this.grdView = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colOrderType = new DevExpress.XtraGrid.Columns.GridColumn(); this.colPoNumber = new DevExpress.XtraGrid.Columns.GridColumn(); this.colStatus = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.txtKeyboardInput = new DevExpress.XtraEditors.TextEdit(); this.btnSearch = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnClear = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.lblHeading = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.styleController)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.basePanel)).BeginInit(); this.tableLayoutPanel6.SuspendLayout(); this.tableLayoutPanel8.SuspendLayout(); this.tableLayoutPanel7.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grReceipts)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grdView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); this.tableLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // // basePanel // this.basePanel.Controls.Add(this.tableLayoutPanel6); this.basePanel.Dock = System.Windows.Forms.DockStyle.Fill; this.basePanel.Location = new System.Drawing.Point(0, 0); this.basePanel.Margin = new System.Windows.Forms.Padding(0); this.basePanel.Name = "basePanel"; this.basePanel.Size = new System.Drawing.Size(1024, 768); this.basePanel.TabIndex = 8; // // tableLayoutPanel6 // this.tableLayoutPanel6.ColumnCount = 1; this.tableLayoutPanel6.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel6.Controls.Add(this.tableLayoutPanel8, 0, 3); this.tableLayoutPanel6.Controls.Add(this.tableLayoutPanel7, 0, 2); this.tableLayoutPanel6.Controls.Add(this.tableLayoutPanel1, 0, 1); this.tableLayoutPanel6.Controls.Add(this.lblHeading, 0, 0); this.tableLayoutPanel6.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel6.Location = new System.Drawing.Point(2, 2); this.tableLayoutPanel6.Margin = new System.Windows.Forms.Padding(0); this.tableLayoutPanel6.Name = "tableLayoutPanel6"; this.tableLayoutPanel6.Padding = new System.Windows.Forms.Padding(26, 40, 26, 11); this.tableLayoutPanel6.RowCount = 4; this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel6.Size = new System.Drawing.Size(1020, 764); this.tableLayoutPanel6.TabIndex = 9; // // tableLayoutPanel8 // this.tableLayoutPanel8.ColumnCount = 9; this.tableLayoutPanel8.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel8.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel8.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel8.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel8.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel8.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel8.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel8.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel8.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel8.Controls.Add(this.btnPgDown, 8, 0); this.tableLayoutPanel8.Controls.Add(this.btnClose, 5, 0); this.tableLayoutPanel8.Controls.Add(this.btnDown, 7, 0); this.tableLayoutPanel8.Controls.Add(this.btnSelect, 3, 0); this.tableLayoutPanel8.Controls.Add(this.btnRefresh, 4, 0); this.tableLayoutPanel8.Controls.Add(this.btnUp, 1, 0); this.tableLayoutPanel8.Controls.Add(this.btnPgUp, 0, 0); this.tableLayoutPanel8.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel8.Location = new System.Drawing.Point(26, 688); this.tableLayoutPanel8.Margin = new System.Windows.Forms.Padding(0, 11, 0, 0); this.tableLayoutPanel8.Name = "tableLayoutPanel8"; this.tableLayoutPanel8.RowCount = 1; this.tableLayoutPanel8.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel8.Size = new System.Drawing.Size(968, 65); this.tableLayoutPanel8.TabIndex = 10; // // btnPgDown // this.btnPgDown.Anchor = System.Windows.Forms.AnchorStyles.Left; this.btnPgDown.Appearance.Font = new System.Drawing.Font("Wingdings", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2))); this.btnPgDown.Appearance.Options.UseFont = true; this.btnPgDown.Image = ((System.Drawing.Image)(resources.GetObject("btnPgDown.Image"))); this.btnPgDown.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnPgDown.Location = new System.Drawing.Point(899, 3); this.btnPgDown.Name = "btnPgDown"; this.btnPgDown.Size = new System.Drawing.Size(65, 59); this.btnPgDown.TabIndex = 16; this.btnPgDown.Text = "Ê"; this.btnPgDown.Click += new System.EventHandler(this.btnPgDown_Click); // // btnClose // this.btnClose.Anchor = System.Windows.Forms.AnchorStyles.Left; this.btnClose.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnClose.Appearance.Options.UseFont = true; this.btnClose.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnClose.Location = new System.Drawing.Point(549, 4); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(127, 57); this.btnClose.TabIndex = 14; this.btnClose.Tag = ""; this.btnClose.Text = "Close"; // // btnDown // this.btnDown.Anchor = System.Windows.Forms.AnchorStyles.Right; this.btnDown.Appearance.Font = new System.Drawing.Font("Wingdings", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2))); this.btnDown.Appearance.Options.UseFont = true; this.btnDown.Image = ((System.Drawing.Image)(resources.GetObject("btnDown.Image"))); this.btnDown.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnDown.Location = new System.Drawing.Point(828, 3); this.btnDown.Name = "btnDown"; this.btnDown.Size = new System.Drawing.Size(65, 59); this.btnDown.TabIndex = 15; this.btnDown.Text = "ò"; this.btnDown.Click += new System.EventHandler(this.btnDown_Click); // // btnSelect // this.btnSelect.Anchor = System.Windows.Forms.AnchorStyles.Right; this.btnSelect.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold); this.btnSelect.Appearance.Options.UseFont = true; this.btnSelect.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnSelect.Location = new System.Drawing.Point(283, 4); this.btnSelect.Name = "btnSelect"; this.btnSelect.Size = new System.Drawing.Size(127, 57); this.btnSelect.TabIndex = 12; this.btnSelect.Tag = ""; this.btnSelect.Text = "Select"; this.btnSelect.Click += new System.EventHandler(this.btnSelect_Click); // // btnRefresh // this.btnRefresh.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnRefresh.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnRefresh.Appearance.Options.UseFont = true; this.btnRefresh.Location = new System.Drawing.Point(416, 4); this.btnRefresh.Name = "btnRefresh"; this.btnRefresh.Size = new System.Drawing.Size(127, 57); this.btnRefresh.TabIndex = 13; this.btnRefresh.Tag = ""; this.btnRefresh.Text = "Refresh"; this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click); // // btnUp // this.btnUp.Anchor = System.Windows.Forms.AnchorStyles.Left; this.btnUp.Appearance.Font = new System.Drawing.Font("Wingdings", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2))); this.btnUp.Appearance.Options.UseFont = true; this.btnUp.Image = ((System.Drawing.Image)(resources.GetObject("btnUp.Image"))); this.btnUp.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnUp.Location = new System.Drawing.Point(66, 3); this.btnUp.Name = "btnUp"; this.btnUp.Size = new System.Drawing.Size(65, 59); this.btnUp.TabIndex = 11; this.btnUp.Text = "ñ"; this.btnUp.Click += new System.EventHandler(this.btnUp_Click); // // btnPgUp // this.btnPgUp.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnPgUp.Appearance.Font = new System.Drawing.Font("Wingdings", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2))); this.btnPgUp.Appearance.Options.UseFont = true; this.btnPgUp.Image = ((System.Drawing.Image)(resources.GetObject("btnPgUp.Image"))); this.btnPgUp.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnPgUp.Location = new System.Drawing.Point(3, 4); this.btnPgUp.Name = "btnPgUp"; this.btnPgUp.Padding = new System.Windows.Forms.Padding(0); this.btnPgUp.Size = new System.Drawing.Size(57, 57); this.btnPgUp.TabIndex = 10; this.btnPgUp.Text = "Ç"; this.btnPgUp.Click += new System.EventHandler(this.btnPgUp_Click); // // tableLayoutPanel7 // this.tableLayoutPanel7.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.tableLayoutPanel7.ColumnCount = 1; this.tableLayoutPanel7.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel7.Controls.Add(this.grReceipts, 0, 0); this.tableLayoutPanel7.Location = new System.Drawing.Point(29, 182); this.tableLayoutPanel7.Name = "tableLayoutPanel7"; this.tableLayoutPanel7.RowCount = 1; this.tableLayoutPanel7.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 38.95131F)); this.tableLayoutPanel7.Size = new System.Drawing.Size(962, 492); this.tableLayoutPanel7.TabIndex = 14; // // grReceipts // this.grReceipts.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.grReceipts.Dock = System.Windows.Forms.DockStyle.Fill; this.grReceipts.Location = new System.Drawing.Point(3, 3); this.grReceipts.MainView = this.grdView; this.grReceipts.Name = "grReceipts"; this.grReceipts.Size = new System.Drawing.Size(956, 486); this.grReceipts.TabIndex = 20; this.grReceipts.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.grdView, this.gridView1 }); this.grReceipts.KeyDown += new System.Windows.Forms.KeyEventHandler(this.grItems_KeyDown); // // grdView // this.grdView.Appearance.HeaderPanel.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.grdView.Appearance.HeaderPanel.Options.UseFont = true; this.grdView.Appearance.Row.Font = new System.Drawing.Font("Segoe UI", 10F); this.grdView.Appearance.Row.Options.UseFont = true; this.grdView.ColumnPanelRowHeight = 40; this.grdView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colOrderType, this.colPoNumber, this.colStatus }); this.grdView.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.None; this.grdView.GridControl = this.grReceipts; this.grdView.HorzScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Never; this.grdView.Name = "grdView"; this.grdView.OptionsBehavior.Editable = false; this.grdView.OptionsCustomization.AllowFilter = false; this.grdView.OptionsSelection.EnableAppearanceFocusedCell = false; this.grdView.OptionsView.ShowGroupPanel = false; this.grdView.OptionsView.ShowIndicator = false; this.grdView.RowHeight = 40; this.grdView.ScrollStyle = DevExpress.XtraGrid.Views.Grid.ScrollStyleFlags.None; this.grdView.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.Default; this.grdView.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colPoNumber, DevExpress.Data.ColumnSortOrder.Ascending) }); this.grdView.VertScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Never; this.grdView.FocusedColumnChanged += new DevExpress.XtraGrid.Views.Base.FocusedColumnChangedEventHandler(this.gridView1_FocusedColumnChanged); this.grdView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.grItems_KeyDown); this.grdView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.grdView_MouseDown); this.grdView.DoubleClick += new System.EventHandler(this.gridView1_DoubleClick); // // colOrderType // this.colOrderType.AppearanceCell.Options.UseTextOptions = true; this.colOrderType.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.colOrderType.AppearanceHeader.Options.UseTextOptions = true; this.colOrderType.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.colOrderType.Caption = "Order type"; this.colOrderType.FieldName = "ORDERTYPE"; this.colOrderType.Name = "colOrderType"; this.colOrderType.OptionsColumn.AllowEdit = false; this.colOrderType.Visible = true; this.colOrderType.VisibleIndex = 0; // // colPoNumber // this.colPoNumber.Caption = "Order number"; this.colPoNumber.FieldName = "PONUMBER"; this.colPoNumber.Name = "colPoNumber"; this.colPoNumber.OptionsColumn.AllowEdit = false; this.colPoNumber.Visible = true; this.colPoNumber.VisibleIndex = 1; // // colStatus // this.colStatus.AppearanceCell.Options.UseTextOptions = true; this.colStatus.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.colStatus.AppearanceHeader.Options.UseTextOptions = true; this.colStatus.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.colStatus.Caption = "Status"; this.colStatus.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom; this.colStatus.FieldName = "STATUS"; this.colStatus.Name = "colStatus"; this.colStatus.OptionsColumn.AllowEdit = false; this.colStatus.Visible = true; this.colStatus.VisibleIndex = 2; // // gridView1 // this.gridView1.GridControl = this.grReceipts; this.gridView1.Name = "gridView1"; // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 3; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.Controls.Add(this.txtKeyboardInput, 0, 0); this.tableLayoutPanel1.Controls.Add(this.btnSearch, 1, 0); this.tableLayoutPanel1.Controls.Add(this.btnClear, 2, 0); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Top; this.tableLayoutPanel1.Location = new System.Drawing.Point(29, 138); this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(3, 3, 5, 3); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 1; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(960, 38); this.tableLayoutPanel1.TabIndex = 13; // // txtKeyboardInput // this.txtKeyboardInput.Anchor = System.Windows.Forms.AnchorStyles.None; this.txtKeyboardInput.Location = new System.Drawing.Point(3, 9); this.txtKeyboardInput.Name = "txtKeyboardInput"; this.txtKeyboardInput.Size = new System.Drawing.Size(828, 20); this.txtKeyboardInput.TabIndex = 1; this.txtKeyboardInput.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtKeyboardInput_KeyDown); // // btnSearch // this.btnSearch.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnSearch.Image = ((System.Drawing.Image)(resources.GetObject("btnSearch.Image"))); this.btnSearch.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnSearch.Location = new System.Drawing.Point(837, 3); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(57, 32); this.btnSearch.TabIndex = 2; this.btnSearch.Text = "Search"; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // btnClear // this.btnClear.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnClear.Appearance.Font = new System.Drawing.Font("Wingdings", 21.75F); this.btnClear.Appearance.Options.UseFont = true; this.btnClear.Image = ((System.Drawing.Image)(resources.GetObject("btnClear.Image"))); this.btnClear.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnClear.Location = new System.Drawing.Point(900, 3); this.btnClear.Name = "btnClear"; this.btnClear.Size = new System.Drawing.Size(57, 32); this.btnClear.TabIndex = 3; this.btnClear.Text = "û"; this.btnClear.Click += new System.EventHandler(this.btnClear_Click); // // lblHeading // this.lblHeading.Anchor = System.Windows.Forms.AnchorStyles.None; this.lblHeading.AutoSize = true; this.lblHeading.Font = new System.Drawing.Font("Segoe UI Light", 36F); this.lblHeading.Location = new System.Drawing.Point(284, 40); this.lblHeading.Margin = new System.Windows.Forms.Padding(0); this.lblHeading.Name = "lblHeading"; this.lblHeading.Padding = new System.Windows.Forms.Padding(0, 0, 0, 30); this.lblHeading.Size = new System.Drawing.Size(452, 95); this.lblHeading.TabIndex = 18; this.lblHeading.Tag = ""; this.lblHeading.Text = "Picking and receiving"; this.lblHeading.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // frmPurchaseOrderReceiptSearch // this.ClientSize = new System.Drawing.Size(1024, 768); this.Controls.Add(this.basePanel); this.LookAndFeel.SkinName = "Money Twins"; this.Name = "frmPurchaseOrderReceiptSearch"; this.Controls.SetChildIndex(this.basePanel, 0); ((System.ComponentModel.ISupportInitialize)(this.styleController)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.basePanel)).EndInit(); this.tableLayoutPanel6.ResumeLayout(false); this.tableLayoutPanel6.PerformLayout(); this.tableLayoutPanel8.ResumeLayout(false); this.tableLayoutPanel7.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grReceipts)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grdView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); this.tableLayoutPanel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.panelBase = new DevExpress.XtraEditors.PanelControl(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.flowLayoutPanel = new System.Windows.Forms.FlowLayoutPanel(); this.labelAmountDue = new System.Windows.Forms.Label(); this.labelAmountDueValue = new System.Windows.Forms.Label(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.numCashNumpad = new LSRetailPosis.POSProcesses.WinControls.NumPad(); this.panelAmount = new DevExpress.XtraEditors.PanelControl(); this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel(); this.lblPayAmt = new System.Windows.Forms.Label(); this.amtCashAmounts = new LSRetailPosis.POSProcesses.WinControls.AmountViewer(); this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); this.btnCancel = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnOK = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); ((System.ComponentModel.ISupportInitialize)(this.styleController)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelBase)).BeginInit(); this.panelBase.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); this.flowLayoutPanel.SuspendLayout(); this.tableLayoutPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelAmount)).BeginInit(); this.panelAmount.SuspendLayout(); this.tableLayoutPanel4.SuspendLayout(); this.tableLayoutPanel3.SuspendLayout(); this.SuspendLayout(); // // panelBase // this.panelBase.Controls.Add(this.tableLayoutPanel1); this.panelBase.Dock = System.Windows.Forms.DockStyle.Fill; this.panelBase.Location = new System.Drawing.Point(0, 0); this.panelBase.Name = "panelBase"; this.panelBase.Size = new System.Drawing.Size(944, 767); this.panelBase.TabIndex = 10; // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 1; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel, 0, 0); this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 1); this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel3, 0, 2); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(2, 2); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.Padding = new System.Windows.Forms.Padding(30, 40, 30, 11); this.tableLayoutPanel1.RowCount = 3; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.Size = new System.Drawing.Size(940, 763); this.tableLayoutPanel1.TabIndex = 10; // // flowLayoutPanel // this.flowLayoutPanel.Anchor = System.Windows.Forms.AnchorStyles.None; this.flowLayoutPanel.AutoSize = true; this.tableLayoutPanel1.SetColumnSpan(this.flowLayoutPanel, 3); this.flowLayoutPanel.Controls.Add(this.labelAmountDue); this.flowLayoutPanel.Controls.Add(this.labelAmountDueValue); this.flowLayoutPanel.Location = new System.Drawing.Point(201, 43); this.flowLayoutPanel.Name = "flowLayoutPanel"; this.flowLayoutPanel.Size = new System.Drawing.Size(537, 95); this.flowLayoutPanel.TabIndex = 22; // // labelAmountDue // this.labelAmountDue.Anchor = System.Windows.Forms.AnchorStyles.None; this.labelAmountDue.AutoSize = true; this.labelAmountDue.Font = new System.Drawing.Font("Segoe UI Light", 36F); this.labelAmountDue.Location = new System.Drawing.Point(0, 0); this.labelAmountDue.Margin = new System.Windows.Forms.Padding(0); this.labelAmountDue.Name = "labelAmountDue"; this.labelAmountDue.Padding = new System.Windows.Forms.Padding(0, 0, 0, 30); this.labelAmountDue.Size = new System.Drawing.Size(398, 95); this.labelAmountDue.TabIndex = 0; this.labelAmountDue.Tag = ""; this.labelAmountDue.Text = "Total amount due:"; // // labelAmountDueValue // this.labelAmountDueValue.Anchor = System.Windows.Forms.AnchorStyles.None; this.labelAmountDueValue.AutoSize = true; this.labelAmountDueValue.Font = new System.Drawing.Font("Segoe UI Light", 36F); this.labelAmountDueValue.Location = new System.Drawing.Point(398, 0); this.labelAmountDueValue.Margin = new System.Windows.Forms.Padding(0); this.labelAmountDueValue.Name = "labelAmountDueValue"; this.labelAmountDueValue.Padding = new System.Windows.Forms.Padding(0, 0, 0, 30); this.labelAmountDueValue.Size = new System.Drawing.Size(139, 95); this.labelAmountDueValue.TabIndex = 1; this.labelAmountDueValue.Text = "$0.00"; // // tableLayoutPanel2 // this.tableLayoutPanel2.Anchor = System.Windows.Forms.AnchorStyles.None; this.tableLayoutPanel2.ColumnCount = 2; this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel2.Controls.Add(this.numCashNumpad, 0, 1); this.tableLayoutPanel2.Controls.Add(this.panelAmount, 1, 1); this.tableLayoutPanel2.Location = new System.Drawing.Point(182, 205); this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.RowCount = 2; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel2.Size = new System.Drawing.Size(576, 412); this.tableLayoutPanel2.TabIndex = 10; // // numCashNumpad // this.numCashNumpad.Anchor = System.Windows.Forms.AnchorStyles.Top; this.numCashNumpad.Appearance.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.numCashNumpad.Appearance.Options.UseFont = true; this.numCashNumpad.AutoSize = true; this.numCashNumpad.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.numCashNumpad.CurrencyCode = null; this.numCashNumpad.EnteredQuantity = new decimal(new int[] { 0, 0, 0, 0 }); this.numCashNumpad.EnteredValue = ""; this.numCashNumpad.EntryType = Microsoft.Dynamics.Retail.Pos.Contracts.UI.NumpadEntryTypes.Price; this.numCashNumpad.Location = new System.Drawing.Point(20, 53); this.numCashNumpad.MaskChar = ""; this.numCashNumpad.MaskInterval = 0; this.numCashNumpad.MaxNumberOfDigits = 9; this.numCashNumpad.MinimumSize = new System.Drawing.Size(248, 314); this.numCashNumpad.Name = "numCashNumpad"; this.numCashNumpad.NegativeMode = false; this.numCashNumpad.NoOfTries = 0; this.numCashNumpad.NumberOfDecimals = 2; this.numCashNumpad.Padding = new System.Windows.Forms.Padding(0, 10, 0, 0); this.numCashNumpad.PromptText = null; this.numCashNumpad.ShortcutKeysActive = false; this.numCashNumpad.Size = new System.Drawing.Size(248, 314); this.numCashNumpad.TabIndex = 8; this.numCashNumpad.TimerEnabled = true; this.numCashNumpad.EnterButtonPressed += new LSRetailPosis.POSProcesses.WinControls.NumPad.enterbuttonDelegate(this.numPad1_EnterButtonPressed); // // panelAmount // this.panelAmount.Anchor = System.Windows.Forms.AnchorStyles.Top; this.panelAmount.Controls.Add(this.tableLayoutPanel4); this.panelAmount.Location = new System.Drawing.Point(344, 50); this.panelAmount.Margin = new System.Windows.Forms.Padding(0); this.panelAmount.Name = "panelAmount"; this.panelAmount.Size = new System.Drawing.Size(176, 317); this.panelAmount.TabIndex = 16; // // tableLayoutPanel4 // this.tableLayoutPanel4.ColumnCount = 1; this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel4.Controls.Add(this.lblPayAmt, 0, 0); this.tableLayoutPanel4.Controls.Add(this.amtCashAmounts, 0, 1); this.tableLayoutPanel4.Location = new System.Drawing.Point(2, 2); this.tableLayoutPanel4.Margin = new System.Windows.Forms.Padding(3, 14, 3, 3); this.tableLayoutPanel4.Name = "tableLayoutPanel4"; this.tableLayoutPanel4.RowCount = 2; this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel4.Size = new System.Drawing.Size(172, 310); this.tableLayoutPanel4.TabIndex = 1; // // lblPayAmt // this.lblPayAmt.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.lblPayAmt.AutoSize = true; this.lblPayAmt.Font = new System.Drawing.Font("Segoe UI", 14.25F); this.lblPayAmt.Location = new System.Drawing.Point(30, 0); this.lblPayAmt.Margin = new System.Windows.Forms.Padding(3, 0, 3, 5); this.lblPayAmt.Name = "lblPayAmt"; this.lblPayAmt.Size = new System.Drawing.Size(112, 25); this.lblPayAmt.TabIndex = 10; this.lblPayAmt.Text = "Pay amount"; // // amtCashAmounts // this.amtCashAmounts.CurrencyRate = new decimal(new int[] { 0, 0, 0, 0 }); this.amtCashAmounts.Dock = System.Windows.Forms.DockStyle.Fill; this.amtCashAmounts.ForeignCurrencyMode = false; this.amtCashAmounts.HighestOptionAmount = new decimal(new int[] { 0, 0, 0, 0 }); this.amtCashAmounts.IncludeRefAmount = true; this.amtCashAmounts.LocalCurrencyCode = ""; this.amtCashAmounts.Location = new System.Drawing.Point(0, 30); this.amtCashAmounts.LowesetOptionAmount = new decimal(new int[] { 0, 0, 0, 0 }); this.amtCashAmounts.Margin = new System.Windows.Forms.Padding(0, 0, 0, 0); this.amtCashAmounts.Name = "amtCashAmounts"; this.amtCashAmounts.OptionsLimit = 5; this.amtCashAmounts.Orientation = System.Windows.Forms.Orientation.Vertical; this.amtCashAmounts.ShowBorder = false; this.amtCashAmounts.Size = new System.Drawing.Size(172, 280); this.amtCashAmounts.TabIndex = 9; this.amtCashAmounts.UsedCurrencyCode = ""; this.amtCashAmounts.ViewOption = LSRetailPosis.POSProcesses.WinControls.AmountViewer.ViewOptions.HigherAmounts; this.amtCashAmounts.AmountChanged += new LSRetailPosis.POSProcesses.WinControls.AmountViewer.OutputChanged(this.amountViewer1_AmountChanged); // // tableLayoutPanel3 // this.tableLayoutPanel3.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.tableLayoutPanel3.ColumnCount = 2; this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel3.Controls.Add(this.btnCancel, 0, 0); this.tableLayoutPanel3.Controls.Add(this.btnOK, 0, 0); this.tableLayoutPanel3.Location = new System.Drawing.Point(33, 684); this.tableLayoutPanel3.Name = "tableLayoutPanel3"; this.tableLayoutPanel3.RowCount = 1; this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel3.Size = new System.Drawing.Size(874, 65); this.tableLayoutPanel3.TabIndex = 21; // // btnCancel // this.btnCancel.Anchor = System.Windows.Forms.AnchorStyles.Left; this.btnCancel.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnCancel.Appearance.Options.UseFont = true; this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(441, 4); this.btnCancel.Margin = new System.Windows.Forms.Padding(4); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(127, 57); this.btnCancel.TabIndex = 6; this.btnCancel.Text = "Cancel"; // // btnOK // this.btnOK.Anchor = System.Windows.Forms.AnchorStyles.Right; this.btnOK.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnOK.Appearance.Options.UseFont = true; this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnOK.Location = new System.Drawing.Point(306, 4); this.btnOK.Margin = new System.Windows.Forms.Padding(4); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(127, 57); this.btnOK.TabIndex = 5; this.btnOK.Text = "OK"; this.btnOK.Click += new System.EventHandler(this.btnOk_Click); // // frmPayCash // this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(944, 767); this.Controls.Add(this.panelBase); this.LookAndFeel.SkinName = "Money Twins"; this.Name = "frmPayCash"; this.Controls.SetChildIndex(this.panelBase, 0); ((System.ComponentModel.ISupportInitialize)(this.styleController)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelBase)).EndInit(); this.panelBase.ResumeLayout(false); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); this.flowLayoutPanel.ResumeLayout(false); this.flowLayoutPanel.PerformLayout(); this.tableLayoutPanel2.ResumeLayout(false); this.tableLayoutPanel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelAmount)).EndInit(); this.panelAmount.ResumeLayout(false); this.tableLayoutPanel4.ResumeLayout(false); this.tableLayoutPanel4.PerformLayout(); this.tableLayoutPanel3.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.lblPrompt = new System.Windows.Forms.Label(); this.cancelButton = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); ((System.ComponentModel.ISupportInitialize)(this.styleController)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); this.panelControl1.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // // panelControl1 // this.panelControl1.AutoSize = true; this.panelControl1.Controls.Add(this.tableLayoutPanel1); this.panelControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.panelControl1.Location = new System.Drawing.Point(0, 0); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(717, 501); this.panelControl1.TabIndex = 0; // // tableLayoutPanel1 // this.tableLayoutPanel1.AutoSize = true; this.tableLayoutPanel1.ColumnCount = 2; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 1); this.tableLayoutPanel1.Controls.Add(this.lblPrompt, 0, 0); this.tableLayoutPanel1.Controls.Add(this.cancelButton, 0, 2); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(2, 2); this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.Padding = new System.Windows.Forms.Padding(30, 40, 30, 11); this.tableLayoutPanel1.RowCount = 3; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.Size = new System.Drawing.Size(713, 497); this.tableLayoutPanel1.TabIndex = 0; // // tableLayoutPanel2 // this.tableLayoutPanel2.Anchor = System.Windows.Forms.AnchorStyles.None; this.tableLayoutPanel2.AutoSize = true; this.tableLayoutPanel2.ColumnCount = 2; this.tableLayoutPanel1.SetColumnSpan(this.tableLayoutPanel2, 2); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel2.Location = new System.Drawing.Point(356, 274); this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.RowCount = 1; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel2.Size = new System.Drawing.Size(0, 0); this.tableLayoutPanel2.TabIndex = 2; // // lblPrompt // this.lblPrompt.Anchor = System.Windows.Forms.AnchorStyles.Top; this.lblPrompt.AutoSize = true; this.tableLayoutPanel1.SetColumnSpan(this.lblPrompt, 2); this.lblPrompt.Font = new System.Drawing.Font("Segoe UI Light", 36F); this.lblPrompt.Location = new System.Drawing.Point(250, 40); this.lblPrompt.Margin = new System.Windows.Forms.Padding(0, 0, 0, 30); this.lblPrompt.Name = "lblPrompt"; this.lblPrompt.Size = new System.Drawing.Size(213, 65); this.lblPrompt.TabIndex = 0; this.lblPrompt.Text = "InfoCode"; this.lblPrompt.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // cancelButton // this.cancelButton.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.cancelButton.Appearance.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cancelButton.Appearance.Options.UseFont = true; this.tableLayoutPanel1.SetColumnSpan(this.cancelButton, 2); this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.No; this.cancelButton.Location = new System.Drawing.Point(293, 425); this.cancelButton.Margin = new System.Windows.Forms.Padding(4, 11, 4, 4); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size(127, 57); this.cancelButton.TabIndex = 1; this.cancelButton.Text = "Cancel"; this.cancelButton.Visible = false; // // FormInfoSubCode // this.AutoSize = true; this.ClientSize = new System.Drawing.Size(717, 501); this.Controls.Add(this.panelControl1); this.LookAndFeel.SkinName = "Money Twins"; this.Name = "FormInfoSubCode"; this.Controls.SetChildIndex(this.panelControl1, 0); ((System.ComponentModel.ISupportInitialize)(this.styleController)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); this.panelControl1.ResumeLayout(false); this.panelControl1.PerformLayout(); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmStockCountJournals)); this.basePanel = new DevExpress.XtraEditors.PanelControl(); this.tableLayoutPanel6 = new System.Windows.Forms.TableLayoutPanel(); this.lblHeading = new System.Windows.Forms.Label(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel8 = new System.Windows.Forms.TableLayoutPanel(); this.btnPgDown = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnClose = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnDown = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnUp = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnRefresh = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnPgUp = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnSelect = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnCreate = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.tableLayoutPanel7 = new System.Windows.Forms.TableLayoutPanel(); this.grJournals = new DevExpress.XtraGrid.GridControl(); this.grdView = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colJournalId = new DevExpress.XtraGrid.Columns.GridColumn(); this.colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.txtKeyboardInput = new DevExpress.XtraEditors.TextEdit(); this.btnSearch = new DevExpress.XtraEditors.SimpleButton(); this.btnClear = new DevExpress.XtraEditors.SimpleButton(); ((System.ComponentModel.ISupportInitialize)(this.styleController)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.basePanel)).BeginInit(); this.basePanel.SuspendLayout(); this.tableLayoutPanel6.SuspendLayout(); this.tableLayoutPanel2.SuspendLayout(); this.tableLayoutPanel8.SuspendLayout(); this.tableLayoutPanel7.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grJournals)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grdView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); this.tableLayoutPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtKeyboardInput.Properties)).BeginInit(); this.SuspendLayout(); // // basePanel // this.basePanel.Controls.Add(this.tableLayoutPanel6); this.basePanel.Dock = System.Windows.Forms.DockStyle.Fill; this.basePanel.Location = new System.Drawing.Point(0, 0); this.basePanel.Margin = new System.Windows.Forms.Padding(0); this.basePanel.Name = "basePanel"; this.basePanel.Size = new System.Drawing.Size(1024, 768); this.basePanel.TabIndex = 8; // // tableLayoutPanel6 // this.tableLayoutPanel6.ColumnCount = 1; this.tableLayoutPanel6.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel6.Controls.Add(this.lblHeading, 0, 0); this.tableLayoutPanel6.Controls.Add(this.tableLayoutPanel2, 0, 3); this.tableLayoutPanel6.Controls.Add(this.tableLayoutPanel7, 0, 2); this.tableLayoutPanel6.Controls.Add(this.tableLayoutPanel1, 0, 1); this.tableLayoutPanel6.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel6.Location = new System.Drawing.Point(2, 2); this.tableLayoutPanel6.Margin = new System.Windows.Forms.Padding(0); this.tableLayoutPanel6.Name = "tableLayoutPanel6"; this.tableLayoutPanel6.Padding = new System.Windows.Forms.Padding(26, 40, 26, 11); this.tableLayoutPanel6.RowCount = 4; this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel6.Size = new System.Drawing.Size(1020, 764); this.tableLayoutPanel6.TabIndex = 9; // // lblHeading // this.lblHeading.Anchor = System.Windows.Forms.AnchorStyles.None; this.lblHeading.AutoSize = true; this.lblHeading.Font = new System.Drawing.Font("Segoe UI Light", 48F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblHeading.Location = new System.Drawing.Point(222, 40); this.lblHeading.Margin = new System.Windows.Forms.Padding(0); this.lblHeading.Name = "lblHeading"; this.lblHeading.Padding = new System.Windows.Forms.Padding(0, 0, 0, 30); this.lblHeading.Size = new System.Drawing.Size(575, 116); this.lblHeading.TabIndex = 17; this.lblHeading.Text = "Stock count journals"; this.lblHeading.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // tableLayoutPanel2 // this.tableLayoutPanel2.AutoSize = true; this.tableLayoutPanel2.ColumnCount = 3; this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); this.tableLayoutPanel2.Controls.Add(this.tableLayoutPanel8, 0, 0); this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel2.Location = new System.Drawing.Point(26, 677); this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(0); this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.RowCount = 1; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel2.Size = new System.Drawing.Size(968, 76); this.tableLayoutPanel2.TabIndex = 15; // // tableLayoutPanel8 // this.tableLayoutPanel8.ColumnCount = 10; this.tableLayoutPanel2.SetColumnSpan(this.tableLayoutPanel8, 3); this.tableLayoutPanel8.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel8.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel8.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel8.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel8.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel8.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel8.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel8.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel8.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel8.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel8.Controls.Add(this.btnPgDown, 9, 0); this.tableLayoutPanel8.Controls.Add(this.btnClose, 6, 0); this.tableLayoutPanel8.Controls.Add(this.btnDown, 8, 0); this.tableLayoutPanel8.Controls.Add(this.btnUp, 1, 0); this.tableLayoutPanel8.Controls.Add(this.btnRefresh, 5, 0); this.tableLayoutPanel8.Controls.Add(this.btnPgUp, 0, 0); this.tableLayoutPanel8.Controls.Add(this.btnSelect, 4, 0); this.tableLayoutPanel8.Controls.Add(this.btnCreate, 3, 0); this.tableLayoutPanel8.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel8.Location = new System.Drawing.Point(0, 11); this.tableLayoutPanel8.Margin = new System.Windows.Forms.Padding(0, 11, 0, 0); this.tableLayoutPanel8.Name = "tableLayoutPanel8"; this.tableLayoutPanel8.RowCount = 1; this.tableLayoutPanel8.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel8.Size = new System.Drawing.Size(968, 65); this.tableLayoutPanel8.TabIndex = 9; // // btnPgDown // this.btnPgDown.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnPgDown.Appearance.Font = new System.Drawing.Font("Wingdings", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2))); this.btnPgDown.Appearance.Options.UseFont = true; this.btnPgDown.Image = ((System.Drawing.Image)(resources.GetObject("btnPgDown.Image"))); this.btnPgDown.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnPgDown.Location = new System.Drawing.Point(907, 4); this.btnPgDown.Margin = new System.Windows.Forms.Padding(4); this.btnPgDown.Name = "btnPgDown"; this.btnPgDown.Size = new System.Drawing.Size(57, 57); this.btnPgDown.TabIndex = 17; this.btnPgDown.Text = "Ê"; this.btnPgDown.Click += new System.EventHandler(this.btnPgDown_Click); // // btnClose // this.btnClose.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnClose.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnClose.Appearance.Options.UseFont = true; this.btnClose.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnClose.Location = new System.Drawing.Point(623, 4); this.btnClose.Margin = new System.Windows.Forms.Padding(4); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(127, 57); this.btnClose.TabIndex = 16; this.btnClose.Text = "Close"; // // btnDown // this.btnDown.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnDown.Appearance.Font = new System.Drawing.Font("Wingdings", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2))); this.btnDown.Appearance.Options.UseFont = true; this.btnDown.Image = ((System.Drawing.Image)(resources.GetObject("btnDown.Image"))); this.btnDown.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnDown.Location = new System.Drawing.Point(842, 4); this.btnDown.Margin = new System.Windows.Forms.Padding(4); this.btnDown.Name = "btnDown"; this.btnDown.Size = new System.Drawing.Size(57, 57); this.btnDown.TabIndex = 16; this.btnDown.Text = "ò"; this.btnDown.Click += new System.EventHandler(this.btnDown_Click); // // btnUp // this.btnUp.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnUp.Appearance.Font = new System.Drawing.Font("Wingdings", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2))); this.btnUp.Appearance.Options.UseFont = true; this.btnUp.Image = ((System.Drawing.Image)(resources.GetObject("btnUp.Image"))); this.btnUp.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnUp.Location = new System.Drawing.Point(69, 4); this.btnUp.Margin = new System.Windows.Forms.Padding(4); this.btnUp.Name = "btnUp"; this.btnUp.Size = new System.Drawing.Size(57, 57); this.btnUp.TabIndex = 11; this.btnUp.Text = "ñ"; this.btnUp.Click += new System.EventHandler(this.btnUp_Click); // // btnRefresh // this.btnRefresh.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnRefresh.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnRefresh.Appearance.Options.UseFont = true; this.btnRefresh.Location = new System.Drawing.Point(488, 4); this.btnRefresh.Margin = new System.Windows.Forms.Padding(4); this.btnRefresh.Name = "btnRefresh"; this.btnRefresh.Size = new System.Drawing.Size(127, 57); this.btnRefresh.TabIndex = 15; this.btnRefresh.Text = "Refresh"; this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click); // // btnPgUp // this.btnPgUp.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnPgUp.Appearance.Font = new System.Drawing.Font("Wingdings", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2))); this.btnPgUp.Appearance.Options.UseFont = true; this.btnPgUp.Image = ((System.Drawing.Image)(resources.GetObject("btnPgUp.Image"))); this.btnPgUp.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnPgUp.Location = new System.Drawing.Point(4, 4); this.btnPgUp.Margin = new System.Windows.Forms.Padding(4); this.btnPgUp.Name = "btnPgUp"; this.btnPgUp.Size = new System.Drawing.Size(57, 57); this.btnPgUp.TabIndex = 10; this.btnPgUp.Text = "Ç"; this.btnPgUp.Click += new System.EventHandler(this.btnPgUp_Click); // // btnSelect // this.btnSelect.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnSelect.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold); this.btnSelect.Appearance.Options.UseFont = true; this.btnSelect.Location = new System.Drawing.Point(353, 4); this.btnSelect.Margin = new System.Windows.Forms.Padding(4); this.btnSelect.Name = "btnSelect"; this.btnSelect.Size = new System.Drawing.Size(127, 57); this.btnSelect.TabIndex = 13; this.btnSelect.Text = "Select"; this.btnSelect.Click += new System.EventHandler(this.btnSelect_Click); // // btnCreate // this.btnCreate.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnCreate.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnCreate.Appearance.Options.UseFont = true; this.btnCreate.Location = new System.Drawing.Point(218, 4); this.btnCreate.Margin = new System.Windows.Forms.Padding(4); this.btnCreate.Name = "btnCreate"; this.btnCreate.Size = new System.Drawing.Size(127, 57); this.btnCreate.TabIndex = 14; this.btnCreate.Text = "Create"; this.btnCreate.Click += new System.EventHandler(this.btnCreate_Click); // // tableLayoutPanel7 // this.tableLayoutPanel7.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.tableLayoutPanel7.ColumnCount = 1; this.tableLayoutPanel7.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel7.Controls.Add(this.grJournals, 0, 0); this.tableLayoutPanel7.Location = new System.Drawing.Point(26, 193); this.tableLayoutPanel7.Margin = new System.Windows.Forms.Padding(0); this.tableLayoutPanel7.Name = "tableLayoutPanel7"; this.tableLayoutPanel7.RowCount = 1; this.tableLayoutPanel7.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 38.95131F)); this.tableLayoutPanel7.Size = new System.Drawing.Size(968, 484); this.tableLayoutPanel7.TabIndex = 14; // // grJournals // this.grJournals.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.grJournals.Dock = System.Windows.Forms.DockStyle.Fill; this.grJournals.Location = new System.Drawing.Point(4, 4); this.grJournals.MainView = this.grdView; this.grJournals.Margin = new System.Windows.Forms.Padding(4); this.grJournals.Name = "grJournals"; this.grJournals.Size = new System.Drawing.Size(960, 476); this.grJournals.TabIndex = 20; this.grJournals.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.grdView, this.gridView1 }); // // grdView // this.grdView.Appearance.HeaderPanel.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.grdView.Appearance.HeaderPanel.Options.UseFont = true; this.grdView.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 12F); this.grdView.Appearance.Row.Options.UseFont = true; this.grdView.ColumnPanelRowHeight = 40; this.grdView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colJournalId, this.colDescription }); this.grdView.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.None; this.grdView.GridControl = this.grJournals; this.grdView.HorzScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Never; this.grdView.Name = "grdView"; this.grdView.OptionsBehavior.Editable = false; this.grdView.OptionsCustomization.AllowFilter = false; this.grdView.OptionsSelection.EnableAppearanceFocusedCell = false; this.grdView.OptionsView.ShowGroupPanel = false; this.grdView.OptionsView.ShowIndicator = false; this.grdView.RowHeight = 40; this.grdView.ScrollStyle = DevExpress.XtraGrid.Views.Grid.ScrollStyleFlags.None; this.grdView.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.Default; this.grdView.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colJournalId, DevExpress.Data.ColumnSortOrder.Ascending) }); this.grdView.VertScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Never; this.grdView.DoubleClick += new System.EventHandler(this.gridView1_DoubleClick); // // colJournalId // this.colJournalId.FieldName = "JOURNALID"; this.colJournalId.Name = "colJournalId"; this.colJournalId.OptionsColumn.AllowEdit = false; this.colJournalId.Visible = true; this.colJournalId.VisibleIndex = 0; // // colDescription // this.colDescription.FieldName = "DESCRIPTION"; this.colDescription.Name = "colDescription"; this.colDescription.Visible = true; this.colDescription.VisibleIndex = 1; // // gridView1 // this.gridView1.GridControl = this.grJournals; this.gridView1.Name = "gridView1"; // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 3; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.Controls.Add(this.txtKeyboardInput, 0, 0); this.tableLayoutPanel1.Controls.Add(this.btnSearch, 1, 0); this.tableLayoutPanel1.Controls.Add(this.btnClear, 2, 0); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Top; this.tableLayoutPanel1.Location = new System.Drawing.Point(26, 156); this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 1; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(968, 37); this.tableLayoutPanel1.TabIndex = 13; // // txtKeyboardInput // this.txtKeyboardInput.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.txtKeyboardInput.Location = new System.Drawing.Point(3, 3); this.txtKeyboardInput.Name = "txtKeyboardInput"; this.txtKeyboardInput.Properties.Appearance.BackColor = System.Drawing.Color.White; this.txtKeyboardInput.Properties.Appearance.Font = new System.Drawing.Font("Segoe UI", 14F); this.txtKeyboardInput.Properties.Appearance.ForeColor = System.Drawing.Color.Black; this.txtKeyboardInput.Properties.Appearance.Options.UseBackColor = true; this.txtKeyboardInput.Properties.Appearance.Options.UseFont = true; this.txtKeyboardInput.Properties.Appearance.Options.UseForeColor = true; this.txtKeyboardInput.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple; this.txtKeyboardInput.Size = new System.Drawing.Size(832, 32); this.txtKeyboardInput.TabIndex = 1; // // btnSearch // this.btnSearch.Dock = System.Windows.Forms.DockStyle.Top; this.btnSearch.Image = ((System.Drawing.Image)(resources.GetObject("btnSearch.Image"))); this.btnSearch.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnSearch.Location = new System.Drawing.Point(842, 4); this.btnSearch.Margin = new System.Windows.Forms.Padding(4); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(57, 29); this.btnSearch.TabIndex = 2; this.btnSearch.Text = "Search"; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // btnClear // this.btnClear.Image = ((System.Drawing.Image)(resources.GetObject("btnClear.Image"))); this.btnClear.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnClear.Location = new System.Drawing.Point(907, 4); this.btnClear.Margin = new System.Windows.Forms.Padding(4); this.btnClear.Name = "btnClear"; this.btnClear.Size = new System.Drawing.Size(57, 29); this.btnClear.TabIndex = 3; this.btnClear.Text = "Clear"; this.btnClear.Click += new System.EventHandler(this.btnClear_Click); // // frmStockCountJournals // this.ClientSize = new System.Drawing.Size(1024, 768); this.Controls.Add(this.basePanel); this.LookAndFeel.SkinName = "Money Twins"; this.Name = "frmStockCountJournals"; this.Controls.SetChildIndex(this.basePanel, 0); ((System.ComponentModel.ISupportInitialize)(this.styleController)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.basePanel)).EndInit(); this.basePanel.ResumeLayout(false); this.tableLayoutPanel6.ResumeLayout(false); this.tableLayoutPanel6.PerformLayout(); this.tableLayoutPanel2.ResumeLayout(false); this.tableLayoutPanel8.ResumeLayout(false); this.tableLayoutPanel7.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grJournals)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grdView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); this.tableLayoutPanel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.txtKeyboardInput.Properties)).EndInit(); this.ResumeLayout(false); }
/// <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(FormInfoCodeSubCodeList)); this.styleController = new DevExpress.XtraEditors.StyleController(this.components); this.grItems = new DevExpress.XtraGrid.GridControl(); this.grdView = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); this.colPrice = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSubcodeId = new DevExpress.XtraGrid.Columns.GridColumn(); this.colTriggerFunction = new DevExpress.XtraGrid.Columns.GridColumn(); this.colTriggerCode = new DevExpress.XtraGrid.Columns.GridColumn(); this.colPriceType = new DevExpress.XtraGrid.Columns.GridColumn(); this.colAmountPercent = new DevExpress.XtraGrid.Columns.GridColumn(); this.btnPgUp = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnPgDown = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnSelect = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.basePanel = new DevExpress.XtraEditors.PanelControl(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.lblPrompt = new System.Windows.Forms.Label(); this.btnUp = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnDown = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.btnClear = new DevExpress.XtraEditors.SimpleButton(); this.btnSearch = new DevExpress.XtraEditors.SimpleButton(); this.textBox = new DevExpress.XtraEditors.TextEdit(); this.btnCancel = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); ((System.ComponentModel.ISupportInitialize)(this.styleController)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grItems)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grdView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.basePanel)).BeginInit(); this.tableLayoutPanel1.SuspendLayout(); this.tableLayoutPanel2.SuspendLayout(); this.SuspendLayout(); // // grItems // this.grItems.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.grItems.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.tableLayoutPanel1.SetColumnSpan(this.grItems, 8); this.grItems.Location = new System.Drawing.Point(29, 175); this.grItems.MainView = this.grdView; this.grItems.Name = "grItems"; this.grItems.Size = new System.Drawing.Size(962, 499); this.grItems.TabIndex = 0; this.grItems.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.grdView }); // // grdView // this.grdView.Appearance.HeaderPanel.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); this.grdView.Appearance.HeaderPanel.Options.UseFont = true; this.grdView.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 12F); this.grdView.ColumnPanelRowHeight = 40; this.grdView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colDescription, this.colPrice, this.colSubcodeId, this.colTriggerFunction, this.colTriggerCode, this.colPriceType, this.colAmountPercent }); this.grdView.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.None; this.grdView.GridControl = this.grItems; this.grdView.HorzScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Never; this.grdView.Name = "grdView"; this.grdView.OptionsBehavior.Editable = false; this.grdView.OptionsCustomization.AllowFilter = false; this.grdView.OptionsSelection.EnableAppearanceFocusedCell = false; this.grdView.OptionsSelection.EnableAppearanceHideSelection = false; this.grdView.OptionsView.ShowGroupPanel = false; this.grdView.OptionsView.ShowIndicator = false; this.grdView.RowHeight = 40; this.grdView.ScrollStyle = DevExpress.XtraGrid.Views.Grid.ScrollStyleFlags.None; this.grdView.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.Default; this.grdView.VertScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Never; this.grdView.Click += new System.EventHandler(this.grdView_Click); this.grdView.DoubleClick += new System.EventHandler(this.gridView1_DoubleClick); // // colDescription // this.colDescription.AppearanceCell.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.colDescription.AppearanceCell.Options.UseFont = true; this.colDescription.AppearanceHeader.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.colDescription.AppearanceHeader.Options.UseFont = true; this.colDescription.Caption = "Description"; this.colDescription.FieldName = "DESCRIPTION"; this.colDescription.Name = "colDescription"; this.colDescription.OptionsColumn.AllowEdit = false; this.colDescription.Visible = true; this.colDescription.VisibleIndex = 0; this.colDescription.Width = 350; // // colPrice // this.colPrice.AppearanceCell.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.colPrice.AppearanceCell.Options.UseFont = true; this.colPrice.AppearanceHeader.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.colPrice.AppearanceHeader.Options.UseFont = true; this.colPrice.Caption = "Price"; this.colPrice.FieldName = "PRICE"; this.colPrice.Name = "colPrice"; this.colPrice.Visible = true; this.colPrice.VisibleIndex = 1; this.colPrice.Width = 365; // // colSubcodeId // this.colSubcodeId.Caption = "SubCodeId"; this.colSubcodeId.FieldName = "SUBCODEID"; this.colSubcodeId.Name = "colSubcodeId"; // // colTriggerFunction // this.colTriggerFunction.Caption = "TriggerFunction"; this.colTriggerFunction.FieldName = "TRIGGERFUNCTION"; this.colTriggerFunction.Name = "colTriggerFunction"; // // colTriggerCode // this.colTriggerCode.Caption = "TriggerCode"; this.colTriggerCode.FieldName = "TRIGGERCODE"; this.colTriggerCode.Name = "colTriggerCode"; // // colPriceType // this.colPriceType.Caption = "PriceType"; this.colPriceType.FieldName = "PRICETYPE"; this.colPriceType.Name = "colPriceType"; // // colAmountPercent // this.colAmountPercent.Caption = "AmountPercent"; this.colAmountPercent.FieldName = "AMOUNTPERCENT"; this.colAmountPercent.Name = "colAmountPercent"; // // btnPgUp // this.btnPgUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.btnPgUp.Appearance.Font = new System.Drawing.Font("Wingdings", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2))); this.btnPgUp.Appearance.Options.UseFont = true; this.btnPgUp.Image = ((System.Drawing.Image)(resources.GetObject("btnPgUp.Image"))); this.btnPgUp.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnPgUp.Location = new System.Drawing.Point(30, 690); this.btnPgUp.Margin = new System.Windows.Forms.Padding(4, 11, 4, 4); this.btnPgUp.Name = "btnPgUp"; this.btnPgUp.Padding = new System.Windows.Forms.Padding(0); this.btnPgUp.Size = new System.Drawing.Size(57, 57); this.btnPgUp.TabIndex = 14; this.btnPgUp.Tag = ""; this.btnPgUp.Text = "Ç"; this.btnPgUp.Click += new System.EventHandler(this.btnUp_Click); // // btnPgDown // this.btnPgDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.btnPgDown.Appearance.Font = new System.Drawing.Font("Wingdings", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2))); this.btnPgDown.Appearance.Options.UseFont = true; this.btnPgDown.Image = ((System.Drawing.Image)(resources.GetObject("btnPgDown.Image"))); this.btnPgDown.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnPgDown.Location = new System.Drawing.Point(925, 688); this.btnPgDown.Margin = new System.Windows.Forms.Padding(4, 11, 4, 4); this.btnPgDown.Name = "btnPgDown"; this.btnPgDown.Size = new System.Drawing.Size(65, 61); this.btnPgDown.TabIndex = 19; this.btnPgDown.Tag = ""; this.btnPgDown.Text = "Ê"; this.btnPgDown.Click += new System.EventHandler(this.btnDown_Click); // // btnSelect // this.btnSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.btnSelect.Appearance.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSelect.Appearance.Options.UseFont = true; this.btnSelect.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnSelect.Location = new System.Drawing.Point(375, 690); this.btnSelect.Margin = new System.Windows.Forms.Padding(4, 11, 4, 4); this.btnSelect.Name = "btnSelect"; this.btnSelect.Size = new System.Drawing.Size(127, 57); this.btnSelect.TabIndex = 16; this.btnSelect.Tag = "BtnNormal"; this.btnSelect.Text = "Select"; this.btnSelect.Click += new System.EventHandler(this.btnSelect_Click); // // basePanel // this.basePanel.Controls.Add(this.tableLayoutPanel1); this.basePanel.Dock = System.Windows.Forms.DockStyle.Fill; this.basePanel.Location = new System.Drawing.Point(0, 0); this.basePanel.Name = "basePanel"; this.basePanel.Size = new System.Drawing.Size(1024, 768); this.basePanel.TabIndex = 0; // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 8; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.Controls.Add(this.lblPrompt, 0, 0); this.tableLayoutPanel1.Controls.Add(this.btnPgUp, 0, 3); this.tableLayoutPanel1.Controls.Add(this.btnUp, 1, 3); this.tableLayoutPanel1.Controls.Add(this.grItems, 0, 2); this.tableLayoutPanel1.Controls.Add(this.btnPgDown, 7, 3); this.tableLayoutPanel1.Controls.Add(this.btnDown, 6, 3); this.tableLayoutPanel1.Controls.Add(this.btnSelect, 3, 3); this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 1); this.tableLayoutPanel1.Controls.Add(this.btnCancel, 4, 3); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(2, 2); this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.Padding = new System.Windows.Forms.Padding(26, 40, 26, 11); this.tableLayoutPanel1.RowCount = 4; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.Size = new System.Drawing.Size(1020, 764); this.tableLayoutPanel1.TabIndex = 0; // // lblPrompt // this.lblPrompt.Anchor = System.Windows.Forms.AnchorStyles.None; this.lblPrompt.AutoSize = true; this.tableLayoutPanel1.SetColumnSpan(this.lblPrompt, 8); this.lblPrompt.Font = new System.Drawing.Font("Segoe UI Light", 36F); this.lblPrompt.Location = new System.Drawing.Point(442, 40); this.lblPrompt.Margin = new System.Windows.Forms.Padding(0, 0, 0, 30); this.lblPrompt.Name = "lblPrompt"; this.lblPrompt.Size = new System.Drawing.Size(135, 65); this.lblPrompt.TabIndex = 7; this.lblPrompt.Text = "Label"; // // btnUp // this.btnUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.btnUp.Appearance.Font = new System.Drawing.Font("Wingdings", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2))); this.btnUp.Appearance.Options.UseFont = true; this.btnUp.Image = ((System.Drawing.Image)(resources.GetObject("btnUp.Image"))); this.btnUp.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnUp.Location = new System.Drawing.Point(95, 688); this.btnUp.Margin = new System.Windows.Forms.Padding(4, 11, 4, 4); this.btnUp.Name = "btnUp"; this.btnUp.Size = new System.Drawing.Size(65, 61); this.btnUp.TabIndex = 15; this.btnUp.Tag = ""; this.btnUp.Text = "ñ"; this.btnUp.Click += new System.EventHandler(this.btnUp_Click_1); // // btnDown // this.btnDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.btnDown.Appearance.Font = new System.Drawing.Font("Wingdings", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2))); this.btnDown.Appearance.Options.UseFont = true; this.btnDown.Image = ((System.Drawing.Image)(resources.GetObject("btnDown.Image"))); this.btnDown.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnDown.Location = new System.Drawing.Point(852, 688); this.btnDown.Margin = new System.Windows.Forms.Padding(4, 11, 4, 4); this.btnDown.Name = "btnDown"; this.btnDown.Size = new System.Drawing.Size(65, 61); this.btnDown.TabIndex = 18; this.btnDown.Tag = ""; this.btnDown.Text = "ò"; this.btnDown.Click += new System.EventHandler(this.btnDown_Click_1); // // tableLayoutPanel2 // this.tableLayoutPanel2.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.tableLayoutPanel2.ColumnCount = 3; this.tableLayoutPanel1.SetColumnSpan(this.tableLayoutPanel2, 8); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel2.Controls.Add(this.btnClear, 0, 0); this.tableLayoutPanel2.Controls.Add(this.btnSearch, 0, 0); this.tableLayoutPanel2.Controls.Add(this.textBox, 0, 0); this.tableLayoutPanel2.Location = new System.Drawing.Point(26, 135); this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(0); this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.RowCount = 1; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.Size = new System.Drawing.Size(968, 37); this.tableLayoutPanel2.TabIndex = 15; // // btnClear // this.btnClear.Image = ((System.Drawing.Image)(resources.GetObject("btnClear.Image"))); this.btnClear.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnClear.Location = new System.Drawing.Point(908, 3); this.btnClear.Name = "btnClear"; this.btnClear.Size = new System.Drawing.Size(57, 31); this.btnClear.TabIndex = 13; this.btnClear.Text = "Clear"; this.btnClear.Click += new System.EventHandler(this.btnClear_Click); // // btnSearch // this.btnSearch.Dock = System.Windows.Forms.DockStyle.Top; this.btnSearch.Image = ((System.Drawing.Image)(resources.GetObject("btnSearch.Image"))); this.btnSearch.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnSearch.Location = new System.Drawing.Point(845, 3); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(57, 31); this.btnSearch.TabIndex = 12; this.btnSearch.Text = "Search"; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // textBox // this.textBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.textBox.Location = new System.Drawing.Point(3, 3); this.textBox.Name = "textBox"; this.textBox.Size = new System.Drawing.Size(836, 20); this.textBox.TabIndex = 9; this.textBox.TextChanged += new System.EventHandler(this.textBox_TextChanged); this.textBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.InfocodeKeyDown_KeyDown); // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.Appearance.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnCancel.Appearance.Options.UseFont = true; this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.No; this.btnCancel.Location = new System.Drawing.Point(510, 690); this.btnCancel.Margin = new System.Windows.Forms.Padding(4, 11, 4, 4); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(127, 57); this.btnCancel.TabIndex = 17; this.btnCancel.Text = "Cancel"; // // simpleButton1 // this.simpleButton1.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.simpleButton1.Location = new System.Drawing.Point(965, 3); this.simpleButton1.Margin = new System.Windows.Forms.Padding(5, 3, 3, 3); this.simpleButton1.Name = "simpleButton1"; this.simpleButton1.Size = new System.Drawing.Size(50, 30); this.simpleButton1.TabIndex = 12; this.simpleButton1.Text = "Clear"; // // FormInfoCodeSubCodeList // this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(1024, 768); this.Controls.Add(this.basePanel); this.LookAndFeel.SkinName = "Money Twins"; this.Name = "FormInfoCodeSubCodeList"; this.Controls.SetChildIndex(this.basePanel, 0); ((System.ComponentModel.ISupportInitialize)(this.styleController)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grItems)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grdView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.basePanel)).EndInit(); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); this.tableLayoutPanel2.ResumeLayout(false); this.ResumeLayout(false); }
/// <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.panelControl1 = new DevExpress.XtraEditors.PanelControl(); this.layPriceInfo = new DevExpress.XtraLayout.LayoutControl(); this.lblCustomerName = new System.Windows.Forms.Label(); this.lblItemDescription = new System.Windows.Forms.Label(); this.lblItemId = new System.Windows.Forms.Label(); this.lblPrice = new System.Windows.Forms.Label(); this.lblCustomerId = new System.Windows.Forms.Label(); this.layoutCGItemInfo = new DevExpress.XtraLayout.LayoutControlGroup(); this.layItem = new DevExpress.XtraLayout.LayoutControlGroup(); this.layItemId = new DevExpress.XtraLayout.LayoutControlItem(); this.layItemDescription = new DevExpress.XtraLayout.LayoutControlItem(); this.layPrice = new DevExpress.XtraLayout.LayoutControlItem(); this.layCustomerInfo = new DevExpress.XtraLayout.LayoutControlGroup(); this.layCustomerId = new DevExpress.XtraLayout.LayoutControlItem(); this.layCustomerName = new DevExpress.XtraLayout.LayoutControlItem(); this.numPad1 = new LSRetailPosis.POSProcesses.WinControls.NumPad(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.clockTimer = new System.Windows.Forms.Timer(this.components); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.btnSearch = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnSellItem = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnClose = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.labelHeading = new System.Windows.Forms.Label(); this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); ((System.ComponentModel.ISupportInitialize)(this.styleController)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); this.panelControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.layPriceInfo)).BeginInit(); this.layPriceInfo.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.layoutCGItemInfo)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layItem)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layItemId)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layItemDescription)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layPrice)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layCustomerInfo)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layCustomerId)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layCustomerName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); this.tableLayoutPanel2.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); this.panelControl2.SuspendLayout(); this.SuspendLayout(); // // panelControl1 // this.panelControl1.Anchor = System.Windows.Forms.AnchorStyles.None; this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControl1.Controls.Add(this.layPriceInfo); this.panelControl1.Controls.Add(this.numPad1); this.panelControl1.Location = new System.Drawing.Point(100, 182); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(828, 340); this.panelControl1.TabIndex = 0; // // layPriceInfo // this.layPriceInfo.AllowCustomizationMenu = false; this.layPriceInfo.Controls.Add(this.lblCustomerName); this.layPriceInfo.Controls.Add(this.lblItemDescription); this.layPriceInfo.Controls.Add(this.lblItemId); this.layPriceInfo.Controls.Add(this.lblPrice); this.layPriceInfo.Controls.Add(this.lblCustomerId); this.layPriceInfo.Font = new System.Drawing.Font("Segoe UI", 10F); this.layPriceInfo.Location = new System.Drawing.Point(3, 3); this.layPriceInfo.Name = "layPriceInfo"; this.layPriceInfo.OptionsView.UseDefaultDragAndDropRendering = false; this.layPriceInfo.Root = this.layoutCGItemInfo; this.layPriceInfo.Size = new System.Drawing.Size(558, 329); this.layPriceInfo.TabIndex = 0; this.layPriceInfo.TabStop = false; this.layPriceInfo.Text = "layoutControl2"; // // lblCustomerName // this.lblCustomerName.Font = new System.Drawing.Font("Segoe UI", 10F); this.lblCustomerName.Location = new System.Drawing.Point(125, 264); this.lblCustomerName.Name = "lblCustomerName"; this.lblCustomerName.Size = new System.Drawing.Size(409, 41); this.lblCustomerName.TabIndex = 4; this.lblCustomerName.Text = "lblCustomerName"; this.lblCustomerName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblItemDescription // this.lblItemDescription.Font = new System.Drawing.Font("Segoe UI", 10F); this.lblItemDescription.Location = new System.Drawing.Point(125, 131); this.lblItemDescription.Name = "lblItemDescription"; this.lblItemDescription.Size = new System.Drawing.Size(409, 37); this.lblItemDescription.TabIndex = 2; this.lblItemDescription.Text = "lblItemDescription"; this.lblItemDescription.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblItemId // this.lblItemId.Font = new System.Drawing.Font("Segoe UI", 10F); this.lblItemId.Location = new System.Drawing.Point(125, 91); this.lblItemId.Name = "lblItemId"; this.lblItemId.Size = new System.Drawing.Size(409, 36); this.lblItemId.TabIndex = 1; this.lblItemId.Text = "lblItemId"; this.lblItemId.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblPrice // this.lblPrice.Font = new System.Drawing.Font("Segoe UI", 10F); this.lblPrice.Location = new System.Drawing.Point(125, 51); this.lblPrice.Name = "lblPrice"; this.lblPrice.Size = new System.Drawing.Size(409, 36); this.lblPrice.TabIndex = 0; this.lblPrice.Text = "lblPrice"; this.lblPrice.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblCustomerId // this.lblCustomerId.Font = new System.Drawing.Font("Segoe UI", 10F); this.lblCustomerId.Location = new System.Drawing.Point(125, 223); this.lblCustomerId.Name = "lblCustomerId"; this.lblCustomerId.Size = new System.Drawing.Size(409, 37); this.lblCustomerId.TabIndex = 3; this.lblCustomerId.Text = "lblCustomerId"; this.lblCustomerId.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // layoutCGItemInfo // this.layoutCGItemInfo.AppearanceGroup.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold); this.layoutCGItemInfo.AppearanceGroup.Options.UseFont = true; this.layoutCGItemInfo.AppearanceItemCaption.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold); this.layoutCGItemInfo.AppearanceItemCaption.Options.UseFont = true; this.layoutCGItemInfo.CustomizationFormText = "Price Info"; this.layoutCGItemInfo.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layItem, this.layCustomerInfo }); this.layoutCGItemInfo.Location = new System.Drawing.Point(0, 0); this.layoutCGItemInfo.Name = "layoutCGItemInfo"; this.layoutCGItemInfo.Size = new System.Drawing.Size(558, 329); this.layoutCGItemInfo.Text = "Price Info"; this.layoutCGItemInfo.TextVisible = false; // // layItem // this.layItem.AppearanceGroup.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold); this.layItem.AppearanceGroup.Options.UseFont = true; this.layItem.AppearanceItemCaption.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold); this.layItem.AppearanceItemCaption.Options.UseFont = true; this.layItem.CustomizationFormText = "Item"; this.layItem.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layItemId, this.layItemDescription, this.layPrice }); this.layItem.Location = new System.Drawing.Point(0, 0); this.layItem.Name = "layItem"; this.layItem.Size = new System.Drawing.Size(538, 172); this.layItem.Text = "Item"; // // layItemId // this.layItemId.AppearanceItemCaption.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.layItemId.AppearanceItemCaption.Options.UseFont = true; this.layItemId.Control = this.lblItemId; this.layItemId.CustomizationFormText = "Item Id"; this.layItemId.Location = new System.Drawing.Point(0, 40); this.layItemId.Name = "layItemId"; this.layItemId.Size = new System.Drawing.Size(514, 40); this.layItemId.Text = "Item ID:"; this.layItemId.TextSize = new System.Drawing.Size(97, 17); // // layItemDescription // this.layItemDescription.AppearanceItemCaption.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.layItemDescription.AppearanceItemCaption.Options.UseFont = true; this.layItemDescription.Control = this.lblItemDescription; this.layItemDescription.CustomizationFormText = "Item Description"; this.layItemDescription.Location = new System.Drawing.Point(0, 80); this.layItemDescription.Name = "layItemDescription"; this.layItemDescription.Size = new System.Drawing.Size(514, 41); this.layItemDescription.Text = "Item description:"; this.layItemDescription.TextSize = new System.Drawing.Size(97, 17); // // layPrice // this.layPrice.AppearanceItemCaption.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.layPrice.AppearanceItemCaption.Options.UseFont = true; this.layPrice.Control = this.lblPrice; this.layPrice.CustomizationFormText = "Price"; this.layPrice.Location = new System.Drawing.Point(0, 0); this.layPrice.Name = "layPrice"; this.layPrice.Size = new System.Drawing.Size(514, 40); this.layPrice.Text = "Price:"; this.layPrice.TextSize = new System.Drawing.Size(97, 17); // // layCustomerInfo // this.layCustomerInfo.AppearanceGroup.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold); this.layCustomerInfo.AppearanceGroup.Options.UseFont = true; this.layCustomerInfo.AppearanceItemCaption.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold); this.layCustomerInfo.AppearanceItemCaption.Options.UseFont = true; this.layCustomerInfo.CustomizationFormText = "Customer"; this.layCustomerInfo.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layCustomerId, this.layCustomerName }); this.layCustomerInfo.Location = new System.Drawing.Point(0, 172); this.layCustomerInfo.Name = "layCustomerInfo"; this.layCustomerInfo.Size = new System.Drawing.Size(538, 137); this.layCustomerInfo.Text = "Customer"; // // layCustomerId // this.layCustomerId.AppearanceItemCaption.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.layCustomerId.AppearanceItemCaption.Options.UseFont = true; this.layCustomerId.Control = this.lblCustomerId; this.layCustomerId.CustomizationFormText = "Customer Id"; this.layCustomerId.Location = new System.Drawing.Point(0, 0); this.layCustomerId.Name = "layCustomerId"; this.layCustomerId.Size = new System.Drawing.Size(514, 41); this.layCustomerId.Text = "Customer ID:"; this.layCustomerId.TextSize = new System.Drawing.Size(97, 17); // // layCustomerName // this.layCustomerName.AppearanceItemCaption.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.layCustomerName.AppearanceItemCaption.Options.UseFont = true; this.layCustomerName.Control = this.lblCustomerName; this.layCustomerName.CustomizationFormText = "Customer Name"; this.layCustomerName.Location = new System.Drawing.Point(0, 41); this.layCustomerName.Name = "layCustomerName"; this.layCustomerName.Size = new System.Drawing.Size(514, 45); this.layCustomerName.Text = "Customer name:"; this.layCustomerName.TextSize = new System.Drawing.Size(97, 17); // // numPad1 // this.numPad1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.numPad1.Appearance.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.numPad1.Appearance.Options.UseFont = true; this.numPad1.AutoSize = true; this.numPad1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.numPad1.CurrencyCode = null; this.numPad1.EnteredQuantity = new decimal(new int[] { 0, 0, 0, 0 }); this.numPad1.EnteredValue = ""; this.numPad1.Location = new System.Drawing.Point(577, 3); this.numPad1.MaskChar = ""; this.numPad1.MaskInterval = 0; this.numPad1.MaxNumberOfDigits = 20; this.numPad1.MinimumSize = new System.Drawing.Size(248, 314); this.numPad1.Name = "numPad1"; this.numPad1.NegativeMode = false; this.numPad1.NoOfTries = 0; this.numPad1.NumberOfDecimals = 2; this.numPad1.PromptText = null; this.numPad1.ShortcutKeysActive = false; this.numPad1.Size = new System.Drawing.Size(248, 314); this.numPad1.TabIndex = 1; this.numPad1.TimerEnabled = true; this.numPad1.EnterButtonPressed += new LSRetailPosis.POSProcesses.WinControls.NumPad.enterbuttonDelegate(this.numPad1_EnterButtonPressed); // // layoutControl1 // this.layoutControl1.Location = new System.Drawing.Point(0, 0); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.OptionsView.UseDefaultDragAndDropRendering = false; this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(180, 120); this.layoutControl1.TabIndex = 0; // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1"; this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "layoutControlGroup1"; this.layoutControlGroup1.Size = new System.Drawing.Size(180, 120); this.layoutControlGroup1.Text = "layoutControlGroup1"; // // clockTimer // this.clockTimer.Interval = 1000; this.clockTimer.Tick += new System.EventHandler(this.clockTimer_Tick); // // tableLayoutPanel2 // this.tableLayoutPanel2.ColumnCount = 1; this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.Controls.Add(this.tableLayoutPanel1, 0, 2); this.tableLayoutPanel2.Controls.Add(this.panelControl1, 0, 1); this.tableLayoutPanel2.Controls.Add(this.labelHeading, 0, 0); this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel2.Location = new System.Drawing.Point(2, 2); this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(0); this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.Padding = new System.Windows.Forms.Padding(30, 40, 30, 11); this.tableLayoutPanel2.RowCount = 3; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel2.Size = new System.Drawing.Size(1028, 651); this.tableLayoutPanel2.TabIndex = 1; // // tableLayoutPanel1 // this.tableLayoutPanel1.Anchor = System.Windows.Forms.AnchorStyles.None; this.tableLayoutPanel1.ColumnCount = 5; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.Controls.Add(this.btnSearch, 1, 0); this.tableLayoutPanel1.Controls.Add(this.btnSellItem, 2, 0); this.tableLayoutPanel1.Controls.Add(this.btnClose, 3, 0); this.tableLayoutPanel1.Location = new System.Drawing.Point(296, 572); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 1; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(435, 65); this.tableLayoutPanel1.TabIndex = 4; // // btnSearch // this.btnSearch.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnSearch.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSearch.Appearance.Options.UseFont = true; this.btnSearch.Location = new System.Drawing.Point(19, 4); this.btnSearch.Margin = new System.Windows.Forms.Padding(4); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(127, 57); this.btnSearch.TabIndex = 0; this.btnSearch.Tag = "BtnExtraLong"; this.btnSearch.Text = "Search"; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // btnSellItem // this.btnSellItem.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnSellItem.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSellItem.Appearance.Options.UseFont = true; this.btnSellItem.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnSellItem.Location = new System.Drawing.Point(154, 4); this.btnSellItem.Margin = new System.Windows.Forms.Padding(4); this.btnSellItem.Name = "btnSellItem"; this.btnSellItem.Size = new System.Drawing.Size(127, 57); this.btnSellItem.TabIndex = 1; this.btnSellItem.Tag = "BtnExtraLong"; this.btnSellItem.Text = "Sell Item"; // // btnClose // this.btnClose.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnClose.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnClose.Appearance.Options.UseFont = true; this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnClose.Location = new System.Drawing.Point(289, 4); this.btnClose.Margin = new System.Windows.Forms.Padding(4); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(127, 57); this.btnClose.TabIndex = 2; this.btnClose.Tag = "BtnExtraLong"; this.btnClose.Text = "Close"; // // labelHeading // this.labelHeading.Anchor = System.Windows.Forms.AnchorStyles.None; this.labelHeading.AutoSize = true; this.labelHeading.Font = new System.Drawing.Font("Segoe UI Light", 36F); this.labelHeading.Location = new System.Drawing.Point(388, 40); this.labelHeading.Margin = new System.Windows.Forms.Padding(0); this.labelHeading.Name = "labelHeading"; this.labelHeading.Padding = new System.Windows.Forms.Padding(0, 0, 0, 30); this.labelHeading.Size = new System.Drawing.Size(251, 95); this.labelHeading.TabIndex = 14; this.labelHeading.Tag = ""; this.labelHeading.Text = "Price check"; this.labelHeading.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panelControl2 // this.panelControl2.Controls.Add(this.tableLayoutPanel2); this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill; this.panelControl2.Location = new System.Drawing.Point(0, 0); this.panelControl2.Margin = new System.Windows.Forms.Padding(0); this.panelControl2.Name = "panelControl2"; this.panelControl2.Size = new System.Drawing.Size(1032, 655); this.panelControl2.TabIndex = 2; // // frmPriceCheck // this.ClientSize = new System.Drawing.Size(1032, 655); this.Controls.Add(this.panelControl2); this.LookAndFeel.SkinName = "Money Twins"; this.Name = "frmPriceCheck"; this.Text = "Price check"; this.Controls.SetChildIndex(this.panelControl2, 0); ((System.ComponentModel.ISupportInitialize)(this.styleController)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); this.panelControl1.ResumeLayout(false); this.panelControl1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.layPriceInfo)).EndInit(); this.layPriceInfo.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.layoutCGItemInfo)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layItem)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layItemId)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layItemDescription)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layPrice)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layCustomerInfo)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layCustomerId)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layCustomerName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); this.tableLayoutPanel2.ResumeLayout(false); this.tableLayoutPanel2.PerformLayout(); this.tableLayoutPanel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); this.panelControl2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmCustomerSearch)); this.grCustomers = new DevExpress.XtraGrid.GridControl(); this.grdView = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colAccountNum = new DevExpress.XtraGrid.Columns.GridColumn(); this.colName = new DevExpress.XtraGrid.Columns.GridColumn(); this.colAddress = new DevExpress.XtraGrid.Columns.GridColumn(); this.colOrgID = new DevExpress.XtraGrid.Columns.GridColumn(); this.colEmail = new DevExpress.XtraGrid.Columns.GridColumn(); this.colPhoneNumber = new DevExpress.XtraGrid.Columns.GridColumn(); this.basePanel = new DevExpress.XtraEditors.PanelControl(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.lblHeading = new System.Windows.Forms.Label(); this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel(); this.btnCancel = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnPgUp = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnUp = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnPgDown = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnDown = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnNew = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnSelect = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); this.btnSearch = new DevExpress.XtraEditors.SimpleButton(); this.btnClear = new DevExpress.XtraEditors.SimpleButton(); this.txtKeyboardInput = new DevExpress.XtraEditors.TextEdit(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); ((System.ComponentModel.ISupportInitialize)(this.styleController)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grCustomers)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grdView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.basePanel)).BeginInit(); this.basePanel.SuspendLayout(); this.tableLayoutPanel2.SuspendLayout(); this.tableLayoutPanel4.SuspendLayout(); this.tableLayoutPanel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtKeyboardInput.Properties)).BeginInit(); this.tableLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // // grCustomers // this.grCustomers.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.tableLayoutPanel1.SetColumnSpan(this.grCustomers, 9); this.grCustomers.Dock = System.Windows.Forms.DockStyle.Fill; this.grCustomers.Location = new System.Drawing.Point(0, 0); this.grCustomers.MainView = this.grdView; this.grCustomers.Margin = new System.Windows.Forms.Padding(0); this.grCustomers.Name = "grCustomers"; this.grCustomers.Size = new System.Drawing.Size(962, 492); this.grCustomers.TabIndex = 0; this.grCustomers.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.grdView }); this.grCustomers.KeyDown += new System.Windows.Forms.KeyEventHandler(this.grItems_KeyDown); // // grdView // this.grdView.Appearance.HeaderPanel.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold); this.grdView.Appearance.HeaderPanel.Options.UseFont = true; this.grdView.Appearance.Row.Font = new System.Drawing.Font("Segoe UI", 10F); this.grdView.Appearance.Row.Options.UseFont = true; this.grdView.ColumnPanelRowHeight = 40; this.grdView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colAccountNum, this.colName, this.colAddress, this.colOrgID, this.colEmail, this.colPhoneNumber }); this.grdView.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.None; this.grdView.GridControl = this.grCustomers; this.grdView.HorzScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Never; this.grdView.Name = "grdView"; this.grdView.OptionsBehavior.Editable = false; this.grdView.OptionsCustomization.AllowFilter = false; this.grdView.OptionsSelection.EnableAppearanceFocusedCell = false; this.grdView.OptionsView.ShowGroupPanel = false; this.grdView.OptionsView.ShowHorizontalLines = DevExpress.Utils.DefaultBoolean.True; this.grdView.OptionsView.ShowIndicator = false; this.grdView.OptionsView.ShowVerticalLines = DevExpress.Utils.DefaultBoolean.True; this.grdView.RowHeight = 40; this.grdView.ScrollStyle = DevExpress.XtraGrid.Views.Grid.ScrollStyleFlags.None; this.grdView.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.Default; this.grdView.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colName, DevExpress.Data.ColumnSortOrder.Ascending) }); this.grdView.VertScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Never; this.grdView.FocusedColumnChanged += new DevExpress.XtraGrid.Views.Base.FocusedColumnChangedEventHandler(this.gridView1_FocusedColumnChanged); this.grdView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.grItems_KeyDown); this.grdView.Click += new System.EventHandler(this.grdView_Click); this.grdView.DoubleClick += new System.EventHandler(this.gridView1_DoubleClick); // // colAccountNum // this.colAccountNum.Caption = "Customer ID"; this.colAccountNum.FieldName = "AccountNumber"; this.colAccountNum.Name = "colAccountNum"; this.colAccountNum.OptionsColumn.AllowEdit = false; this.colAccountNum.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.True; this.colAccountNum.SortMode = DevExpress.XtraGrid.ColumnSortMode.Custom; this.colAccountNum.Visible = true; this.colAccountNum.VisibleIndex = 0; this.colAccountNum.Width = 142; // // colName // this.colName.Caption = "Name"; this.colName.FieldName = "Name"; this.colName.Name = "colName"; this.colName.OptionsColumn.AllowEdit = false; this.colName.OptionsColumn.AllowIncrementalSearch = false; this.colName.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.colName.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.True; this.colName.SortMode = DevExpress.XtraGrid.ColumnSortMode.Custom; this.colName.Visible = true; this.colName.VisibleIndex = 1; this.colName.Width = 233; // // colAddress // this.colAddress.Caption = "Address"; this.colAddress.FieldName = "PrimaryStreetAddress"; this.colAddress.Name = "colAddress"; this.colAddress.OptionsColumn.AllowEdit = false; this.colAddress.OptionsColumn.AllowIncrementalSearch = false; this.colAddress.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.colAddress.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.colAddress.ShowUnboundExpressionMenu = true; this.colAddress.Visible = true; this.colAddress.VisibleIndex = 2; this.colAddress.Width = 291; // // colOrgID // this.colOrgID.Caption = "Org Id"; this.colOrgID.FieldName = "ORGID"; this.colOrgID.Name = "colOrgID"; this.colOrgID.OptionsColumn.AllowEdit = false; this.colOrgID.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.True; this.colOrgID.SortMode = DevExpress.XtraGrid.ColumnSortMode.Custom; this.colOrgID.Width = 127; // // colEmail // this.colEmail.Caption = "E-mail"; this.colEmail.FieldName = "Email"; this.colEmail.Name = "colEmail"; this.colEmail.OptionsColumn.AllowEdit = false; this.colEmail.OptionsColumn.AllowIncrementalSearch = false; this.colEmail.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.colEmail.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.colEmail.Visible = true; this.colEmail.VisibleIndex = 3; this.colEmail.Width = 167; // // colPhoneNumber // this.colPhoneNumber.Caption = "Phone number"; this.colPhoneNumber.FieldName = "Phone"; this.colPhoneNumber.Name = "colPhoneNumber"; this.colPhoneNumber.OptionsColumn.AllowEdit = false; this.colPhoneNumber.OptionsColumn.AllowIncrementalSearch = false; this.colPhoneNumber.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; this.colPhoneNumber.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.colPhoneNumber.Visible = true; this.colPhoneNumber.VisibleIndex = 4; this.colPhoneNumber.Width = 166; // // basePanel // this.basePanel.Controls.Add(this.tableLayoutPanel2); this.basePanel.Dock = System.Windows.Forms.DockStyle.Fill; this.basePanel.Location = new System.Drawing.Point(0, 0); this.basePanel.Name = "basePanel"; this.basePanel.Size = new System.Drawing.Size(1024, 768); this.basePanel.TabIndex = 1; // // tableLayoutPanel2 // this.tableLayoutPanel2.ColumnCount = 1; this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.Controls.Add(this.lblHeading, 0, 0); this.tableLayoutPanel2.Controls.Add(this.tableLayoutPanel4, 0, 3); this.tableLayoutPanel2.Controls.Add(this.tableLayoutPanel3, 0, 1); this.tableLayoutPanel2.Controls.Add(this.tableLayoutPanel1, 0, 2); this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel2.Location = new System.Drawing.Point(2, 2); this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(0); this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.Padding = new System.Windows.Forms.Padding(26, 40, 26, 11); this.tableLayoutPanel2.RowCount = 4; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel2.Size = new System.Drawing.Size(1020, 764); this.tableLayoutPanel2.TabIndex = 10; // // lblHeading // this.lblHeading.Anchor = System.Windows.Forms.AnchorStyles.None; this.lblHeading.AutoSize = true; this.lblHeading.Font = new System.Drawing.Font("Segoe UI Light", 36F); this.lblHeading.Location = new System.Drawing.Point(327, 40); this.lblHeading.Margin = new System.Windows.Forms.Padding(0); this.lblHeading.Name = "lblHeading"; this.lblHeading.Padding = new System.Windows.Forms.Padding(0, 0, 0, 30); this.lblHeading.Size = new System.Drawing.Size(366, 95); this.lblHeading.TabIndex = 41; this.lblHeading.Text = "Customer search"; this.lblHeading.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // tableLayoutPanel4 // this.tableLayoutPanel4.ColumnCount = 9; this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel4.Controls.Add(this.btnCancel, 5, 0); this.tableLayoutPanel4.Controls.Add(this.btnPgUp, 0, 0); this.tableLayoutPanel4.Controls.Add(this.btnUp, 1, 0); this.tableLayoutPanel4.Controls.Add(this.btnPgDown, 8, 0); this.tableLayoutPanel4.Controls.Add(this.btnDown, 7, 0); this.tableLayoutPanel4.Controls.Add(this.btnNew, 3, 0); this.tableLayoutPanel4.Controls.Add(this.btnSelect, 4, 0); this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel4.Location = new System.Drawing.Point(26, 687); this.tableLayoutPanel4.Margin = new System.Windows.Forms.Padding(0, 11, 0, 0); this.tableLayoutPanel4.Name = "tableLayoutPanel4"; this.tableLayoutPanel4.RowCount = 1; this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel4.Size = new System.Drawing.Size(968, 66); this.tableLayoutPanel4.TabIndex = 17; // // btnCancel // this.btnCancel.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnCancel.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold); this.btnCancel.Appearance.Options.UseFont = true; this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnCancel.Location = new System.Drawing.Point(555, 4); this.btnCancel.Margin = new System.Windows.Forms.Padding(4); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(127, 57); this.btnCancel.TabIndex = 14; this.btnCancel.Tag = ""; this.btnCancel.Text = "Cancel"; // // btnPgUp // this.btnPgUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.btnPgUp.Appearance.Font = new System.Drawing.Font("Wingdings", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2))); this.btnPgUp.Appearance.Options.UseFont = true; this.btnPgUp.Image = global::Microsoft.Dynamics.Retail.Pos.Customer.Properties.Resources.top; this.btnPgUp.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnPgUp.Location = new System.Drawing.Point(4, 4); this.btnPgUp.Margin = new System.Windows.Forms.Padding(4); this.btnPgUp.Name = "btnPgUp"; this.btnPgUp.Size = new System.Drawing.Size(57, 57); this.btnPgUp.TabIndex = 10; this.btnPgUp.Tag = ""; this.btnPgUp.Text = "Ç"; this.btnPgUp.Click += new System.EventHandler(this.btnPgUp_Click); // // btnUp // this.btnUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.btnUp.Appearance.Font = new System.Drawing.Font("Wingdings", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2))); this.btnUp.Appearance.Options.UseFont = true; this.btnUp.Image = global::Microsoft.Dynamics.Retail.Pos.Customer.Properties.Resources.up; this.btnUp.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnUp.Location = new System.Drawing.Point(69, 4); this.btnUp.Margin = new System.Windows.Forms.Padding(4); this.btnUp.Name = "btnUp"; this.btnUp.Size = new System.Drawing.Size(57, 57); this.btnUp.TabIndex = 11; this.btnUp.Tag = ""; this.btnUp.Text = "ñ"; this.btnUp.Click += new System.EventHandler(this.btnUp_Click); // // btnPgDown // this.btnPgDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.btnPgDown.Appearance.Font = new System.Drawing.Font("Wingdings", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2))); this.btnPgDown.Appearance.Options.UseFont = true; this.btnPgDown.Image = global::Microsoft.Dynamics.Retail.Pos.Customer.Properties.Resources.bottom; this.btnPgDown.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnPgDown.Location = new System.Drawing.Point(906, 4); this.btnPgDown.Margin = new System.Windows.Forms.Padding(4); this.btnPgDown.Name = "btnPgDown"; this.btnPgDown.Size = new System.Drawing.Size(58, 57); this.btnPgDown.TabIndex = 16; this.btnPgDown.Tag = ""; this.btnPgDown.Text = "Ê"; this.btnPgDown.Click += new System.EventHandler(this.btnPgDown_Click); // // btnDown // this.btnDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.btnDown.Appearance.Font = new System.Drawing.Font("Wingdings", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(2))); this.btnDown.Appearance.Options.UseFont = true; this.btnDown.Image = global::Microsoft.Dynamics.Retail.Pos.Customer.Properties.Resources.down; this.btnDown.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnDown.Location = new System.Drawing.Point(841, 4); this.btnDown.Margin = new System.Windows.Forms.Padding(4); this.btnDown.Name = "btnDown"; this.btnDown.Size = new System.Drawing.Size(57, 57); this.btnDown.TabIndex = 15; this.btnDown.Tag = ""; this.btnDown.Text = "ò"; this.btnDown.Click += new System.EventHandler(this.btnDown_Click); // // btnNew // this.btnNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.btnNew.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold); this.btnNew.Appearance.Options.UseFont = true; this.btnNew.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnNew.Location = new System.Drawing.Point(285, 4); this.btnNew.Margin = new System.Windows.Forms.Padding(4); this.btnNew.Name = "btnNew"; this.btnNew.Size = new System.Drawing.Size(127, 57); this.btnNew.TabIndex = 12; this.btnNew.Tag = ""; this.btnNew.Text = "New"; this.btnNew.Click += new System.EventHandler(this.btnNew_Click); // // btnSelect // this.btnSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.btnSelect.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold); this.btnSelect.Appearance.Options.UseFont = true; this.btnSelect.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnSelect.Location = new System.Drawing.Point(420, 4); this.btnSelect.Margin = new System.Windows.Forms.Padding(4); this.btnSelect.Name = "btnSelect"; this.btnSelect.Size = new System.Drawing.Size(127, 57); this.btnSelect.TabIndex = 13; this.btnSelect.Tag = ""; this.btnSelect.Text = "Select"; this.btnSelect.Click += new System.EventHandler(this.btnSelect_Click); // // tableLayoutPanel3 // this.tableLayoutPanel3.ColumnCount = 3; this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel3.Controls.Add(this.btnSearch, 1, 0); this.tableLayoutPanel3.Controls.Add(this.btnClear, 2, 0); this.tableLayoutPanel3.Controls.Add(this.txtKeyboardInput, 0, 0); this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel3.Location = new System.Drawing.Point(29, 138); this.tableLayoutPanel3.Name = "tableLayoutPanel3"; this.tableLayoutPanel3.RowCount = 1; this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel3.Size = new System.Drawing.Size(962, 37); this.tableLayoutPanel3.TabIndex = 9; // // btnSearch // this.btnSearch.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnSearch.Image = global::Microsoft.Dynamics.Retail.Pos.Customer.Properties.Resources.search; this.btnSearch.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnSearch.Location = new System.Drawing.Point(839, 3); this.btnSearch.Name = "btnSearch"; this.btnSearch.Padding = new System.Windows.Forms.Padding(3); this.btnSearch.Size = new System.Drawing.Size(57, 31); this.btnSearch.TabIndex = 2; this.btnSearch.Text = "Search"; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // btnClear // this.btnClear.Anchor = System.Windows.Forms.AnchorStyles.None; this.btnClear.Appearance.Font = new System.Drawing.Font("Wingdings", 21.75F); this.btnClear.Appearance.Options.UseFont = true; this.btnClear.Image = global::Microsoft.Dynamics.Retail.Pos.Customer.Properties.Resources.remove; this.btnClear.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnClear.Location = new System.Drawing.Point(902, 3); this.btnClear.Name = "btnClear"; this.btnClear.Padding = new System.Windows.Forms.Padding(3); this.btnClear.Size = new System.Drawing.Size(57, 31); this.btnClear.TabIndex = 3; this.btnClear.Text = "û"; this.btnClear.Click += new System.EventHandler(this.btnClear_Click); // // txtKeyboardInput // this.txtKeyboardInput.Dock = System.Windows.Forms.DockStyle.Fill; this.txtKeyboardInput.Location = new System.Drawing.Point(3, 3); this.txtKeyboardInput.Name = "txtKeyboardInput"; this.txtKeyboardInput.Properties.Appearance.BackColor = System.Drawing.Color.White; this.txtKeyboardInput.Properties.Appearance.Font = new System.Drawing.Font("Segoe UI", 14F); this.txtKeyboardInput.Properties.Appearance.ForeColor = System.Drawing.Color.Black; this.txtKeyboardInput.Properties.Appearance.Options.UseBackColor = true; this.txtKeyboardInput.Properties.Appearance.Options.UseFont = true; this.txtKeyboardInput.Properties.Appearance.Options.UseForeColor = true; this.txtKeyboardInput.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple; this.txtKeyboardInput.Size = new System.Drawing.Size(830, 32); this.txtKeyboardInput.TabIndex = 1; this.txtKeyboardInput.KeyDown += new System.Windows.Forms.KeyEventHandler(this.CustomerSearch_KeyDown); // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 9; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.Controls.Add(this.grCustomers, 0, 0); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(29, 181); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 1; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(962, 492); this.tableLayoutPanel1.TabIndex = 0; // // frmCustomerSearch // this.Appearance.Options.UseBackColor = true; this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(1024, 768); this.Controls.Add(this.basePanel); this.LookAndFeel.SkinName = "Money Twins"; this.Name = "frmCustomerSearch"; this.Text = "Customer search"; this.Controls.SetChildIndex(this.basePanel, 0); ((System.ComponentModel.ISupportInitialize)(this.styleController)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grCustomers)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grdView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.basePanel)).EndInit(); this.basePanel.ResumeLayout(false); this.tableLayoutPanel2.ResumeLayout(false); this.tableLayoutPanel2.PerformLayout(); this.tableLayoutPanel4.ResumeLayout(false); this.tableLayoutPanel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.txtKeyboardInput.Properties)).EndInit(); this.tableLayoutPanel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.lblMsg = new System.Windows.Forms.Label(); this.btnOk = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.btnCancel = new LSRetailPosis.POSProcesses.WinControls.SimpleButtonEx(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.numUserId = new LSRetailPosis.POSProcesses.WinControls.NumPad(); this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); ((System.ComponentModel.ISupportInitialize)(this.styleController)).BeginInit(); this.tableLayoutPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); this.panelControl1.SuspendLayout(); this.SuspendLayout(); // // lblMsg // this.lblMsg.Anchor = System.Windows.Forms.AnchorStyles.Top; this.lblMsg.AutoSize = true; this.tableLayoutPanel1.SetColumnSpan(this.lblMsg, 2); this.lblMsg.Font = new System.Drawing.Font("Segoe UI Light", 36F); this.lblMsg.Location = new System.Drawing.Point(285, 40); this.lblMsg.Name = "lblMsg"; this.lblMsg.Padding = new System.Windows.Forms.Padding(0, 0, 0, 30); this.lblMsg.Size = new System.Drawing.Size(449, 95); this.lblMsg.TabIndex = 0; this.lblMsg.Text = "Enter an Operator ID"; this.lblMsg.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // btnOk // this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnOk.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnOk.Appearance.Options.UseFont = true; this.btnOk.Location = new System.Drawing.Point(379, 688); this.btnOk.Margin = new System.Windows.Forms.Padding(4); this.btnOk.Name = "btnOk"; this.btnOk.Padding = new System.Windows.Forms.Padding(0); this.btnOk.Size = new System.Drawing.Size(127, 57); this.btnOk.TabIndex = 2; this.btnOk.Text = "OK"; this.btnOk.Click += new System.EventHandler(this.OnBtnOkClicked); // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnCancel.Appearance.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnCancel.Appearance.Options.UseFont = true; this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(514, 688); this.btnCancel.Margin = new System.Windows.Forms.Padding(4); this.btnCancel.Name = "btnCancel"; this.btnCancel.Padding = new System.Windows.Forms.Padding(0); this.btnCancel.Size = new System.Drawing.Size(127, 57); this.btnCancel.TabIndex = 3; this.btnCancel.Text = "Cancel"; // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 2; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.Controls.Add(this.lblMsg, 0, 0); this.tableLayoutPanel1.Controls.Add(this.numUserId, 0, 1); this.tableLayoutPanel1.Controls.Add(this.btnOk, 0, 2); this.tableLayoutPanel1.Controls.Add(this.btnCancel, 1, 2); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(2, 2); this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.Padding = new System.Windows.Forms.Padding(30, 40, 30, 15); this.tableLayoutPanel1.RowCount = 3; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.Size = new System.Drawing.Size(1020, 764); this.tableLayoutPanel1.TabIndex = 0; // // numUserId // this.numUserId.Anchor = System.Windows.Forms.AnchorStyles.None; this.numUserId.Appearance.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.numUserId.Appearance.Options.UseFont = true; this.numUserId.AutoSize = true; this.numUserId.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.tableLayoutPanel1.SetColumnSpan(this.numUserId, 2); this.numUserId.CurrencyCode = null; this.numUserId.EnteredQuantity = new decimal(new int[] { 0, 0, 0, 0 }); this.numUserId.EnteredValue = ""; this.numUserId.EntryType = Microsoft.Dynamics.Retail.Pos.Contracts.UI.NumpadEntryTypes.Barcode; this.numUserId.Location = new System.Drawing.Point(315, 193); this.numUserId.Margin = new System.Windows.Forms.Padding(0); this.numUserId.MaskChar = ""; this.numUserId.MaskInterval = 0; this.numUserId.MaxNumberOfDigits = 20; this.numUserId.MinimumSize = new System.Drawing.Size(390, 432); this.numUserId.Name = "numUserId"; this.numUserId.NegativeMode = false; this.numUserId.NoOfTries = 0; this.numUserId.NumberOfDecimals = 0; this.numUserId.PromptText = "Operator ID"; this.numUserId.ShortcutKeysActive = false; this.numUserId.Size = new System.Drawing.Size(390, 432); this.numUserId.TabIndex = 1; this.numUserId.TimerEnabled = true; this.numUserId.EnterButtonPressed += new LSRetailPosis.POSProcesses.WinControls.NumPad.enterbuttonDelegate(this.OnNumPadEnterButtonPressed); this.numUserId.CardSwept += new LSRetailPosis.POSProcesses.WinControls.NumPad.cardSwipedDelegate(this.numUserId_CardSwept); // // panelControl1 // this.panelControl1.Controls.Add(this.tableLayoutPanel1); this.panelControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.panelControl1.Location = new System.Drawing.Point(0, 0); this.panelControl1.Margin = new System.Windows.Forms.Padding(0); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(1024, 768); this.panelControl1.TabIndex = 0; // // ManagerAccessForm // this.AutoSize = true; this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(1024, 768); this.Controls.Add(this.panelControl1); this.LookAndFeel.SkinName = "Money Twins"; this.MinimumSize = new System.Drawing.Size(420, 539); this.Name = "ManagerAccessForm"; this.Controls.SetChildIndex(this.panelControl1, 0); ((System.ComponentModel.ISupportInitialize)(this.styleController)).EndInit(); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); this.panelControl1.ResumeLayout(false); this.ResumeLayout(false); }