Exemplo n.º 1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmPunishCard));
     this.groupBox1       = new System.Windows.Forms.GroupBox();
     this.lvwPunishCard   = new XPTable.Models.Table();
     this.columnModel1    = new XPTable.Models.ColumnModel();
     this.chSTT           = new XPTable.Models.TextColumn();
     this.chCardName      = new XPTable.Models.TextColumn();
     this.chPunishFactor  = new XPTable.Models.TextColumn();
     this.chNote          = new XPTable.Models.TextColumn();
     this.tableModel1     = new XPTable.Models.TableModel();
     this.btnIgnore       = new System.Windows.Forms.Button();
     this.btnUpdate       = new System.Windows.Forms.Button();
     this.btnAdd          = new System.Windows.Forms.Button();
     this.btnDelete       = new System.Windows.Forms.Button();
     this.btnClose        = new System.Windows.Forms.Button();
     this.groupBox2       = new System.Windows.Forms.GroupBox();
     this.txtNote         = new System.Windows.Forms.TextBox();
     this.label2          = new System.Windows.Forms.Label();
     this.txtPunishFactor = new AMS.TextBox.NumericTextBox();
     this.label4          = new System.Windows.Forms.Label();
     this.label3          = new System.Windows.Forms.Label();
     this.txtCardName     = new System.Windows.Forms.TextBox();
     this.label1          = new System.Windows.Forms.Label();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lvwPunishCard)).BeginInit();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.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.groupBox1.Controls.Add(this.lvwPunishCard);
     this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupBox1.Location  = new System.Drawing.Point(8, 112);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(480, 184);
     this.groupBox1.TabIndex  = 21;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "Danh sách thẻ phạt";
     //
     // lvwPunishCard
     //
     this.lvwPunishCard.AlternatingRowColor = System.Drawing.Color.FromArgb(((System.Byte)(230)), ((System.Byte)(237)), ((System.Byte)(245)));
     this.lvwPunishCard.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.lvwPunishCard.BackColor                   = System.Drawing.Color.FromArgb(((System.Byte)(237)), ((System.Byte)(242)), ((System.Byte)(249)));
     this.lvwPunishCard.ColumnModel                 = this.columnModel1;
     this.lvwPunishCard.EnableToolTips              = true;
     this.lvwPunishCard.ForeColor                   = System.Drawing.Color.FromArgb(((System.Byte)(14)), ((System.Byte)(66)), ((System.Byte)(121)));
     this.lvwPunishCard.FullRowSelect               = true;
     this.lvwPunishCard.GridColor                   = System.Drawing.SystemColors.ControlDark;
     this.lvwPunishCard.GridLines                   = XPTable.Models.GridLines.Both;
     this.lvwPunishCard.GridLineStyle               = XPTable.Models.GridLineStyle.Dot;
     this.lvwPunishCard.HeaderFont                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.lvwPunishCard.Location                    = new System.Drawing.Point(8, 16);
     this.lvwPunishCard.Name                        = "lvwPunishCard";
     this.lvwPunishCard.NoItemsText                 = WorkingContext.LangManager.GetString("XPtable");
     this.lvwPunishCard.SelectionBackColor          = System.Drawing.Color.FromArgb(((System.Byte)(169)), ((System.Byte)(183)), ((System.Byte)(201)));
     this.lvwPunishCard.SelectionForeColor          = System.Drawing.Color.FromArgb(((System.Byte)(14)), ((System.Byte)(66)), ((System.Byte)(121)));
     this.lvwPunishCard.SelectionStyle              = XPTable.Models.SelectionStyle.Grid;
     this.lvwPunishCard.Size                        = new System.Drawing.Size(464, 160);
     this.lvwPunishCard.SortedColumnBackColor       = System.Drawing.Color.Transparent;
     this.lvwPunishCard.TabIndex                    = 19;
     this.lvwPunishCard.TableModel                  = this.tableModel1;
     this.lvwPunishCard.UnfocusedSelectionBackColor = System.Drawing.Color.FromArgb(((System.Byte)(201)), ((System.Byte)(210)), ((System.Byte)(221)));
     this.lvwPunishCard.UnfocusedSelectionForeColor = System.Drawing.Color.FromArgb(((System.Byte)(14)), ((System.Byte)(66)), ((System.Byte)(121)));
     this.lvwPunishCard.SelectionChanged           += new XPTable.Events.SelectionEventHandler(this.lvwPunishCard_SelectionChanged);
     //
     // columnModel1
     //
     this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] {
         this.chSTT,
         this.chCardName,
         this.chPunishFactor,
         this.chNote
     });
     //
     // chSTT
     //
     this.chSTT.Editable = false;
     this.chSTT.Text     = "Số TT";
     this.chSTT.Width    = 40;
     //
     // chCardName
     //
     this.chCardName.Editable = false;
     this.chCardName.Text     = "Tên thẻ";
     this.chCardName.Width    = 100;
     //
     // chPunishFactor
     //
     this.chPunishFactor.Editable = false;
     this.chPunishFactor.Text     = "Hệ số phạt";
     //
     // chNote
     //
     this.chNote.Editable = false;
     this.chNote.Text     = "Chú thích";
     this.chNote.Width    = 240;
     //
     // btnIgnore
     //
     this.btnIgnore.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnIgnore.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnIgnore.ImeMode   = System.Windows.Forms.ImeMode.NoControl;
     this.btnIgnore.Location  = new System.Drawing.Point(336, 304);
     this.btnIgnore.Name      = "btnIgnore";
     this.btnIgnore.TabIndex  = 18;
     this.btnIgnore.Text      = "Bỏ qua";
     this.btnIgnore.Click    += new System.EventHandler(this.btnIgnore_Click);
     //
     // btnUpdate
     //
     this.btnUpdate.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnUpdate.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnUpdate.Font      = new System.Drawing.Font("Tahoma", 8.25F);
     this.btnUpdate.ImeMode   = System.Windows.Forms.ImeMode.NoControl;
     this.btnUpdate.Location  = new System.Drawing.Point(256, 304);
     this.btnUpdate.Name      = "btnUpdate";
     this.btnUpdate.TabIndex  = 1;
     this.btnUpdate.Text      = "Cập nhật";
     this.btnUpdate.Click    += new System.EventHandler(this.btnUpdate_Click);
     //
     // btnAdd
     //
     this.btnAdd.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnAdd.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnAdd.Font      = new System.Drawing.Font("Tahoma", 8.25F);
     this.btnAdd.ImeMode   = System.Windows.Forms.ImeMode.NoControl;
     this.btnAdd.Location  = new System.Drawing.Point(96, 304);
     this.btnAdd.Name      = "btnAdd";
     this.btnAdd.TabIndex  = 0;
     this.btnAdd.Text      = "Thêm";
     this.btnAdd.Visible   = false;
     this.btnAdd.Click    += new System.EventHandler(this.btnAdd_Click);
     //
     // btnDelete
     //
     this.btnDelete.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnDelete.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnDelete.Font      = new System.Drawing.Font("Tahoma", 8.25F);
     this.btnDelete.ImeMode   = System.Windows.Forms.ImeMode.NoControl;
     this.btnDelete.Location  = new System.Drawing.Point(176, 304);
     this.btnDelete.Name      = "btnDelete";
     this.btnDelete.TabIndex  = 9;
     this.btnDelete.Text      = "Xóa ";
     this.btnDelete.Visible   = false;
     this.btnDelete.Click    += new System.EventHandler(this.btnDelete_Click);
     //
     // btnClose
     //
     this.btnClose.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnClose.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.btnClose.Font         = new System.Drawing.Font("Tahoma", 8.25F);
     this.btnClose.ImeMode      = System.Windows.Forms.ImeMode.NoControl;
     this.btnClose.Location     = new System.Drawing.Point(416, 304);
     this.btnClose.Name         = "btnClose";
     this.btnClose.TabIndex     = 10;
     this.btnClose.Text         = "Đóng";
     this.btnClose.Click       += new System.EventHandler(this.btnClose_Click);
     //
     // groupBox2
     //
     this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox2.Controls.Add(this.txtNote);
     this.groupBox2.Controls.Add(this.label2);
     this.groupBox2.Controls.Add(this.txtPunishFactor);
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Controls.Add(this.label3);
     this.groupBox2.Controls.Add(this.txtCardName);
     this.groupBox2.Controls.Add(this.label1);
     this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupBox2.Location  = new System.Drawing.Point(8, 8);
     this.groupBox2.Name      = "groupBox2";
     this.groupBox2.Size      = new System.Drawing.Size(480, 96);
     this.groupBox2.TabIndex  = 22;
     this.groupBox2.TabStop   = false;
     this.groupBox2.Text      = "Thông tin thẻ phạt";
     this.groupBox2.Enter    += new System.EventHandler(this.groupBox2_Enter);
     //
     // txtNote
     //
     this.txtNote.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.txtNote.Location  = new System.Drawing.Point(64, 64);
     this.txtNote.Name      = "txtNote";
     this.txtNote.Size      = new System.Drawing.Size(408, 20);
     this.txtNote.TabIndex  = 20;
     this.txtNote.Text      = "";
     this.txtNote.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtNote_KeyPress);
     //
     // label2
     //
     this.label2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(163)));
     this.label2.Location = new System.Drawing.Point(152, 40);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(40, 23);
     this.label2.TabIndex = 19;
     this.label2.Text     = "%";
     //
     // txtPunishFactor
     //
     this.txtPunishFactor.AllowNegative    = true;
     this.txtPunishFactor.DigitsInGroup    = 0;
     this.txtPunishFactor.Flags            = 0;
     this.txtPunishFactor.Location         = new System.Drawing.Point(64, 40);
     this.txtPunishFactor.MaxDecimalPlaces = 4;
     this.txtPunishFactor.MaxWholeDigits   = 9;
     this.txtPunishFactor.Name             = "txtPunishFactor";
     this.txtPunishFactor.Prefix           = "";
     this.txtPunishFactor.RangeMax         = 1.7976931348623157E+308;
     this.txtPunishFactor.RangeMin         = -1.7976931348623157E+308;
     this.txtPunishFactor.Size             = new System.Drawing.Size(88, 20);
     this.txtPunishFactor.TabIndex         = 18;
     this.txtPunishFactor.KeyPress        += new System.Windows.Forms.KeyPressEventHandler(this.txtPunishFactor_KeyPress);
     //
     // label4
     //
     this.label4.Font       = new System.Drawing.Font("Tahoma", 8.25F);
     this.label4.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.label4.ImeMode    = System.Windows.Forms.ImeMode.NoControl;
     this.label4.Location   = new System.Drawing.Point(8, 40);
     this.label4.Name       = "label4";
     this.label4.Size       = new System.Drawing.Size(56, 23);
     this.label4.TabIndex   = 17;
     this.label4.Text       = "Mức phạt";
     this.label4.TextAlign  = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label3
     //
     this.label3.Font       = new System.Drawing.Font("Tahoma", 8.25F);
     this.label3.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.label3.ImeMode    = System.Windows.Forms.ImeMode.NoControl;
     this.label3.Location   = new System.Drawing.Point(8, 64);
     this.label3.Name       = "label3";
     this.label3.Size       = new System.Drawing.Size(56, 23);
     this.label3.TabIndex   = 2;
     this.label3.Text       = "Chú thích";
     this.label3.TextAlign  = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtCardName
     //
     this.txtCardName.Location  = new System.Drawing.Point(64, 16);
     this.txtCardName.Name      = "txtCardName";
     this.txtCardName.ReadOnly  = true;
     this.txtCardName.Size      = new System.Drawing.Size(136, 20);
     this.txtCardName.TabIndex  = 4;
     this.txtCardName.Text      = "";
     this.txtCardName.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtCardName_KeyPress);
     //
     // label1
     //
     this.label1.Font      = new System.Drawing.Font("Tahoma", 8.25F);
     this.label1.ImeMode   = System.Windows.Forms.ImeMode.NoControl;
     this.label1.Location  = new System.Drawing.Point(8, 16);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(56, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Tên thẻ";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // frmPunishCard
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnClose;
     this.ClientSize        = new System.Drawing.Size(498, 336);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.btnIgnore);
     this.Controls.Add(this.btnDelete);
     this.Controls.Add(this.btnClose);
     this.Controls.Add(this.btnAdd);
     this.Controls.Add(this.btnUpdate);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmPunishCard";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Định nghĩa thẻ phạt";
     this.Load           += new System.EventHandler(this.frmPunishCard_Load);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.lvwPunishCard)).EndInit();
     this.groupBox2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmPunishCard));
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.lvwPunishCard = new XPTable.Models.Table();
     this.columnModel1 = new XPTable.Models.ColumnModel();
     this.chSTT = new XPTable.Models.TextColumn();
     this.chCardName = new XPTable.Models.TextColumn();
     this.chPunishFactor = new XPTable.Models.TextColumn();
     this.chNote = new XPTable.Models.TextColumn();
     this.tableModel1 = new XPTable.Models.TableModel();
     this.btnIgnore = new System.Windows.Forms.Button();
     this.btnUpdate = new System.Windows.Forms.Button();
     this.btnAdd = new System.Windows.Forms.Button();
     this.btnDelete = new System.Windows.Forms.Button();
     this.btnClose = new System.Windows.Forms.Button();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.txtNote = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.txtPunishFactor = new AMS.TextBox.NumericTextBox();
     this.label4 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.txtCardName = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lvwPunishCard)).BeginInit();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.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.groupBox1.Controls.Add(this.lvwPunishCard);
     this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupBox1.Location = new System.Drawing.Point(8, 112);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(480, 184);
     this.groupBox1.TabIndex = 21;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Danh sách thẻ phạt";
     //
     // lvwPunishCard
     //
     this.lvwPunishCard.AlternatingRowColor = System.Drawing.Color.FromArgb(((System.Byte)(230)), ((System.Byte)(237)), ((System.Byte)(245)));
     this.lvwPunishCard.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.lvwPunishCard.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(237)), ((System.Byte)(242)), ((System.Byte)(249)));
     this.lvwPunishCard.ColumnModel = this.columnModel1;
     this.lvwPunishCard.EnableToolTips = true;
     this.lvwPunishCard.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(14)), ((System.Byte)(66)), ((System.Byte)(121)));
     this.lvwPunishCard.FullRowSelect = true;
     this.lvwPunishCard.GridColor = System.Drawing.SystemColors.ControlDark;
     this.lvwPunishCard.GridLines = XPTable.Models.GridLines.Both;
     this.lvwPunishCard.GridLineStyle = XPTable.Models.GridLineStyle.Dot;
     this.lvwPunishCard.HeaderFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.lvwPunishCard.Location = new System.Drawing.Point(8, 16);
     this.lvwPunishCard.Name = "lvwPunishCard";
     this.lvwPunishCard.NoItemsText = WorkingContext.LangManager.GetString("XPtable");
     this.lvwPunishCard.SelectionBackColor = System.Drawing.Color.FromArgb(((System.Byte)(169)), ((System.Byte)(183)), ((System.Byte)(201)));
     this.lvwPunishCard.SelectionForeColor = System.Drawing.Color.FromArgb(((System.Byte)(14)), ((System.Byte)(66)), ((System.Byte)(121)));
     this.lvwPunishCard.SelectionStyle = XPTable.Models.SelectionStyle.Grid;
     this.lvwPunishCard.Size = new System.Drawing.Size(464, 160);
     this.lvwPunishCard.SortedColumnBackColor = System.Drawing.Color.Transparent;
     this.lvwPunishCard.TabIndex = 19;
     this.lvwPunishCard.TableModel = this.tableModel1;
     this.lvwPunishCard.UnfocusedSelectionBackColor = System.Drawing.Color.FromArgb(((System.Byte)(201)), ((System.Byte)(210)), ((System.Byte)(221)));
     this.lvwPunishCard.UnfocusedSelectionForeColor = System.Drawing.Color.FromArgb(((System.Byte)(14)), ((System.Byte)(66)), ((System.Byte)(121)));
     this.lvwPunishCard.SelectionChanged += new XPTable.Events.SelectionEventHandler(this.lvwPunishCard_SelectionChanged);
     //
     // columnModel1
     //
     this.columnModel1.Columns.AddRange(new XPTable.Models.Column[] {
                                                                        this.chSTT,
                                                                        this.chCardName,
                                                                        this.chPunishFactor,
                                                                        this.chNote});
     //
     // chSTT
     //
     this.chSTT.Editable = false;
     this.chSTT.Text = "Số TT";
     this.chSTT.Width = 40;
     //
     // chCardName
     //
     this.chCardName.Editable = false;
     this.chCardName.Text = "Tên thẻ";
     this.chCardName.Width = 100;
     //
     // chPunishFactor
     //
     this.chPunishFactor.Editable = false;
     this.chPunishFactor.Text = "Hệ số phạt";
     //
     // chNote
     //
     this.chNote.Editable = false;
     this.chNote.Text = "Chú thích";
     this.chNote.Width = 240;
     //
     // btnIgnore
     //
     this.btnIgnore.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnIgnore.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnIgnore.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.btnIgnore.Location = new System.Drawing.Point(336, 304);
     this.btnIgnore.Name = "btnIgnore";
     this.btnIgnore.TabIndex = 18;
     this.btnIgnore.Text = "Bỏ qua";
     this.btnIgnore.Click += new System.EventHandler(this.btnIgnore_Click);
     //
     // btnUpdate
     //
     this.btnUpdate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnUpdate.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnUpdate.Font = new System.Drawing.Font("Tahoma", 8.25F);
     this.btnUpdate.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.btnUpdate.Location = new System.Drawing.Point(256, 304);
     this.btnUpdate.Name = "btnUpdate";
     this.btnUpdate.TabIndex = 1;
     this.btnUpdate.Text = "Cập nhật";
     this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
     //
     // btnAdd
     //
     this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnAdd.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnAdd.Font = new System.Drawing.Font("Tahoma", 8.25F);
     this.btnAdd.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.btnAdd.Location = new System.Drawing.Point(96, 304);
     this.btnAdd.Name = "btnAdd";
     this.btnAdd.TabIndex = 0;
     this.btnAdd.Text = "Thêm";
     this.btnAdd.Visible = false;
     this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
     //
     // btnDelete
     //
     this.btnDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnDelete.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnDelete.Font = new System.Drawing.Font("Tahoma", 8.25F);
     this.btnDelete.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.btnDelete.Location = new System.Drawing.Point(176, 304);
     this.btnDelete.Name = "btnDelete";
     this.btnDelete.TabIndex = 9;
     this.btnDelete.Text = "Xóa ";
     this.btnDelete.Visible = false;
     this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
     //
     // btnClose
     //
     this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnClose.Font = new System.Drawing.Font("Tahoma", 8.25F);
     this.btnClose.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.btnClose.Location = new System.Drawing.Point(416, 304);
     this.btnClose.Name = "btnClose";
     this.btnClose.TabIndex = 10;
     this.btnClose.Text = "Đóng";
     this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
     //
     // groupBox2
     //
     this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox2.Controls.Add(this.txtNote);
     this.groupBox2.Controls.Add(this.label2);
     this.groupBox2.Controls.Add(this.txtPunishFactor);
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Controls.Add(this.label3);
     this.groupBox2.Controls.Add(this.txtCardName);
     this.groupBox2.Controls.Add(this.label1);
     this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupBox2.Location = new System.Drawing.Point(8, 8);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(480, 96);
     this.groupBox2.TabIndex = 22;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "Thông tin thẻ phạt";
     this.groupBox2.Enter += new System.EventHandler(this.groupBox2_Enter);
     //
     // txtNote
     //
     this.txtNote.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.txtNote.Location = new System.Drawing.Point(64, 64);
     this.txtNote.Name = "txtNote";
     this.txtNote.Size = new System.Drawing.Size(408, 20);
     this.txtNote.TabIndex = 20;
     this.txtNote.Text = "";
     this.txtNote.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtNote_KeyPress);
     //
     // label2
     //
     this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(163)));
     this.label2.Location = new System.Drawing.Point(152, 40);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(40, 23);
     this.label2.TabIndex = 19;
     this.label2.Text = "%";
     //
     // txtPunishFactor
     //
     this.txtPunishFactor.AllowNegative = true;
     this.txtPunishFactor.DigitsInGroup = 0;
     this.txtPunishFactor.Flags = 0;
     this.txtPunishFactor.Location = new System.Drawing.Point(64, 40);
     this.txtPunishFactor.MaxDecimalPlaces = 4;
     this.txtPunishFactor.MaxWholeDigits = 9;
     this.txtPunishFactor.Name = "txtPunishFactor";
     this.txtPunishFactor.Prefix = "";
     this.txtPunishFactor.RangeMax = 1.7976931348623157E+308;
     this.txtPunishFactor.RangeMin = -1.7976931348623157E+308;
     this.txtPunishFactor.Size = new System.Drawing.Size(88, 20);
     this.txtPunishFactor.TabIndex = 18;
     this.txtPunishFactor.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtPunishFactor_KeyPress);
     //
     // label4
     //
     this.label4.Font = new System.Drawing.Font("Tahoma", 8.25F);
     this.label4.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.label4.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.label4.Location = new System.Drawing.Point(8, 40);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(56, 23);
     this.label4.TabIndex = 17;
     this.label4.Text = "Mức phạt";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label3
     //
     this.label3.Font = new System.Drawing.Font("Tahoma", 8.25F);
     this.label3.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.label3.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.label3.Location = new System.Drawing.Point(8, 64);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(56, 23);
     this.label3.TabIndex = 2;
     this.label3.Text = "Chú thích";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtCardName
     //
     this.txtCardName.Location = new System.Drawing.Point(64, 16);
     this.txtCardName.Name = "txtCardName";
     this.txtCardName.ReadOnly = true;
     this.txtCardName.Size = new System.Drawing.Size(136, 20);
     this.txtCardName.TabIndex = 4;
     this.txtCardName.Text = "";
     this.txtCardName.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtCardName_KeyPress);
     //
     // label1
     //
     this.label1.Font = new System.Drawing.Font("Tahoma", 8.25F);
     this.label1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.label1.Location = new System.Drawing.Point(8, 16);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(56, 23);
     this.label1.TabIndex = 0;
     this.label1.Text = "Tên thẻ";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // frmPunishCard
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton = this.btnClose;
     this.ClientSize = new System.Drawing.Size(498, 336);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.btnIgnore);
     this.Controls.Add(this.btnDelete);
     this.Controls.Add(this.btnClose);
     this.Controls.Add(this.btnAdd);
     this.Controls.Add(this.btnUpdate);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "frmPunishCard";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Định nghĩa thẻ phạt";
     this.Load += new System.EventHandler(this.frmPunishCard_Load);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.lvwPunishCard)).EndInit();
     this.groupBox2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmStatusOptions));
     this.grbOptions = new System.Windows.Forms.GroupBox();
     this.txtBoxesPerPage = new AMS.TextBox.NumericTextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.txtBoxHeight = new AMS.TextBox.NumericTextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.txtBoxWidth = new AMS.TextBox.NumericTextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.btnOK = new System.Windows.Forms.Button();
     this.btnClose = new System.Windows.Forms.Button();
     this.grbOptions.SuspendLayout();
     this.SuspendLayout();
     //
     // grbOptions
     //
     this.grbOptions.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.grbOptions.Controls.Add(this.txtBoxesPerPage);
     this.grbOptions.Controls.Add(this.label3);
     this.grbOptions.Controls.Add(this.txtBoxHeight);
     this.grbOptions.Controls.Add(this.label2);
     this.grbOptions.Controls.Add(this.txtBoxWidth);
     this.grbOptions.Controls.Add(this.label1);
     this.grbOptions.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.grbOptions.Location = new System.Drawing.Point(8, 8);
     this.grbOptions.Name = "grbOptions";
     this.grbOptions.Size = new System.Drawing.Size(224, 96);
     this.grbOptions.TabIndex = 0;
     this.grbOptions.TabStop = false;
     this.grbOptions.Text = "Kích thước ô trạng thái";
     //
     // txtBoxesPerPage
     //
     this.txtBoxesPerPage.AllowNegative = true;
     this.txtBoxesPerPage.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.txtBoxesPerPage.DigitsInGroup = 0;
     this.txtBoxesPerPage.Flags = 0;
     this.txtBoxesPerPage.Location = new System.Drawing.Point(88, 64);
     this.txtBoxesPerPage.MaxDecimalPlaces = 4;
     this.txtBoxesPerPage.MaxWholeDigits = 9;
     this.txtBoxesPerPage.Name = "txtBoxesPerPage";
     this.txtBoxesPerPage.Prefix = "";
     this.txtBoxesPerPage.RangeMax = 1.7976931348623157E+308;
     this.txtBoxesPerPage.RangeMin = -1.7976931348623157E+308;
     this.txtBoxesPerPage.Size = new System.Drawing.Size(124, 20);
     this.txtBoxesPerPage.TabIndex = 5;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(8, 64);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(80, 23);
     this.label3.TabIndex = 4;
     this.label3.Text = "Số ô trạng thái";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtBoxHeight
     //
     this.txtBoxHeight.AllowNegative = true;
     this.txtBoxHeight.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.txtBoxHeight.DigitsInGroup = 0;
     this.txtBoxHeight.Flags = 0;
     this.txtBoxHeight.Location = new System.Drawing.Point(88, 40);
     this.txtBoxHeight.MaxDecimalPlaces = 4;
     this.txtBoxHeight.MaxWholeDigits = 9;
     this.txtBoxHeight.Name = "txtBoxHeight";
     this.txtBoxHeight.Prefix = "";
     this.txtBoxHeight.RangeMax = 1.7976931348623157E+308;
     this.txtBoxHeight.RangeMin = -1.7976931348623157E+308;
     this.txtBoxHeight.Size = new System.Drawing.Size(124, 20);
     this.txtBoxHeight.TabIndex = 3;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(8, 40);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(80, 23);
     this.label2.TabIndex = 2;
     this.label2.Text = "Chiều cao";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtBoxWidth
     //
     this.txtBoxWidth.AllowNegative = true;
     this.txtBoxWidth.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.txtBoxWidth.DigitsInGroup = 0;
     this.txtBoxWidth.Flags = 0;
     this.txtBoxWidth.Location = new System.Drawing.Point(88, 16);
     this.txtBoxWidth.MaxDecimalPlaces = 4;
     this.txtBoxWidth.MaxWholeDigits = 9;
     this.txtBoxWidth.Name = "txtBoxWidth";
     this.txtBoxWidth.Prefix = "";
     this.txtBoxWidth.RangeMax = 1.7976931348623157E+308;
     this.txtBoxWidth.RangeMin = -1.7976931348623157E+308;
     this.txtBoxWidth.Size = new System.Drawing.Size(124, 20);
     this.txtBoxWidth.TabIndex = 1;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 16);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(80, 23);
     this.label1.TabIndex = 0;
     this.label1.Text = "Chiều rộng";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // btnOK
     //
     this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnOK.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnOK.Location = new System.Drawing.Point(80, 112);
     this.btnOK.Name = "btnOK";
     this.btnOK.TabIndex = 1;
     this.btnOK.Text = "&Đồng ý";
     this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
     //
     // btnClose
     //
     this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnClose.Location = new System.Drawing.Point(160, 112);
     this.btnClose.Name = "btnClose";
     this.btnClose.TabIndex = 2;
     this.btnClose.Text = "&Đóng";
     this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
     //
     // frmStatusOptions
     //
     this.AcceptButton = this.btnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton = this.btnClose;
     this.ClientSize = new System.Drawing.Size(240, 142);
     this.Controls.Add(this.btnClose);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.grbOptions);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "frmStatusOptions";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "Tùy chọn hiển thị";
     this.Load += new System.EventHandler(this.frmStatusOptions_Load);
     this.grbOptions.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemplo n.º 4
0
		/// <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.txtPeso = new Apresentação.Mercadoria.TxtPeso();
            this.lblPeso = new System.Windows.Forms.Label();
            this.botão = new System.Windows.Forms.Button();
            this.txtQuantidade = new AMS.TextBox.NumericTextBox();
            this.lblQuantidade = new System.Windows.Forms.Label();
            this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
            this.lblReferência = new System.Windows.Forms.Label();
            this.chkModoRápido = new System.Windows.Forms.CheckBox();
            this.toolTip = new System.Windows.Forms.ToolTip(this.components);
            this.txtReferência = new Apresentação.Mercadoria.TxtMercadoria();
            this.tableLayoutPanel.SuspendLayout();
            this.SuspendLayout();
            // 
            // txtPeso
            // 
            this.txtPeso.AllowNegative = false;
            this.txtPeso.DigitsInGroup = 0;
            this.txtPeso.Dock = System.Windows.Forms.DockStyle.Fill;
            this.txtPeso.Enabled = false;
            this.txtPeso.Flags = 65536;
            this.txtPeso.Location = new System.Drawing.Point(3, 16);
            this.txtPeso.MaxDecimalPlaces = 1;
            this.txtPeso.MaxWholeDigits = 9;
            this.txtPeso.Name = "txtPeso";
            this.txtPeso.Prefix = "";
            this.txtPeso.RangeMax = 1.7976931348623157E+308D;
            this.txtPeso.RangeMin = -1.7976931348623157E+308D;
            this.txtPeso.Size = new System.Drawing.Size(106, 20);
            this.txtPeso.TabIndex = 1;
            this.txtPeso.TextChanged += new System.EventHandler(this.txtPeso_TextChanged);
            this.txtPeso.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtPeso_keyDown);
            // 
            // lblPeso
            // 
            this.lblPeso.AutoSize = true;
            this.lblPeso.Enabled = false;
            this.lblPeso.Location = new System.Drawing.Point(3, 0);
            this.lblPeso.Name = "lblPeso";
            this.lblPeso.Size = new System.Drawing.Size(34, 13);
            this.lblPeso.TabIndex = 13;
            this.lblPeso.Text = "Peso:";
            // 
            // botão
            // 
            this.botão.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.botão.Enabled = false;
            this.botão.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.botão.Location = new System.Drawing.Point(149, 116);
            this.botão.Name = "botão";
            this.botão.Size = new System.Drawing.Size(75, 23);
            this.botão.TabIndex = 3;
            this.botão.Text = "&Adicionar";
            this.botão.Click += new System.EventHandler(this.botão_Click);
            // 
            // txtQuantidade
            // 
            this.txtQuantidade.AllowNegative = false;
            this.txtQuantidade.DigitsInGroup = 0;
            this.txtQuantidade.Dock = System.Windows.Forms.DockStyle.Fill;
            this.txtQuantidade.Flags = 65536;
            this.txtQuantidade.Location = new System.Drawing.Point(115, 16);
            this.txtQuantidade.MaxDecimalPlaces = 1;
            this.txtQuantidade.MaxWholeDigits = 9;
            this.txtQuantidade.Name = "txtQuantidade";
            this.txtQuantidade.Prefix = "";
            this.txtQuantidade.RangeMax = 1.7976931348623157E+308D;
            this.txtQuantidade.RangeMin = -1.7976931348623157E+308D;
            this.txtQuantidade.Size = new System.Drawing.Size(106, 20);
            this.txtQuantidade.TabIndex = 2;
            this.txtQuantidade.TextChanged += new System.EventHandler(this.txtQuantidade_TextChanged);
            this.txtQuantidade.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtQuantidade_KeyDown);
            this.txtQuantidade.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtQuantidade_KeyPress);
            // 
            // lblQuantidade
            // 
            this.lblQuantidade.AutoSize = true;
            this.lblQuantidade.Location = new System.Drawing.Point(115, 0);
            this.lblQuantidade.Name = "lblQuantidade";
            this.lblQuantidade.Size = new System.Drawing.Size(65, 13);
            this.lblQuantidade.TabIndex = 11;
            this.lblQuantidade.Text = "Quantidade:";
            // 
            // tableLayoutPanel
            // 
            this.tableLayoutPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.tableLayoutPanel.ColumnCount = 2;
            this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
            this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
            this.tableLayoutPanel.Controls.Add(this.txtPeso, 0, 1);
            this.tableLayoutPanel.Controls.Add(this.lblQuantidade, 1, 0);
            this.tableLayoutPanel.Controls.Add(this.txtQuantidade, 1, 1);
            this.tableLayoutPanel.Controls.Add(this.lblPeso, 0, 0);
            this.tableLayoutPanel.Location = new System.Drawing.Point(3, 73);
            this.tableLayoutPanel.Name = "tableLayoutPanel";
            this.tableLayoutPanel.RowCount = 2;
            this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 13F));
            this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
            this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
            this.tableLayoutPanel.Size = new System.Drawing.Size(224, 44);
            this.tableLayoutPanel.TabIndex = 14;
            // 
            // lblReferência
            // 
            this.lblReferência.AutoSize = true;
            this.lblReferência.Location = new System.Drawing.Point(6, 31);
            this.lblReferência.Name = "lblReferência";
            this.lblReferência.Size = new System.Drawing.Size(62, 13);
            this.lblReferência.TabIndex = 8;
            this.lblReferência.Text = "Referência:";
            // 
            // chkModoRápido
            // 
            this.chkModoRápido.AutoSize = true;
            this.chkModoRápido.Location = new System.Drawing.Point(9, 120);
            this.chkModoRápido.Name = "chkModoRápido";
            this.chkModoRápido.Size = new System.Drawing.Size(85, 17);
            this.chkModoRápido.TabIndex = 16;
            this.chkModoRápido.TabStop = false;
            this.chkModoRápido.Text = "Modo rápido";
            this.toolTip.SetToolTip(this.chkModoRápido, "Quando definido o modo rápido, basta completar a referência que a quantidade será" +
        " considerada como valor unitário. Este modo é útil para passar mercadorias no có" +
        "digo de barras.");
            this.chkModoRápido.UseVisualStyleBackColor = true;
            this.chkModoRápido.CheckedChanged += new System.EventHandler(this.cmdRápido_CheckedChanged);
            // 
            // txtReferência
            // 
            this.txtReferência.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.txtReferência.ControlePeso = this.txtPeso;
            this.txtReferência.Location = new System.Drawing.Point(9, 47);
            this.txtReferência.Name = "txtReferência";
            this.txtReferência.Referência = "";
            this.txtReferência.Size = new System.Drawing.Size(215, 20);
            this.txtReferência.SomenteCadastrado = true;
            this.txtReferência.TabIndex = 0;
            this.txtReferência.ReferênciaAlterada += new System.EventHandler(this.txtReferência_ReferênciaAlterada);
            this.txtReferência.ReferênciaConfirmada += new System.EventHandler(this.txtReferência_RefEscolhida);
            this.txtReferência.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_KeyDown);
            // 
            // QuadroMercadoria
            // 
            this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(239)))), ((int)(((byte)(221)))));
            this.Controls.Add(this.chkModoRápido);
            this.Controls.Add(this.txtReferência);
            this.Controls.Add(this.lblReferência);
            this.Controls.Add(this.botão);
            this.Controls.Add(this.tableLayoutPanel);
            this.MaximumSize = new System.Drawing.Size(999999, 146);
            this.MinimumSize = new System.Drawing.Size(160, 146);
            this.Name = "QuadroMercadoria";
            this.Size = new System.Drawing.Size(232, 146);
            this.Título = "Escolha da mercadoria";
            this.Load += new System.EventHandler(this.QuadroMercadoria_Load);
            this.Controls.SetChildIndex(this.tableLayoutPanel, 0);
            this.Controls.SetChildIndex(this.botão, 0);
            this.Controls.SetChildIndex(this.lblReferência, 0);
            this.Controls.SetChildIndex(this.txtReferência, 0);
            this.Controls.SetChildIndex(this.chkModoRápido, 0);
            this.tableLayoutPanel.ResumeLayout(false);
            this.tableLayoutPanel.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

		}
Exemplo n.º 5
0
 /// <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(frmDayType));
     this.groupBox2          = new System.Windows.Forms.GroupBox();
     this.cboInsuranceFactor = new System.Windows.Forms.ComboBox();
     this.lblInsuranceFactor = new System.Windows.Forms.Label();
     this.rdoNo           = new System.Windows.Forms.RadioButton();
     this.rdoYes          = new System.Windows.Forms.RadioButton();
     this.txtFactor       = new AMS.TextBox.NumericTextBox();
     this.label4          = new System.Windows.Forms.Label();
     this.txtDayShortName = new System.Windows.Forms.TextBox();
     this.label2          = new System.Windows.Forms.Label();
     this.txtDayName      = new System.Windows.Forms.TextBox();
     this.label1          = new System.Windows.Forms.Label();
     this.lblInsurance    = new System.Windows.Forms.Label();
     this.btnSave         = new System.Windows.Forms.Button();
     this.btnClose        = new System.Windows.Forms.Button();
     this.clrDayColor     = new System.Windows.Forms.ColorDialog();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.cboInsuranceFactor);
     this.groupBox2.Controls.Add(this.lblInsuranceFactor);
     this.groupBox2.Controls.Add(this.rdoNo);
     this.groupBox2.Controls.Add(this.rdoYes);
     this.groupBox2.Controls.Add(this.txtFactor);
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Controls.Add(this.txtDayShortName);
     this.groupBox2.Controls.Add(this.label2);
     this.groupBox2.Controls.Add(this.txtDayName);
     this.groupBox2.Controls.Add(this.label1);
     this.groupBox2.Controls.Add(this.lblInsurance);
     this.groupBox2.Location = new System.Drawing.Point(8, 8);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(336, 144);
     this.groupBox2.TabIndex = 21;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Thông tin kiểu ngày nghỉ";
     //
     // cboInsuranceFactor
     //
     this.cboInsuranceFactor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboInsuranceFactor.Enabled       = false;
     this.cboInsuranceFactor.Items.AddRange(new object[] {
         "50%",
         "75%",
         "100%"
     });
     this.cboInsuranceFactor.Location = new System.Drawing.Point(208, 112);
     this.cboInsuranceFactor.Name     = "cboInsuranceFactor";
     this.cboInsuranceFactor.Size     = new System.Drawing.Size(121, 21);
     this.cboInsuranceFactor.TabIndex = 22;
     //
     // lblInsuranceFactor
     //
     this.lblInsuranceFactor.Location = new System.Drawing.Point(8, 112);
     this.lblInsuranceFactor.Name     = "lblInsuranceFactor";
     this.lblInsuranceFactor.Size     = new System.Drawing.Size(112, 23);
     this.lblInsuranceFactor.TabIndex = 21;
     this.lblInsuranceFactor.Text     = "Hệ số trợ cấp BHXH";
     //
     // rdoNo
     //
     this.rdoNo.Checked  = true;
     this.rdoNo.Location = new System.Drawing.Point(248, 88);
     this.rdoNo.Name     = "rdoNo";
     this.rdoNo.Size     = new System.Drawing.Size(64, 24);
     this.rdoNo.TabIndex = 20;
     this.rdoNo.TabStop  = true;
     this.rdoNo.Text     = "Không";
     //
     // rdoYes
     //
     this.rdoYes.Location        = new System.Drawing.Point(184, 88);
     this.rdoYes.Name            = "rdoYes";
     this.rdoYes.Size            = new System.Drawing.Size(48, 24);
     this.rdoYes.TabIndex        = 19;
     this.rdoYes.Text            = "Có";
     this.rdoYes.CheckedChanged += new System.EventHandler(this.rdoYes_CheckedChanged);
     //
     // txtFactor
     //
     this.txtFactor.AllowNegative    = false;
     this.txtFactor.DigitsInGroup    = 0;
     this.txtFactor.Flags            = 65536;
     this.txtFactor.Location         = new System.Drawing.Point(88, 64);
     this.txtFactor.MaxDecimalPlaces = 4;
     this.txtFactor.MaxWholeDigits   = 4;
     this.txtFactor.Name             = "txtFactor";
     this.txtFactor.Prefix           = "";
     this.txtFactor.RangeMax         = 10;
     this.txtFactor.RangeMin         = 0;
     this.txtFactor.Size             = new System.Drawing.Size(64, 20);
     this.txtFactor.TabIndex         = 3;
     //
     // label4
     //
     this.label4.Font       = new System.Drawing.Font("Tahoma", 8.25F);
     this.label4.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.label4.ImeMode    = System.Windows.Forms.ImeMode.NoControl;
     this.label4.Location   = new System.Drawing.Point(8, 64);
     this.label4.Name       = "label4";
     this.label4.Size       = new System.Drawing.Size(80, 23);
     this.label4.TabIndex   = 17;
     this.label4.Text       = "Hệ số ngày";
     this.label4.TextAlign  = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtDayShortName
     //
     this.txtDayShortName.Location = new System.Drawing.Point(88, 40);
     this.txtDayShortName.Name     = "txtDayShortName";
     this.txtDayShortName.Size     = new System.Drawing.Size(240, 20);
     this.txtDayShortName.TabIndex = 2;
     //
     // label2
     //
     this.label2.Font      = new System.Drawing.Font("Tahoma", 8.25F);
     this.label2.ImeMode   = System.Windows.Forms.ImeMode.NoControl;
     this.label2.Location  = new System.Drawing.Point(8, 40);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(80, 23);
     this.label2.TabIndex  = 1;
     this.label2.Text      = "Ký hiệu ngày";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtDayName
     //
     this.txtDayName.Location = new System.Drawing.Point(88, 16);
     this.txtDayName.Name     = "txtDayName";
     this.txtDayName.Size     = new System.Drawing.Size(240, 20);
     this.txtDayName.TabIndex = 1;
     //
     // label1
     //
     this.label1.Font      = new System.Drawing.Font("Tahoma", 8.25F);
     this.label1.ImeMode   = System.Windows.Forms.ImeMode.NoControl;
     this.label1.Location  = new System.Drawing.Point(8, 16);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(80, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Tên kiểu ngày";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblInsurance
     //
     this.lblInsurance.Location = new System.Drawing.Point(6, 88);
     this.lblInsurance.Name     = "lblInsurance";
     this.lblInsurance.Size     = new System.Drawing.Size(100, 23);
     this.lblInsurance.TabIndex = 18;
     this.lblInsurance.Text     = "Trợ cấp BHXH";
     //
     // btnSave
     //
     this.btnSave.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSave.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnSave.Location  = new System.Drawing.Point(192, 162);
     this.btnSave.Name      = "btnSave";
     this.btnSave.Size      = new System.Drawing.Size(75, 23);
     this.btnSave.TabIndex  = 6;
     this.btnSave.Text      = "Cập nhật";
     this.btnSave.Click    += new System.EventHandler(this.btnSave_Click);
     //
     // btnClose
     //
     this.btnClose.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnClose.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.btnClose.Location     = new System.Drawing.Point(274, 162);
     this.btnClose.Name         = "btnClose";
     this.btnClose.Size         = new System.Drawing.Size(75, 23);
     this.btnClose.TabIndex     = 7;
     this.btnClose.Text         = "Đóng";
     this.btnClose.Click       += new System.EventHandler(this.btnClose_Click);
     //
     // frmDayType
     //
     this.AcceptButton      = this.btnSave;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnClose;
     this.ClientSize        = new System.Drawing.Size(354, 192);
     this.Controls.Add(this.btnClose);
     this.Controls.Add(this.btnSave);
     this.Controls.Add(this.groupBox2);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmDayType";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Định nghĩa kiểu ngày nghỉ";
     this.Load           += new System.EventHandler(this.frmDayType_Load);
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.ResumeLayout(false);
 }
Exemplo n.º 6
0
		/// <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(Imprimir));
            this.quadroSeleção = new Apresentação.Formulários.Quadro();
            this.chkFormatoAutomático = new System.Windows.Forms.CheckBox();
            this.txtPeso = new AMS.TextBox.NumericTextBox();
            this.lblPeso = new System.Windows.Forms.Label();
            this.cmdNovo = new System.Windows.Forms.Button();
            this.cmbFormato = new System.Windows.Forms.ComboBox();
            this.txtQuantidade = new AMS.TextBox.IntegerTextBox();
            this.txtReferência = new Apresentação.Mercadoria.TxtMercadoria();
            this.lblFormato = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.quadroMercadoria = new Apresentação.Mercadoria.QuadroFoto();
            this.bandeja = new Apresentação.Mercadoria.Etiqueta.Impressão.BandejaEtiqueta();
            this.quadroBandeja = new Apresentação.Formulários.Quadro();
            this.quadroImpressão = new Apresentação.Formulários.Quadro();
            this.opçãoEditarEtiquetas = new Apresentação.Formulários.Opção();
            this.opçãoImprimir = new Apresentação.Formulários.Opção();
            this.printDlg = new System.Windows.Forms.PrintDialog();
            this.printDoc = new System.Drawing.Printing.PrintDocument();
            this.quadroDica = new Apresentação.Formulários.Quadro();
            this.label3 = new System.Windows.Forms.Label();
            this.esquerda.SuspendLayout();
            this.quadroSeleção.SuspendLayout();
            this.quadroBandeja.SuspendLayout();
            this.quadroImpressão.SuspendLayout();
            this.quadroDica.SuspendLayout();
            this.SuspendLayout();
            // 
            // esquerda
            // 
            this.esquerda.Controls.Add(this.quadroDica);
            this.esquerda.Controls.Add(this.quadroImpressão);
            this.esquerda.Size = new System.Drawing.Size(187, 464);
            this.esquerda.Controls.SetChildIndex(this.quadroImpressão, 0);
            this.esquerda.Controls.SetChildIndex(this.quadroDica, 0);
            // 
            // quadroSeleção
            // 
            this.quadroSeleção.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(239)))), ((int)(((byte)(221)))));
            this.quadroSeleção.bInfDirArredondada = true;
            this.quadroSeleção.bInfEsqArredondada = true;
            this.quadroSeleção.bSupDirArredondada = true;
            this.quadroSeleção.bSupEsqArredondada = true;
            this.quadroSeleção.Controls.Add(this.chkFormatoAutomático);
            this.quadroSeleção.Controls.Add(this.txtPeso);
            this.quadroSeleção.Controls.Add(this.lblPeso);
            this.quadroSeleção.Controls.Add(this.cmdNovo);
            this.quadroSeleção.Controls.Add(this.cmbFormato);
            this.quadroSeleção.Controls.Add(this.txtQuantidade);
            this.quadroSeleção.Controls.Add(this.txtReferência);
            this.quadroSeleção.Controls.Add(this.lblFormato);
            this.quadroSeleção.Controls.Add(this.label1);
            this.quadroSeleção.Controls.Add(this.label2);
            this.quadroSeleção.Cor = System.Drawing.Color.Black;
            this.quadroSeleção.FundoTítulo = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(165)))), ((int)(((byte)(159)))), ((int)(((byte)(97)))));
            this.quadroSeleção.LetraTítulo = System.Drawing.Color.White;
            this.quadroSeleção.Location = new System.Drawing.Point(200, 24);
            this.quadroSeleção.MostrarBotãoMinMax = false;
            this.quadroSeleção.Name = "quadroSeleção";
            this.quadroSeleção.Size = new System.Drawing.Size(352, 168);
            this.quadroSeleção.TabIndex = 0;
            this.quadroSeleção.Tamanho = 30;
            this.quadroSeleção.Título = "Etiqueta a ser impressa";
            // 
            // chkFormatoAutomático
            // 
            this.chkFormatoAutomático.BackColor = System.Drawing.Color.Transparent;
            this.chkFormatoAutomático.Checked = true;
            this.chkFormatoAutomático.CheckState = System.Windows.Forms.CheckState.Checked;
            this.chkFormatoAutomático.Location = new System.Drawing.Point(16, 128);
            this.chkFormatoAutomático.Name = "chkFormatoAutomático";
            this.chkFormatoAutomático.Size = new System.Drawing.Size(240, 40);
            this.chkFormatoAutomático.TabIndex = 9;
            this.chkFormatoAutomático.Text = "Escolher formato automaticamente, conforme escolhas passadas.";
            this.chkFormatoAutomático.UseVisualStyleBackColor = false;
            // 
            // txtPeso
            // 
            this.txtPeso.AllowNegative = false;
            this.txtPeso.DigitsInGroup = 0;
            this.txtPeso.Enabled = false;
            this.txtPeso.Flags = 65536;
            this.txtPeso.Location = new System.Drawing.Point(16, 96);
            this.txtPeso.MaxDecimalPlaces = 1;
            this.txtPeso.MaxWholeDigits = 9;
            this.txtPeso.Name = "txtPeso";
            this.txtPeso.Prefix = "";
            this.txtPeso.RangeMax = 1.7976931348623157E+308;
            this.txtPeso.RangeMin = -1.7976931348623157E+308;
            this.txtPeso.Size = new System.Drawing.Size(152, 20);
            this.txtPeso.TabIndex = 3;
            this.txtPeso.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_KeyDown);
            this.txtPeso.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtPeso_KeyPress);
            // 
            // lblPeso
            // 
            this.lblPeso.Enabled = false;
            this.lblPeso.Location = new System.Drawing.Point(16, 80);
            this.lblPeso.Name = "lblPeso";
            this.lblPeso.Size = new System.Drawing.Size(72, 16);
            this.lblPeso.TabIndex = 2;
            this.lblPeso.Text = "Peso:";
            // 
            // cmdNovo
            // 
            this.cmdNovo.Enabled = false;
            this.cmdNovo.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.cmdNovo.Location = new System.Drawing.Point(264, 136);
            this.cmdNovo.Name = "cmdNovo";
            this.cmdNovo.Size = new System.Drawing.Size(75, 23);
            this.cmdNovo.TabIndex = 6;
            this.cmdNovo.Text = "&Adicionar";
            this.cmdNovo.Click += new System.EventHandler(this.cmdNovo_Click);
            // 
            // cmbFormato
            // 
            this.cmbFormato.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cmbFormato.Location = new System.Drawing.Point(187, 55);
            this.cmbFormato.Name = "cmbFormato";
            this.cmbFormato.Size = new System.Drawing.Size(152, 21);
            this.cmbFormato.Sorted = true;
            this.cmbFormato.TabIndex = 8;
            this.cmbFormato.KeyUp += new System.Windows.Forms.KeyEventHandler(this.cmbFormato_KeyUp);
            // 
            // txtQuantidade
            // 
            this.txtQuantidade.AllowNegative = false;
            this.txtQuantidade.DigitsInGroup = 0;
            this.txtQuantidade.Flags = 65536;
            this.txtQuantidade.Location = new System.Drawing.Point(187, 96);
            this.txtQuantidade.MaxDecimalPlaces = 0;
            this.txtQuantidade.MaxWholeDigits = 9;
            this.txtQuantidade.Name = "txtQuantidade";
            this.txtQuantidade.Prefix = "";
            this.txtQuantidade.RangeMax = 1.7976931348623157E+308;
            this.txtQuantidade.RangeMin = -1.7976931348623157E+308;
            this.txtQuantidade.Size = new System.Drawing.Size(152, 20);
            this.txtQuantidade.TabIndex = 5;
            this.txtQuantidade.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_KeyDown);
            // 
            // txtReferência
            // 
            this.txtReferência.ControlePeso = this.txtPeso;
            this.txtReferência.Location = new System.Drawing.Point(16, 56);
            this.txtReferência.Name = "txtReferência";
            this.txtReferência.Referência = "";
            this.txtReferência.Size = new System.Drawing.Size(152, 20);
            this.txtReferência.TabIndex = 1;
            this.txtReferência.ReferênciaConfirmada += new System.EventHandler(this.txtReferência_ReferênciaConfirmada);
            this.txtReferência.Leave += new System.EventHandler(this.txtReferência_Leave);
            this.txtReferência.ReferênciaAlterada += new System.EventHandler(this.txtReferência_ReferênciaAlterada);
            this.txtReferência.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_KeyDown);
            // 
            // lblFormato
            // 
            this.lblFormato.AutoSize = true;
            this.lblFormato.Location = new System.Drawing.Point(187, 39);
            this.lblFormato.Name = "lblFormato";
            this.lblFormato.Size = new System.Drawing.Size(48, 13);
            this.lblFormato.TabIndex = 7;
            this.lblFormato.Text = "Formato:";
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(16, 42);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(62, 13);
            this.label1.TabIndex = 0;
            this.label1.Text = "Referência:";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(187, 80);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(126, 13);
            this.label2.TabIndex = 4;
            this.label2.Text = "Quantidade de etiquetas:";
            // 
            // quadroMercadoria
            // 
            this.quadroMercadoria.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.quadroMercadoria.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(247)))), ((int)(((byte)(215)))));
            this.quadroMercadoria.bInfDirArredondada = true;
            this.quadroMercadoria.bInfEsqArredondada = true;
            this.quadroMercadoria.bSupDirArredondada = true;
            this.quadroMercadoria.bSupEsqArredondada = true;
            this.quadroMercadoria.Cor = System.Drawing.Color.Black;
            this.quadroMercadoria.FundoTítulo = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(165)))), ((int)(((byte)(159)))), ((int)(((byte)(97)))));
            this.quadroMercadoria.LetraTítulo = System.Drawing.Color.White;
            this.quadroMercadoria.Location = new System.Drawing.Point(568, 24);
            this.quadroMercadoria.MostrarBotãoMinMax = false;
            this.quadroMercadoria.Name = "quadroMercadoria";
            this.quadroMercadoria.Size = new System.Drawing.Size(216, 168);
            this.quadroMercadoria.TabIndex = 11;
            this.quadroMercadoria.Tamanho = 30;
            this.quadroMercadoria.Título = "Mercadoria";
            // 
            // bandeja
            // 
            this.bandeja.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.bandeja.BackColor = System.Drawing.Color.White;
            this.bandeja.Location = new System.Drawing.Point(1, 24);
            this.bandeja.MostrarBarraFerramentas = true;
            this.bandeja.MostrarPreço = false;
            this.bandeja.MostrarSeleçãoTabela = false;
            this.bandeja.MostrarStatus = true;
            this.bandeja.Name = "bandeja";
            this.bandeja.OrdenaçãoReferência = false;
            this.bandeja.PermitirSeleçãoTabela = false;
            this.bandeja.Size = new System.Drawing.Size(582, 207);
            this.bandeja.TabIndex = 6;
            this.bandeja.SaquinhoExcluído += new Apresentação.Mercadoria.Bandeja.Bandeja.SaquinhoHandler(this.bandeja_SaquinhoExcluído);
            this.bandeja.SeleçãoMudou += new Apresentação.Mercadoria.Bandeja.Bandeja.SaquinhoHandler(this.bandeja_SeleçãoMudou);
            // 
            // quadroBandeja
            // 
            this.quadroBandeja.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.quadroBandeja.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(239)))), ((int)(((byte)(221)))));
            this.quadroBandeja.bInfDirArredondada = false;
            this.quadroBandeja.bInfEsqArredondada = false;
            this.quadroBandeja.bSupDirArredondada = true;
            this.quadroBandeja.bSupEsqArredondada = true;
            this.quadroBandeja.Controls.Add(this.bandeja);
            this.quadroBandeja.Cor = System.Drawing.Color.Black;
            this.quadroBandeja.FundoTítulo = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(165)))), ((int)(((byte)(159)))), ((int)(((byte)(97)))));
            this.quadroBandeja.LetraTítulo = System.Drawing.Color.White;
            this.quadroBandeja.Location = new System.Drawing.Point(200, 208);
            this.quadroBandeja.MostrarBotãoMinMax = false;
            this.quadroBandeja.Name = "quadroBandeja";
            this.quadroBandeja.Size = new System.Drawing.Size(584, 232);
            this.quadroBandeja.TabIndex = 12;
            this.quadroBandeja.Tamanho = 30;
            this.quadroBandeja.Título = "Itens a serem impressos";
            // 
            // quadroImpressão
            // 
            this.quadroImpressão.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.quadroImpressão.bInfDirArredondada = true;
            this.quadroImpressão.bInfEsqArredondada = true;
            this.quadroImpressão.bSupDirArredondada = true;
            this.quadroImpressão.bSupEsqArredondada = true;
            this.quadroImpressão.Controls.Add(this.opçãoEditarEtiquetas);
            this.quadroImpressão.Controls.Add(this.opçãoImprimir);
            this.quadroImpressão.Cor = System.Drawing.Color.Black;
            this.quadroImpressão.FundoTítulo = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(165)))), ((int)(((byte)(159)))), ((int)(((byte)(97)))));
            this.quadroImpressão.LetraTítulo = System.Drawing.Color.White;
            this.quadroImpressão.Location = new System.Drawing.Point(7, 139);
            this.quadroImpressão.MostrarBotãoMinMax = false;
            this.quadroImpressão.Name = "quadroImpressão";
            this.quadroImpressão.Size = new System.Drawing.Size(160, 80);
            this.quadroImpressão.TabIndex = 1;
            this.quadroImpressão.Tamanho = 30;
            this.quadroImpressão.Título = "Impressão";
            // 
            // opçãoEditarEtiquetas
            // 
            this.opçãoEditarEtiquetas.BackColor = System.Drawing.Color.Transparent;
            this.opçãoEditarEtiquetas.Descrição = "Editar formatos...";
            this.opçãoEditarEtiquetas.Imagem = ((System.Drawing.Image)(resources.GetObject("opçãoEditarEtiquetas.Imagem")));
            this.opçãoEditarEtiquetas.Location = new System.Drawing.Point(8, 52);
            this.opçãoEditarEtiquetas.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
            this.opçãoEditarEtiquetas.MaximumSize = new System.Drawing.Size(150, 100);
            this.opçãoEditarEtiquetas.MinimumSize = new System.Drawing.Size(150, 16);
            this.opçãoEditarEtiquetas.Name = "opçãoEditarEtiquetas";
            this.opçãoEditarEtiquetas.Size = new System.Drawing.Size(150, 20);
            this.opçãoEditarEtiquetas.TabIndex = 2;
            this.opçãoEditarEtiquetas.Click += new System.EventHandler(this.opçãoEditarEtiquetas_Click);
            // 
            // opçãoImprimir
            // 
            this.opçãoImprimir.BackColor = System.Drawing.Color.Transparent;
            this.opçãoImprimir.Descrição = "Imprimir";
            this.opçãoImprimir.Enabled = false;
            this.opçãoImprimir.Imagem = ((System.Drawing.Image)(resources.GetObject("opçãoImprimir.Imagem")));
            this.opçãoImprimir.Location = new System.Drawing.Point(8, 32);
            this.opçãoImprimir.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
            this.opçãoImprimir.MaximumSize = new System.Drawing.Size(150, 100);
            this.opçãoImprimir.MinimumSize = new System.Drawing.Size(150, 16);
            this.opçãoImprimir.Name = "opçãoImprimir";
            this.opçãoImprimir.Size = new System.Drawing.Size(150, 24);
            this.opçãoImprimir.TabIndex = 1;
            this.opçãoImprimir.Click += new System.EventHandler(this.opçãoImprimir_Click);
            // 
            // printDlg
            // 
            this.printDlg.AllowPrintToFile = false;
            this.printDlg.AllowSomePages = true;
            this.printDlg.Document = this.printDoc;
            // 
            // printDoc
            // 
            this.printDoc.DocumentName = "Etiquetas";
            this.printDoc.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDoc_PrintPage);
            this.printDoc.EndPrint += new System.Drawing.Printing.PrintEventHandler(this.printDoc_EndPrint);
            // 
            // quadroDica
            // 
            this.quadroDica.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.quadroDica.bInfDirArredondada = true;
            this.quadroDica.bInfEsqArredondada = true;
            this.quadroDica.bSupDirArredondada = true;
            this.quadroDica.bSupEsqArredondada = true;
            this.quadroDica.Controls.Add(this.label3);
            this.quadroDica.Cor = System.Drawing.Color.Black;
            this.quadroDica.FundoTítulo = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(165)))), ((int)(((byte)(159)))), ((int)(((byte)(97)))));
            this.quadroDica.LetraTítulo = System.Drawing.Color.White;
            this.quadroDica.Location = new System.Drawing.Point(7, 13);
            this.quadroDica.MostrarBotãoMinMax = false;
            this.quadroDica.Name = "quadroDica";
            this.quadroDica.Size = new System.Drawing.Size(160, 120);
            this.quadroDica.TabIndex = 2;
            this.quadroDica.Tamanho = 30;
            this.quadroDica.Título = "Dica";
            // 
            // label3
            // 
            this.label3.BackColor = System.Drawing.Color.Transparent;
            this.label3.Location = new System.Drawing.Point(8, 32);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(144, 80);
            this.label3.TabIndex = 1;
            this.label3.Text = "Adicione as referências que deseja imprimir, sem se preocupar com o formato do pa" +
                "pel. Deixe que o programa organize a impressão para você.";
            // 
            // Imprimir
            // 
            this.Controls.Add(this.quadroBandeja);
            this.Controls.Add(this.quadroSeleção);
            this.Controls.Add(this.quadroMercadoria);
            this.Imagem = Resource.Etiqueta;
            this.Name = "Imprimir";
            this.Size = new System.Drawing.Size(800, 464);
            this.Controls.SetChildIndex(this.quadroMercadoria, 0);
            this.Controls.SetChildIndex(this.esquerda, 0);
            this.Controls.SetChildIndex(this.quadroSeleção, 0);
            this.Controls.SetChildIndex(this.quadroBandeja, 0);
            this.esquerda.ResumeLayout(false);
            this.quadroSeleção.ResumeLayout(false);
            this.quadroSeleção.PerformLayout();
            this.quadroBandeja.ResumeLayout(false);
            this.quadroImpressão.ResumeLayout(false);
            this.quadroDica.ResumeLayout(false);
            this.ResumeLayout(false);

		}
Exemplo n.º 7
0
 /// <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(frmDayType));
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.cboInsuranceFactor = new System.Windows.Forms.ComboBox();
     this.lblInsuranceFactor = new System.Windows.Forms.Label();
     this.rdoNo = new System.Windows.Forms.RadioButton();
     this.rdoYes = new System.Windows.Forms.RadioButton();
     this.txtFactor = new AMS.TextBox.NumericTextBox();
     this.label4 = new System.Windows.Forms.Label();
     this.txtDayShortName = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.txtDayName = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.lblInsurance = new System.Windows.Forms.Label();
     this.btnSave = new System.Windows.Forms.Button();
     this.btnClose = new System.Windows.Forms.Button();
     this.clrDayColor = new System.Windows.Forms.ColorDialog();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.cboInsuranceFactor);
     this.groupBox2.Controls.Add(this.lblInsuranceFactor);
     this.groupBox2.Controls.Add(this.rdoNo);
     this.groupBox2.Controls.Add(this.rdoYes);
     this.groupBox2.Controls.Add(this.txtFactor);
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Controls.Add(this.txtDayShortName);
     this.groupBox2.Controls.Add(this.label2);
     this.groupBox2.Controls.Add(this.txtDayName);
     this.groupBox2.Controls.Add(this.label1);
     this.groupBox2.Controls.Add(this.lblInsurance);
     this.groupBox2.Location = new System.Drawing.Point(8, 8);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(336, 144);
     this.groupBox2.TabIndex = 21;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "Thông tin kiểu ngày nghỉ";
     //
     // cboInsuranceFactor
     //
     this.cboInsuranceFactor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboInsuranceFactor.Enabled = false;
     this.cboInsuranceFactor.Items.AddRange(new object[] {
     "50%",
     "75%",
     "100%"});
     this.cboInsuranceFactor.Location = new System.Drawing.Point(208, 112);
     this.cboInsuranceFactor.Name = "cboInsuranceFactor";
     this.cboInsuranceFactor.Size = new System.Drawing.Size(121, 21);
     this.cboInsuranceFactor.TabIndex = 22;
     //
     // lblInsuranceFactor
     //
     this.lblInsuranceFactor.Location = new System.Drawing.Point(8, 112);
     this.lblInsuranceFactor.Name = "lblInsuranceFactor";
     this.lblInsuranceFactor.Size = new System.Drawing.Size(112, 23);
     this.lblInsuranceFactor.TabIndex = 21;
     this.lblInsuranceFactor.Text = "Hệ số trợ cấp BHXH";
     //
     // rdoNo
     //
     this.rdoNo.Checked = true;
     this.rdoNo.Location = new System.Drawing.Point(248, 88);
     this.rdoNo.Name = "rdoNo";
     this.rdoNo.Size = new System.Drawing.Size(64, 24);
     this.rdoNo.TabIndex = 20;
     this.rdoNo.TabStop = true;
     this.rdoNo.Text = "Không";
     //
     // rdoYes
     //
     this.rdoYes.Location = new System.Drawing.Point(184, 88);
     this.rdoYes.Name = "rdoYes";
     this.rdoYes.Size = new System.Drawing.Size(48, 24);
     this.rdoYes.TabIndex = 19;
     this.rdoYes.Text = "Có";
     this.rdoYes.CheckedChanged += new System.EventHandler(this.rdoYes_CheckedChanged);
     //
     // txtFactor
     //
     this.txtFactor.AllowNegative = false;
     this.txtFactor.DigitsInGroup = 0;
     this.txtFactor.Flags = 65536;
     this.txtFactor.Location = new System.Drawing.Point(88, 64);
     this.txtFactor.MaxDecimalPlaces = 4;
     this.txtFactor.MaxWholeDigits = 4;
     this.txtFactor.Name = "txtFactor";
     this.txtFactor.Prefix = "";
     this.txtFactor.RangeMax = 10;
     this.txtFactor.RangeMin = 0;
     this.txtFactor.Size = new System.Drawing.Size(64, 20);
     this.txtFactor.TabIndex = 3;
     //
     // label4
     //
     this.label4.Font = new System.Drawing.Font("Tahoma", 8.25F);
     this.label4.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.label4.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.label4.Location = new System.Drawing.Point(8, 64);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(80, 23);
     this.label4.TabIndex = 17;
     this.label4.Text = "Hệ số ngày";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtDayShortName
     //
     this.txtDayShortName.Location = new System.Drawing.Point(88, 40);
     this.txtDayShortName.Name = "txtDayShortName";
     this.txtDayShortName.Size = new System.Drawing.Size(240, 20);
     this.txtDayShortName.TabIndex = 2;
     //
     // label2
     //
     this.label2.Font = new System.Drawing.Font("Tahoma", 8.25F);
     this.label2.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.label2.Location = new System.Drawing.Point(8, 40);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(80, 23);
     this.label2.TabIndex = 1;
     this.label2.Text = "Ký hiệu ngày";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtDayName
     //
     this.txtDayName.Location = new System.Drawing.Point(88, 16);
     this.txtDayName.Name = "txtDayName";
     this.txtDayName.Size = new System.Drawing.Size(240, 20);
     this.txtDayName.TabIndex = 1;
     //
     // label1
     //
     this.label1.Font = new System.Drawing.Font("Tahoma", 8.25F);
     this.label1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.label1.Location = new System.Drawing.Point(8, 16);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(80, 23);
     this.label1.TabIndex = 0;
     this.label1.Text = "Tên kiểu ngày";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblInsurance
     //
     this.lblInsurance.Location = new System.Drawing.Point(6, 88);
     this.lblInsurance.Name = "lblInsurance";
     this.lblInsurance.Size = new System.Drawing.Size(100, 23);
     this.lblInsurance.TabIndex = 18;
     this.lblInsurance.Text = "Trợ cấp BHXH";
     //
     // btnSave
     //
     this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSave.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnSave.Location = new System.Drawing.Point(192, 162);
     this.btnSave.Name = "btnSave";
     this.btnSave.Size = new System.Drawing.Size(75, 23);
     this.btnSave.TabIndex = 6;
     this.btnSave.Text = "Cập nhật";
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // btnClose
     //
     this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnClose.Location = new System.Drawing.Point(274, 162);
     this.btnClose.Name = "btnClose";
     this.btnClose.Size = new System.Drawing.Size(75, 23);
     this.btnClose.TabIndex = 7;
     this.btnClose.Text = "Đóng";
     this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
     //
     // frmDayType
     //
     this.AcceptButton = this.btnSave;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton = this.btnClose;
     this.ClientSize = new System.Drawing.Size(354, 192);
     this.Controls.Add(this.btnClose);
     this.Controls.Add(this.btnSave);
     this.Controls.Add(this.groupBox2);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "frmDayType";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "Định nghĩa kiểu ngày nghỉ";
     this.Load += new System.EventHandler(this.frmDayType_Load);
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(DlgConfigSeleçãoClienteSetor));
			this.assistente = new Apresentação.Formulários.Assistente.AssistenteControle();
			this.painelSetores = new Apresentação.Formulários.Assistente.PainelAssistente();
			this.chkSetores = new System.Windows.Forms.CheckedListBox();
			this.lblEscolha = new System.Windows.Forms.Label();
			this.lblUsuário = new System.Windows.Forms.Label();
			this.lblOlá = new System.Windows.Forms.Label();
			this.painelTempoMáximo = new Apresentação.Formulários.Assistente.PainelAssistente();
			this.lblDias = new System.Windows.Forms.Label();
			this.txtDias = new AMS.TextBox.NumericTextBox();
			this.lblTempoMáximo = new System.Windows.Forms.Label();
			this.lblExplicaçãoTempoMáximo = new System.Windows.Forms.Label();
			this.assistente.SuspendLayout();
			this.painelSetores.SuspendLayout();
			this.painelTempoMáximo.SuspendLayout();
			this.SuspendLayout();
			// 
			// lblTítulo
			// 
			this.lblTítulo.Name = "lblTítulo";
			this.lblTítulo.Size = new System.Drawing.Size(254, 22);
			this.lblTítulo.Text = "Configuração da lista de clientes";
			// 
			// lblDescrição
			// 
			this.lblDescrição.Name = "lblDescrição";
			this.lblDescrição.Size = new System.Drawing.Size(266, 48);
			this.lblDescrição.Text = "Este assistente lhe auxiliará a configurar a lista de cilentes que será exibida.";
			// 
			// picÍcone
			// 
			this.picÍcone.Image = ((System.Drawing.Image)(resources.GetObject("picÍcone.Image")));
			this.picÍcone.Name = "picÍcone";
			// 
			// assistente
			// 
			this.assistente.Controls.Add(this.painelSetores);
			this.assistente.Controls.Add(this.painelTempoMáximo);
			this.assistente.Itens = new Apresentação.Formulários.Assistente.PainelAssistente[] {
																								   this.painelSetores,
																								   this.painelTempoMáximo};
			this.assistente.Location = new System.Drawing.Point(8, 96);
			this.assistente.Name = "assistente";
			this.assistente.Size = new System.Drawing.Size(336, 176);
			this.assistente.TabIndex = 4;
			this.assistente.Terminado += new System.EventHandler(this.assistente_Terminado);
			// 
			// painelSetores
			// 
			this.painelSetores.AutoScroll = true;
			this.painelSetores.Controls.Add(this.chkSetores);
			this.painelSetores.Controls.Add(this.lblEscolha);
			this.painelSetores.Controls.Add(this.lblUsuário);
			this.painelSetores.Controls.Add(this.lblOlá);
			this.painelSetores.Location = new System.Drawing.Point(0, 0);
			this.painelSetores.Name = "painelSetores";
			this.painelSetores.Size = new System.Drawing.Size(336, 144);
			this.painelSetores.TabIndex = 1;
			this.painelSetores.ValidandoTransição += new System.ComponentModel.CancelEventHandler(this.painelSetores_ValidandoTransição);
			// 
			// chkSetores
			// 
			this.chkSetores.CheckOnClick = true;
			this.chkSetores.IntegralHeight = false;
			this.chkSetores.Location = new System.Drawing.Point(88, 48);
			this.chkSetores.Name = "chkSetores";
			this.chkSetores.Size = new System.Drawing.Size(176, 80);
			this.chkSetores.TabIndex = 3;
			// 
			// lblEscolha
			// 
			this.lblEscolha.AutoSize = true;
			this.lblEscolha.Location = new System.Drawing.Point(8, 24);
			this.lblEscolha.Name = "lblEscolha";
			this.lblEscolha.Size = new System.Drawing.Size(254, 16);
			this.lblEscolha.TabIndex = 2;
			this.lblEscolha.Text = "Escolha com quais setores você deseja trabalhar.";
			// 
			// lblUsuário
			// 
			this.lblUsuário.AutoSize = true;
			this.lblUsuário.Location = new System.Drawing.Point(32, 8);
			this.lblUsuário.Name = "lblUsuário";
			this.lblUsuário.Size = new System.Drawing.Size(41, 16);
			this.lblUsuário.TabIndex = 1;
			this.lblUsuário.Text = "usuário";
			// 
			// lblOlá
			// 
			this.lblOlá.AutoSize = true;
			this.lblOlá.Location = new System.Drawing.Point(8, 8);
			this.lblOlá.Name = "lblOlá";
			this.lblOlá.Size = new System.Drawing.Size(25, 16);
			this.lblOlá.TabIndex = 0;
			this.lblOlá.Text = "Olá,";
			// 
			// painelTempoMáximo
			// 
			this.painelTempoMáximo.AutoScroll = true;
			this.painelTempoMáximo.Controls.Add(this.lblDias);
			this.painelTempoMáximo.Controls.Add(this.txtDias);
			this.painelTempoMáximo.Controls.Add(this.lblTempoMáximo);
			this.painelTempoMáximo.Controls.Add(this.lblExplicaçãoTempoMáximo);
			this.painelTempoMáximo.Location = new System.Drawing.Point(0, 0);
			this.painelTempoMáximo.Name = "painelTempoMáximo";
			this.painelTempoMáximo.Size = new System.Drawing.Size(336, 144);
			this.painelTempoMáximo.TabIndex = 2;
			this.painelTempoMáximo.ValidandoTransição += new System.ComponentModel.CancelEventHandler(this.painelTempoMáximo_ValidandoTransição);
			// 
			// lblDias
			// 
			this.lblDias.AutoSize = true;
			this.lblDias.Location = new System.Drawing.Point(216, 80);
			this.lblDias.Name = "lblDias";
			this.lblDias.Size = new System.Drawing.Size(28, 16);
			this.lblDias.TabIndex = 3;
			this.lblDias.Text = "dias.";
			// 
			// txtDias
			// 
			this.txtDias.AllowNegative = true;
			this.txtDias.DigitsInGroup = 0;
			this.txtDias.Flags = 0;
			this.txtDias.Location = new System.Drawing.Point(152, 78);
			this.txtDias.MaxDecimalPlaces = 0;
			this.txtDias.MaxWholeDigits = 5;
			this.txtDias.Name = "txtDias";
			this.txtDias.Prefix = "";
			this.txtDias.RangeMax = 99999;
			this.txtDias.RangeMin = 0;
			this.txtDias.Size = new System.Drawing.Size(56, 20);
			this.txtDias.TabIndex = 2;
			this.txtDias.Text = "90";
			this.txtDias.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// lblTempoMáximo
			// 
			this.lblTempoMáximo.AutoSize = true;
			this.lblTempoMáximo.Location = new System.Drawing.Point(64, 80);
			this.lblTempoMáximo.Name = "lblTempoMáximo";
			this.lblTempoMáximo.Size = new System.Drawing.Size(85, 16);
			this.lblTempoMáximo.TabIndex = 1;
			this.lblTempoMáximo.Text = "Tempo máximo:";
			// 
			// lblExplicaçãoTempoMáximo
			// 
			this.lblExplicaçãoTempoMáximo.Location = new System.Drawing.Point(8, 8);
			this.lblExplicaçãoTempoMáximo.Name = "lblExplicaçãoTempoMáximo";
			this.lblExplicaçãoTempoMáximo.Size = new System.Drawing.Size(320, 40);
			this.lblExplicaçãoTempoMáximo.TabIndex = 0;
			this.lblExplicaçãoTempoMáximo.Text = "Para facilitar a visualização da lista de clientes, você pode especificar um temp" +
				"o máximo com que o cliente tenha visitado a firma para que ele apareça na lista." +
				"";
			// 
			// DlgConfigSeleçãoClienteSetor
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(354, 280);
			this.Controls.Add(this.assistente);
			this.Name = "DlgConfigSeleçãoClienteSetor";
			this.Text = "Lista de Clientes";
			this.Load += new System.EventHandler(this.DlgConfigSeleçãoClienteSetor_Load);
			this.Controls.SetChildIndex(this.assistente, 0);
			this.assistente.ResumeLayout(false);
			this.painelSetores.ResumeLayout(false);
			this.painelTempoMáximo.ResumeLayout(false);
			this.ResumeLayout(false);

		}
Exemplo n.º 9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmStatusOptions));
     this.grbOptions      = new System.Windows.Forms.GroupBox();
     this.txtBoxesPerPage = new AMS.TextBox.NumericTextBox();
     this.label3          = new System.Windows.Forms.Label();
     this.txtBoxHeight    = new AMS.TextBox.NumericTextBox();
     this.label2          = new System.Windows.Forms.Label();
     this.txtBoxWidth     = new AMS.TextBox.NumericTextBox();
     this.label1          = new System.Windows.Forms.Label();
     this.btnOK           = new System.Windows.Forms.Button();
     this.btnClose        = new System.Windows.Forms.Button();
     this.grbOptions.SuspendLayout();
     this.SuspendLayout();
     //
     // grbOptions
     //
     this.grbOptions.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.grbOptions.Controls.Add(this.txtBoxesPerPage);
     this.grbOptions.Controls.Add(this.label3);
     this.grbOptions.Controls.Add(this.txtBoxHeight);
     this.grbOptions.Controls.Add(this.label2);
     this.grbOptions.Controls.Add(this.txtBoxWidth);
     this.grbOptions.Controls.Add(this.label1);
     this.grbOptions.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.grbOptions.Location  = new System.Drawing.Point(8, 8);
     this.grbOptions.Name      = "grbOptions";
     this.grbOptions.Size      = new System.Drawing.Size(224, 96);
     this.grbOptions.TabIndex  = 0;
     this.grbOptions.TabStop   = false;
     this.grbOptions.Text      = "Kích thước ô trạng thái";
     //
     // txtBoxesPerPage
     //
     this.txtBoxesPerPage.AllowNegative = true;
     this.txtBoxesPerPage.Anchor        = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.txtBoxesPerPage.DigitsInGroup    = 0;
     this.txtBoxesPerPage.Flags            = 0;
     this.txtBoxesPerPage.Location         = new System.Drawing.Point(88, 64);
     this.txtBoxesPerPage.MaxDecimalPlaces = 4;
     this.txtBoxesPerPage.MaxWholeDigits   = 9;
     this.txtBoxesPerPage.Name             = "txtBoxesPerPage";
     this.txtBoxesPerPage.Prefix           = "";
     this.txtBoxesPerPage.RangeMax         = 1.7976931348623157E+308;
     this.txtBoxesPerPage.RangeMin         = -1.7976931348623157E+308;
     this.txtBoxesPerPage.Size             = new System.Drawing.Size(124, 20);
     this.txtBoxesPerPage.TabIndex         = 5;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(8, 64);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(80, 23);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Số ô trạng thái";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtBoxHeight
     //
     this.txtBoxHeight.AllowNegative = true;
     this.txtBoxHeight.Anchor        = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                             | System.Windows.Forms.AnchorStyles.Right)));
     this.txtBoxHeight.DigitsInGroup    = 0;
     this.txtBoxHeight.Flags            = 0;
     this.txtBoxHeight.Location         = new System.Drawing.Point(88, 40);
     this.txtBoxHeight.MaxDecimalPlaces = 4;
     this.txtBoxHeight.MaxWholeDigits   = 9;
     this.txtBoxHeight.Name             = "txtBoxHeight";
     this.txtBoxHeight.Prefix           = "";
     this.txtBoxHeight.RangeMax         = 1.7976931348623157E+308;
     this.txtBoxHeight.RangeMin         = -1.7976931348623157E+308;
     this.txtBoxHeight.Size             = new System.Drawing.Size(124, 20);
     this.txtBoxHeight.TabIndex         = 3;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(8, 40);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(80, 23);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "Chiều cao";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtBoxWidth
     //
     this.txtBoxWidth.AllowNegative = true;
     this.txtBoxWidth.Anchor        = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.txtBoxWidth.DigitsInGroup    = 0;
     this.txtBoxWidth.Flags            = 0;
     this.txtBoxWidth.Location         = new System.Drawing.Point(88, 16);
     this.txtBoxWidth.MaxDecimalPlaces = 4;
     this.txtBoxWidth.MaxWholeDigits   = 9;
     this.txtBoxWidth.Name             = "txtBoxWidth";
     this.txtBoxWidth.Prefix           = "";
     this.txtBoxWidth.RangeMax         = 1.7976931348623157E+308;
     this.txtBoxWidth.RangeMin         = -1.7976931348623157E+308;
     this.txtBoxWidth.Size             = new System.Drawing.Size(124, 20);
     this.txtBoxWidth.TabIndex         = 1;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(8, 16);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(80, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Chiều rộng";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // btnOK
     //
     this.btnOK.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnOK.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.btnOK.Location     = new System.Drawing.Point(80, 112);
     this.btnOK.Name         = "btnOK";
     this.btnOK.TabIndex     = 1;
     this.btnOK.Text         = "&Đồng ý";
     this.btnOK.Click       += new System.EventHandler(this.btnOK_Click);
     //
     // btnClose
     //
     this.btnClose.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnClose.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.btnClose.Location     = new System.Drawing.Point(160, 112);
     this.btnClose.Name         = "btnClose";
     this.btnClose.TabIndex     = 2;
     this.btnClose.Text         = "&Đóng";
     this.btnClose.Click       += new System.EventHandler(this.btnClose_Click);
     //
     // frmStatusOptions
     //
     this.AcceptButton      = this.btnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnClose;
     this.ClientSize        = new System.Drawing.Size(240, 142);
     this.Controls.Add(this.btnClose);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.grbOptions);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmStatusOptions";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Tùy chọn hiển thị";
     this.Load           += new System.EventHandler(this.frmStatusOptions_Load);
     this.grbOptions.ResumeLayout(false);
     this.ResumeLayout(false);
 }