Пример #1
0
 private void InitializeComponent()
 {
     this.btnUp        = new WSWD.WmallPos.POS.FX.Win.Controls.RoundedButton();
     this.btnDown      = new WSWD.WmallPos.POS.FX.Win.Controls.RoundedButton();
     this.pnlUpDn      = new System.Windows.Forms.Panel();
     this.gridHeader1  = new WSWD.WmallPos.POS.FX.Win.UserControls.GridHeader();
     this.pnlContainer = new System.Windows.Forms.Panel();
     this.pnlUpDn.SuspendLayout();
     this.SuspendLayout();
     //
     // btnUp
     //
     this.btnUp.BorderSize = 1;
     this.btnUp.ButtonType = WSWD.WmallPos.POS.FX.Shared.ButtonTypes.Type04;
     this.btnUp.Corner     = 0;
     this.btnUp.Dock       = System.Windows.Forms.DockStyle.Top;
     this.btnUp.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(92)))), ((int)(((byte)(59)))), ((int)(((byte)(152)))));
     this.btnUp.Image      = global::WSWD.WmallPos.POS.FX.Win.Properties.Resources.ico_list_up;
     this.btnUp.Location   = new System.Drawing.Point(0, 0);
     this.btnUp.Name       = "btnUp";
     this.btnUp.Selected   = false;
     this.btnUp.Size       = new System.Drawing.Size(33, 135);
     this.btnUp.TabIndex   = 0;
     this.btnUp.TextAlign  = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnUp.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnUp_MouseDown);
     this.btnUp.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.btnUp_MouseUp);
     //
     // btnDown
     //
     this.btnDown.BorderSize = 1;
     this.btnDown.ButtonType = WSWD.WmallPos.POS.FX.Shared.ButtonTypes.Type04;
     this.btnDown.Corner     = 0;
     this.btnDown.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.btnDown.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(92)))), ((int)(((byte)(59)))), ((int)(((byte)(152)))));
     this.btnDown.Image      = global::WSWD.WmallPos.POS.FX.Win.Properties.Resources.ico_list_dn;
     this.btnDown.Location   = new System.Drawing.Point(0, 135);
     this.btnDown.Name       = "btnDown";
     this.btnDown.Selected   = false;
     this.btnDown.Size       = new System.Drawing.Size(33, 133);
     this.btnDown.TabIndex   = 0;
     this.btnDown.TextAlign  = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnDown.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnUp_MouseDown);
     this.btnDown.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.btnUp_MouseUp);
     //
     // pnlUpDn
     //
     this.pnlUpDn.Controls.Add(this.btnDown);
     this.pnlUpDn.Controls.Add(this.btnUp);
     this.pnlUpDn.Dock     = System.Windows.Forms.DockStyle.Right;
     this.pnlUpDn.Location = new System.Drawing.Point(423, 1);
     this.pnlUpDn.Name     = "pnlUpDn";
     this.pnlUpDn.Size     = new System.Drawing.Size(33, 268);
     this.pnlUpDn.TabIndex = 1;
     //
     // gridHeader1
     //
     this.gridHeader1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(202)))), ((int)(((byte)(202)))));
     this.gridHeader1.BorderWidth = new System.Windows.Forms.Padding(0, 0, 1, 1);
     this.gridHeader1.Dock        = System.Windows.Forms.DockStyle.Top;
     this.gridHeader1.Location    = new System.Drawing.Point(1, 1);
     this.gridHeader1.Name        = "gridHeader1";
     this.gridHeader1.Size        = new System.Drawing.Size(422, 30);
     this.gridHeader1.TabIndex    = 3;
     //
     // pnlContainer
     //
     this.pnlContainer.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pnlContainer.Location = new System.Drawing.Point(1, 31);
     this.pnlContainer.Name     = "pnlContainer";
     this.pnlContainer.Size     = new System.Drawing.Size(422, 238);
     this.pnlContainer.TabIndex = 4;
     //
     // GridPanel
     //
     this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234)))));
     this.BorderWidth = new System.Windows.Forms.Padding(1);
     this.Controls.Add(this.pnlContainer);
     this.Controls.Add(this.gridHeader1);
     this.Controls.Add(this.pnlUpDn);
     this.Name    = "GridPanel";
     this.Padding = new System.Windows.Forms.Padding(1);
     this.Size    = new System.Drawing.Size(457, 270);
     this.pnlUpDn.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #2
0
 private void InitializeComponent()
 {
     this.btnUp        = new WSWD.WmallPos.POS.FX.Win.Controls.RoundedButton();
     this.pnlUpDn      = new System.Windows.Forms.TableLayoutPanel();
     this.lblPage      = new System.Windows.Forms.Label();
     this.btnDown      = new WSWD.WmallPos.POS.FX.Win.Controls.RoundedButton();
     this.gridHeader1  = new WSWD.WmallPos.POS.FX.Win.UserControls.GridHeader();
     this.pnlContainer = new System.Windows.Forms.Panel();
     this.pnlUpDn.SuspendLayout();
     this.SuspendLayout();
     //
     // btnUp
     //
     this.btnUp.BackgroundImage = global::WSWD.WmallPos.POS.FX.Win.Properties.Resources.ico_list_dn;
     this.btnUp.BorderSize      = 1;
     this.btnUp.ButtonType      = WSWD.WmallPos.POS.FX.Shared.ButtonTypes.Type04;
     this.btnUp.Corner          = 0;
     this.btnUp.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.btnUp.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(92)))), ((int)(((byte)(59)))), ((int)(((byte)(152)))));
     this.btnUp.Image           = global::WSWD.WmallPos.POS.FX.Win.Properties.Resources.ico_list_up;
     this.btnUp.IsHighlight     = false;
     this.btnUp.Location        = new System.Drawing.Point(0, 0);
     this.btnUp.Margin          = new System.Windows.Forms.Padding(0);
     this.btnUp.Name            = "btnUp";
     this.btnUp.Selected        = false;
     this.btnUp.Size            = new System.Drawing.Size(32, 105);
     this.btnUp.TabIndex        = 0;
     this.btnUp.TextAlign       = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnUp.MouseUp        += new System.Windows.Forms.MouseEventHandler(this.btnUp_MouseUp);
     //
     // pnlUpDn
     //
     this.pnlUpDn.ColumnCount = 1;
     this.pnlUpDn.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.pnlUpDn.Controls.Add(this.btnUp, 0, 0);
     this.pnlUpDn.Controls.Add(this.lblPage, 0, 1);
     this.pnlUpDn.Controls.Add(this.btnDown, 0, 2);
     this.pnlUpDn.Dock     = System.Windows.Forms.DockStyle.Right;
     this.pnlUpDn.Location = new System.Drawing.Point(424, 0);
     this.pnlUpDn.Name     = "pnlUpDn";
     this.pnlUpDn.Padding  = new System.Windows.Forms.Padding(0, 0, 1, 0);
     this.pnlUpDn.RowCount = 3;
     this.pnlUpDn.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.pnlUpDn.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 60F));
     this.pnlUpDn.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.pnlUpDn.Size     = new System.Drawing.Size(33, 270);
     this.pnlUpDn.TabIndex = 1;
     //
     // lblPage
     //
     this.lblPage.AutoSize  = true;
     this.lblPage.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.lblPage.Location  = new System.Drawing.Point(3, 105);
     this.lblPage.Name      = "lblPage";
     this.lblPage.Padding   = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.lblPage.Size      = new System.Drawing.Size(26, 60);
     this.lblPage.TabIndex  = 2;
     this.lblPage.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // btnDown
     //
     this.btnDown.BorderSize  = 1;
     this.btnDown.ButtonType  = WSWD.WmallPos.POS.FX.Shared.ButtonTypes.Type04;
     this.btnDown.Corner      = 0;
     this.btnDown.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.btnDown.ForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(92)))), ((int)(((byte)(59)))), ((int)(((byte)(152)))));
     this.btnDown.Image       = global::WSWD.WmallPos.POS.FX.Win.Properties.Resources.ico_list_dn;
     this.btnDown.IsHighlight = false;
     this.btnDown.Location    = new System.Drawing.Point(0, 165);
     this.btnDown.Margin      = new System.Windows.Forms.Padding(0);
     this.btnDown.Name        = "btnDown";
     this.btnDown.Selected    = false;
     this.btnDown.Size        = new System.Drawing.Size(32, 105);
     this.btnDown.TabIndex    = 3;
     this.btnDown.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnDown.MouseUp    += new System.Windows.Forms.MouseEventHandler(this.btnUp_MouseUp);
     //
     // gridHeader1
     //
     this.gridHeader1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(202)))), ((int)(((byte)(202)))));
     this.gridHeader1.BorderWidth = new System.Windows.Forms.Padding(0, 0, 1, 1);
     this.gridHeader1.Dock        = System.Windows.Forms.DockStyle.Top;
     this.gridHeader1.Location    = new System.Drawing.Point(0, 0);
     this.gridHeader1.Name        = "gridHeader1";
     this.gridHeader1.Size        = new System.Drawing.Size(424, 30);
     this.gridHeader1.TabIndex    = 3;
     //
     // pnlContainer
     //
     this.pnlContainer.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pnlContainer.Location = new System.Drawing.Point(0, 30);
     this.pnlContainer.Name     = "pnlContainer";
     this.pnlContainer.Size     = new System.Drawing.Size(424, 240);
     this.pnlContainer.TabIndex = 4;
     //
     // SaleGridPanel
     //
     this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234)))));
     this.BorderWidth = new System.Windows.Forms.Padding(1);
     this.Controls.Add(this.pnlContainer);
     this.Controls.Add(this.gridHeader1);
     this.Controls.Add(this.pnlUpDn);
     this.Name = "SaleGridPanel";
     this.Size = new System.Drawing.Size(457, 270);
     this.pnlUpDn.ResumeLayout(false);
     this.pnlUpDn.PerformLayout();
     this.ResumeLayout(false);
 }