Beispiel #1
0
 public ClientHomeForm()
 {
     InitializeComponent();
     this.CenterToScreen();
     cStringTextBox.Click     += cStringTextBox_Click;
     cStringTextBox.MouseDown += cStringTextBox_Click;
     cStringTextBox.Enter     += cStringTextBox_Click;
     cStringTextBoxPublic      = cStringTextBox;
     headingLabelPublic        = headingLabel;
 }
 /// <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(FrmFrenteDeCaixa));
     this.bunifuMetroTextbox4 = new ns1.BunifuMetroTextbox();
     this.bunifuMetroTextbox5 = new ns1.BunifuMetroTextbox();
     this.bunifuGradientPanel1 = new ns1.BunifuGradientPanel();
     this.bunifuGradientPanel2 = new Bunifu.Framework.UI.BunifuGradientPanel();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.pictureBox3 = new System.Windows.Forms.PictureBox();
     this.label12 = new System.Windows.Forms.Label();
     this.label11 = new System.Windows.Forms.Label();
     this.label10 = new System.Windows.Forms.Label();
     this.textBox4 = new System.Windows.Forms.TextBox();
     this.label9 = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.pictureBox2 = new System.Windows.Forms.PictureBox();
     this.label7 = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.textBox3 = new System.Windows.Forms.TextBox();
     this.textBox2 = new System.Windows.Forms.TextBox();
     this.textBox1 = new System.Windows.Forms.TextBox();
     this.dataGridView1 = new System.Windows.Forms.DataGridView();
     this.label3 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.bunifuMetroTextbox3 = new ns1.BunifuMetroTextbox();
     this.bunifuMetroTextbox2 = new ns1.BunifuMetroTextbox();
     this.bunifuMetroTextbox1 = new ns1.BunifuMetroTextbox();
     this.bunifuTextbox1 = new ns1.BunifuTextbox();
     this.bunifuGradientPanel1.SuspendLayout();
     this.bunifuGradientPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.SuspendLayout();
     //
     // bunifuMetroTextbox4
     //
     this.bunifuMetroTextbox4.BorderColorFocused = System.Drawing.Color.Blue;
     this.bunifuMetroTextbox4.BorderColorIdle = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.bunifuMetroTextbox4.BorderColorMouseHover = System.Drawing.Color.Blue;
     this.bunifuMetroTextbox4.BorderThickness = 3;
     this.bunifuMetroTextbox4.Cursor = System.Windows.Forms.Cursors.IBeam;
     this.bunifuMetroTextbox4.Font = new System.Drawing.Font("Century Gothic", 9.75F);
     this.bunifuMetroTextbox4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.bunifuMetroTextbox4.isPassword = false;
     this.bunifuMetroTextbox4.Location = new System.Drawing.Point(31, 1549);
     this.bunifuMetroTextbox4.Margin = new System.Windows.Forms.Padding(10, 9, 10, 9);
     this.bunifuMetroTextbox4.Name = "bunifuMetroTextbox4";
     this.bunifuMetroTextbox4.Size = new System.Drawing.Size(2862, 193);
     this.bunifuMetroTextbox4.TabIndex = 12;
     this.bunifuMetroTextbox4.Text = "bunifuMetroTextbox4";
     this.bunifuMetroTextbox4.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
     //
     // bunifuMetroTextbox5
     //
     this.bunifuMetroTextbox5.BorderColorFocused = System.Drawing.Color.Blue;
     this.bunifuMetroTextbox5.BorderColorIdle = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.bunifuMetroTextbox5.BorderColorMouseHover = System.Drawing.Color.Blue;
     this.bunifuMetroTextbox5.BorderThickness = 3;
     this.bunifuMetroTextbox5.Cursor = System.Windows.Forms.Cursors.IBeam;
     this.bunifuMetroTextbox5.Font = new System.Drawing.Font("Century Gothic", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.bunifuMetroTextbox5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.bunifuMetroTextbox5.isPassword = false;
     this.bunifuMetroTextbox5.Location = new System.Drawing.Point(31, 1549);
     this.bunifuMetroTextbox5.Margin = new System.Windows.Forms.Padding(10, 9, 10, 9);
     this.bunifuMetroTextbox5.Name = "bunifuMetroTextbox5";
     this.bunifuMetroTextbox5.Size = new System.Drawing.Size(2871, 206);
     this.bunifuMetroTextbox5.TabIndex = 20;
     this.bunifuMetroTextbox5.Text = "020041- BISCOITO DOCE ROSQUINHA -PARATI";
     this.bunifuMetroTextbox5.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
     //
     // bunifuGradientPanel1
     //
     this.bunifuGradientPanel1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bunifuGradientPanel1.BackgroundImage")));
     this.bunifuGradientPanel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.bunifuGradientPanel1.Controls.Add(this.bunifuGradientPanel2);
     this.bunifuGradientPanel1.Controls.Add(this.pictureBox3);
     this.bunifuGradientPanel1.Controls.Add(this.label12);
     this.bunifuGradientPanel1.Controls.Add(this.label11);
     this.bunifuGradientPanel1.Controls.Add(this.label10);
     this.bunifuGradientPanel1.Controls.Add(this.textBox4);
     this.bunifuGradientPanel1.Controls.Add(this.label9);
     this.bunifuGradientPanel1.Controls.Add(this.label8);
     this.bunifuGradientPanel1.Controls.Add(this.pictureBox2);
     this.bunifuGradientPanel1.Controls.Add(this.label7);
     this.bunifuGradientPanel1.Controls.Add(this.label5);
     this.bunifuGradientPanel1.Controls.Add(this.textBox3);
     this.bunifuGradientPanel1.Controls.Add(this.textBox2);
     this.bunifuGradientPanel1.Controls.Add(this.textBox1);
     this.bunifuGradientPanel1.Controls.Add(this.dataGridView1);
     this.bunifuGradientPanel1.Controls.Add(this.label3);
     this.bunifuGradientPanel1.Controls.Add(this.label2);
     this.bunifuGradientPanel1.Controls.Add(this.label1);
     this.bunifuGradientPanel1.Controls.Add(this.bunifuMetroTextbox3);
     this.bunifuGradientPanel1.Controls.Add(this.bunifuMetroTextbox2);
     this.bunifuGradientPanel1.Controls.Add(this.bunifuMetroTextbox1);
     this.bunifuGradientPanel1.Controls.Add(this.bunifuTextbox1);
     this.bunifuGradientPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.bunifuGradientPanel1.GradientBottomLeft = System.Drawing.Color.Empty;
     this.bunifuGradientPanel1.GradientBottomRight = System.Drawing.Color.White;
     this.bunifuGradientPanel1.GradientTopLeft = System.Drawing.Color.White;
     this.bunifuGradientPanel1.GradientTopRight = System.Drawing.Color.White;
     this.bunifuGradientPanel1.Location = new System.Drawing.Point(0, 0);
     this.bunifuGradientPanel1.Name = "bunifuGradientPanel1";
     this.bunifuGradientPanel1.Quality = 10;
     this.bunifuGradientPanel1.Size = new System.Drawing.Size(1231, 813);
     this.bunifuGradientPanel1.TabIndex = 21;
     this.bunifuGradientPanel1.Paint += new System.Windows.Forms.PaintEventHandler(this.bunifuGradientPanel1_Paint);
     //
     // bunifuGradientPanel2
     //
     this.bunifuGradientPanel2.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bunifuGradientPanel2.BackgroundImage")));
     this.bunifuGradientPanel2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.bunifuGradientPanel2.Controls.Add(this.pictureBox1);
     this.bunifuGradientPanel2.GradientBottomLeft = System.Drawing.Color.Gray;
     this.bunifuGradientPanel2.GradientBottomRight = System.Drawing.Color.White;
     this.bunifuGradientPanel2.GradientTopLeft = System.Drawing.Color.White;
     this.bunifuGradientPanel2.GradientTopRight = System.Drawing.Color.White;
     this.bunifuGradientPanel2.Location = new System.Drawing.Point(14, 83);
     this.bunifuGradientPanel2.Name = "bunifuGradientPanel2";
     this.bunifuGradientPanel2.Quality = 10;
     this.bunifuGradientPanel2.Size = new System.Drawing.Size(427, 452);
     this.bunifuGradientPanel2.TabIndex = 50;
     //
     // pictureBox1
     //
     this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
     this.pictureBox1.Image = global::POS_Alessandro.Properties.Resources.sat;
     this.pictureBox1.Location = new System.Drawing.Point(62, 95);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(300, 300);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 0;
     this.pictureBox1.TabStop = false;
     //
     // pictureBox3
     //
     this.pictureBox3.BackColor = System.Drawing.Color.Transparent;
     this.pictureBox3.Image = global::POS_Alessandro.Properties.Resources.icons8_sincronização_da_nuvem_48;
     this.pictureBox3.Location = new System.Drawing.Point(14, 767);
     this.pictureBox3.Name = "pictureBox3";
     this.pictureBox3.Size = new System.Drawing.Size(52, 43);
     this.pictureBox3.TabIndex = 48;
     this.pictureBox3.TabStop = false;
     //
     // label12
     //
     this.label12.AutoSize = true;
     this.label12.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label12.Location = new System.Drawing.Point(235, 618);
     this.label12.Name = "label12";
     this.label12.Size = new System.Drawing.Size(57, 13);
     this.label12.TabIndex = 47;
     this.label12.Text = "Tolta Itens";
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label11.Location = new System.Drawing.Point(154, 618);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(30, 13);
     this.label11.TabIndex = 46;
     this.label11.Text = "Qtde";
     //
     // label10
     //
     this.label10.AutoSize = true;
     this.label10.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label10.Location = new System.Drawing.Point(10, 618);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(35, 13);
     this.label10.TabIndex = 45;
     this.label10.Text = "Preço";
     //
     // textBox4
     //
     this.textBox4.Font = new System.Drawing.Font("Microsoft Sans Serif", 27.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox4.Location = new System.Drawing.Point(13, 705);
     this.textBox4.Multiline = true;
     this.textBox4.Name = "textBox4";
     this.textBox4.Size = new System.Drawing.Size(1209, 49);
     this.textBox4.TabIndex = 44;
     this.textBox4.Text = "020041 - BISCOITO DOCE ROSQUINHA  PARATI";
     this.textBox4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label9.Location = new System.Drawing.Point(1057, 83);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(163, 44);
     this.label9.TabIndex = 43;
     this.label9.Text = "148,81  ";
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 27.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label8.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label8.Location = new System.Drawing.Point(854, 83);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(199, 44);
     this.label8.TabIndex = 42;
     this.label8.Text = "TOTAL R$";
     //
     // pictureBox2
     //
     this.pictureBox2.Location = new System.Drawing.Point(447, 83);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new System.Drawing.Size(401, 43);
     this.pictureBox2.TabIndex = 41;
     this.pictureBox2.TabStop = false;
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.BackColor = System.Drawing.Color.Transparent;
     this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 27.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label7.ForeColor = System.Drawing.SystemColors.MenuHighlight;
     this.label7.Location = new System.Drawing.Point(598, 762);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(112, 42);
     this.label7.TabIndex = 40;
     this.label7.Text = "10:50";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.BackColor = System.Drawing.Color.Transparent;
     this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label5.Location = new System.Drawing.Point(920, 778);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(302, 24);
     this.label5.TabIndex = 38;
     this.label5.Text = "Segunda feira ,21 de maio de 2018";
     //
     // textBox3
     //
     this.textBox3.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox3.Location = new System.Drawing.Point(235, 634);
     this.textBox3.Multiline = true;
     this.textBox3.Name = "textBox3";
     this.textBox3.Size = new System.Drawing.Size(167, 43);
     this.textBox3.TabIndex = 36;
     this.textBox3.Text = "189,00";
     this.textBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // textBox2
     //
     this.textBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox2.Location = new System.Drawing.Point(154, 634);
     this.textBox2.Multiline = true;
     this.textBox2.Name = "textBox2";
     this.textBox2.Size = new System.Drawing.Size(75, 43);
     this.textBox2.TabIndex = 35;
     this.textBox2.Text = "1";
     this.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // textBox1
     //
     this.textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox1.Location = new System.Drawing.Point(10, 634);
     this.textBox1.Multiline = true;
     this.textBox1.Name = "textBox1";
     this.textBox1.Size = new System.Drawing.Size(138, 43);
     this.textBox1.TabIndex = 34;
     this.textBox1.Text = "189,00";
     this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // dataGridView1
     //
     this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.ControlDark;
     this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView1.GridColor = System.Drawing.SystemColors.Info;
     this.dataGridView1.Location = new System.Drawing.Point(448, 128);
     this.dataGridView1.Name = "dataGridView1";
     this.dataGridView1.Size = new System.Drawing.Size(772, 534);
     this.dataGridView1.TabIndex = 33;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.BackColor = System.Drawing.Color.Transparent;
     this.label3.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label3.Location = new System.Drawing.Point(452, 4);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(39, 13);
     this.label3.TabIndex = 31;
     this.label3.Text = "Cliente";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label2.Location = new System.Drawing.Point(304, 4);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(26, 13);
     this.label2.TabIndex = 30;
     this.label2.Text = "Pdv";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.label1.Location = new System.Drawing.Point(15, 4);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(51, 13);
     this.label1.TabIndex = 29;
     this.label1.Text = "Operador";
     //
     // bunifuMetroTextbox3
     //
     this.bunifuMetroTextbox3.BorderColorFocused = System.Drawing.Color.Beige;
     this.bunifuMetroTextbox3.BorderColorIdle = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.bunifuMetroTextbox3.BorderColorMouseHover = System.Drawing.Color.SeaGreen;
     this.bunifuMetroTextbox3.BorderThickness = 3;
     this.bunifuMetroTextbox3.Cursor = System.Windows.Forms.Cursors.IBeam;
     this.bunifuMetroTextbox3.Enabled = false;
     this.bunifuMetroTextbox3.Font = new System.Drawing.Font("Century Gothic", 9.75F);
     this.bunifuMetroTextbox3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.bunifuMetroTextbox3.isPassword = false;
     this.bunifuMetroTextbox3.Location = new System.Drawing.Point(447, 19);
     this.bunifuMetroTextbox3.Margin = new System.Windows.Forms.Padding(4);
     this.bunifuMetroTextbox3.Name = "bunifuMetroTextbox3";
     this.bunifuMetroTextbox3.Size = new System.Drawing.Size(773, 53);
     this.bunifuMetroTextbox3.TabIndex = 28;
     this.bunifuMetroTextbox3.Text = "João Calvacante ";
     this.bunifuMetroTextbox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
     //
     // bunifuMetroTextbox2
     //
     this.bunifuMetroTextbox2.BorderColorFocused = System.Drawing.Color.Beige;
     this.bunifuMetroTextbox2.BorderColorIdle = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.bunifuMetroTextbox2.BorderColorMouseHover = System.Drawing.Color.SeaGreen;
     this.bunifuMetroTextbox2.BorderThickness = 3;
     this.bunifuMetroTextbox2.Cursor = System.Windows.Forms.Cursors.IBeam;
     this.bunifuMetroTextbox2.Enabled = false;
     this.bunifuMetroTextbox2.Font = new System.Drawing.Font("Century Gothic", 9.75F);
     this.bunifuMetroTextbox2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.bunifuMetroTextbox2.isPassword = false;
     this.bunifuMetroTextbox2.Location = new System.Drawing.Point(301, 19);
     this.bunifuMetroTextbox2.Margin = new System.Windows.Forms.Padding(4);
     this.bunifuMetroTextbox2.Name = "bunifuMetroTextbox2";
     this.bunifuMetroTextbox2.Size = new System.Drawing.Size(114, 53);
     this.bunifuMetroTextbox2.TabIndex = 27;
     this.bunifuMetroTextbox2.Text = "005";
     this.bunifuMetroTextbox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
     //
     // bunifuMetroTextbox1
     //
     this.bunifuMetroTextbox1.BorderColorFocused = System.Drawing.Color.Beige;
     this.bunifuMetroTextbox1.BorderColorIdle = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.bunifuMetroTextbox1.BorderColorMouseHover = System.Drawing.Color.SeaGreen;
     this.bunifuMetroTextbox1.BorderThickness = 3;
     this.bunifuMetroTextbox1.Cursor = System.Windows.Forms.Cursors.IBeam;
     this.bunifuMetroTextbox1.Enabled = false;
     this.bunifuMetroTextbox1.Font = new System.Drawing.Font("Century Gothic", 9.75F);
     this.bunifuMetroTextbox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.bunifuMetroTextbox1.isPassword = false;
     this.bunifuMetroTextbox1.Location = new System.Drawing.Point(11, 19);
     this.bunifuMetroTextbox1.Margin = new System.Windows.Forms.Padding(4);
     this.bunifuMetroTextbox1.Name = "bunifuMetroTextbox1";
     this.bunifuMetroTextbox1.Size = new System.Drawing.Size(245, 53);
     this.bunifuMetroTextbox1.TabIndex = 26;
     this.bunifuMetroTextbox1.Text = "Camila Silva";
     this.bunifuMetroTextbox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
     //
     // bunifuTextbox1
     //
     this.bunifuTextbox1.BackColor = System.Drawing.Color.White;
     this.bunifuTextbox1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bunifuTextbox1.BackgroundImage")));
     this.bunifuTextbox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.bunifuTextbox1.ForeColor = System.Drawing.Color.SeaGreen;
     this.bunifuTextbox1.Icon = ((System.Drawing.Image)(resources.GetObject("bunifuTextbox1.Icon")));
     this.bunifuTextbox1.Location = new System.Drawing.Point(11, 541);
     this.bunifuTextbox1.Name = "bunifuTextbox1";
     this.bunifuTextbox1.Size = new System.Drawing.Size(430, 64);
     this.bunifuTextbox1.TabIndex = 25;
     this.bunifuTextbox1.text = "Buscar o Produto";
     //
     // FrmFrenteDeCaixa
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(1231, 813);
     this.Controls.Add(this.bunifuGradientPanel1);
     this.Controls.Add(this.bunifuMetroTextbox5);
     this.Controls.Add(this.bunifuMetroTextbox4);
     this.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
     this.Name = "FrmFrenteDeCaixa";
     this.Text = "Frente De Caixa";
     this.Load += new System.EventHandler(this.Pdv_Load);
     this.bunifuGradientPanel1.ResumeLayout(false);
     this.bunifuGradientPanel1.PerformLayout();
     this.bunifuGradientPanel2.ResumeLayout(false);
     this.bunifuGradientPanel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.ResumeLayout(false);
 }
Beispiel #3
0
        public void EkleForm()
        {
            int lblkonum = 26;
            int txtkonum = 17;

            giris      = new Giris();
            giris.Size = new Size(550, 700);
            giris.Show();
            giris.panel1.Visible = false;
            for (int i = 1; i <= 8; i++)
            {
                Label lbl = new Label();
                ns1.BunifuTileButton   button = new ns1.BunifuTileButton();
                ns1.BunifuMetroTextbox txt    = new ns1.BunifuMetroTextbox();
                lbl.Font     = new Font("Arial", 10, FontStyle.Bold);
                lbl.Location = new Point(18, lblkonum);
                giris.Controls.Add(lbl);
                txt.SetBounds(200, txtkonum, 100, 40);

                if (i == 1)
                {
                    lbl.Text = "AD";
                    txt.Name = "adTxt";
                    txtler.Add(txt.Text);
                    lblkonum        += 80;
                    txtkonum        += 80;
                    button.Location  = new Point(txt.Location.X + 200, txt.Location.Y - 50);
                    button.LabelText = "geri git";
                    button.Click    += Button_Click1;
                    giris.Controls.Add(button);
                }
                if (i == 2)
                {
                    lbl.Text = "SOYAD";
                    txt.Name = "soyadTxt";
                    txtler.Add(txt.Text);
                    lblkonum += 80;
                    txtkonum += 80;
                }
                if (i == 3)
                {
                    lbl.Text = "Kullanıcı Adı";
                    txt.Name = "KullaniciTxt";
                    txtler.Add(txt.Text);
                    lblkonum += 80;
                    txtkonum += 80;
                }
                if (i == 4)
                {
                    lbl.Text = "Telefon";
                    txt.Name = "telefonTxt";
                    txtler.Add(txt.Text);
                    lblkonum += 80;
                    txtkonum += 80;
                }
                if (i == 5)
                {
                    lbl.Text  = "Dogum Tarihi";
                    lblkonum += 80;
                    txtkonum += 80;
                    txtler.Add(txt.Text);
                    dt.Location = new Point(200, 337);
                    giris.Controls.Add(dt);
                    continue;
                }
                if (i == 6)
                {
                    lbl.Text = "Mail Adresi";
                    txt.Name = "mailTxt";
                    txtler.Add(txt.Text);
                    lblkonum += 80;
                    txtkonum += 80;
                }
                if (i == 7)
                {
                    lbl.Text = "Sifre";
                    txt.Name = "sifreTxt";
                    txtler.Add(txt.Text);
                    lblkonum      += 80;
                    txtkonum      += 80;
                    txt.isPassword = true;
                }
                if (i == 8)
                {
                    lbl.Text = "Sifre Tekrar";
                    txt.Name = "txtTekrar";
                    txtler.Add(txt.Text);
                    lblkonum        += 80;
                    txtkonum        += 80;
                    txt.isPassword   = true;
                    button.Location  = new Point(txt.Location.X + 200, txt.Location.Y - 50);
                    button.LabelText = "EKLE";
                    button.Click    += Button_Click;
                    giris.Controls.Add(button);
                }
                giris.Controls.Add(txt);
            }
        }