From 85d9f5caa941d97ba7a469e66bffe809074b5d99 Mon Sep 17 00:00:00 2001 From: Michael Robles Date: Thu, 28 Dec 2023 17:13:33 -0700 Subject: [PATCH] Buttons --- envios.Designer.cs | 291 +++++++++++++++++++++++++++++++++++++++++++ personal.Designer.cs | 12 -- 2 files changed, 291 insertions(+), 12 deletions(-) diff --git a/envios.Designer.cs b/envios.Designer.cs index 3975f3a..8add4cf 100644 --- a/envios.Designer.cs +++ b/envios.Designer.cs @@ -36,6 +36,28 @@ this.button3 = new System.Windows.Forms.Button(); this.button4 = new System.Windows.Forms.Button(); this.button5 = new System.Windows.Forms.Button(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.textBox3 = new System.Windows.Forms.TextBox(); + this.textBox4 = new System.Windows.Forms.TextBox(); + this.textBox5 = new System.Windows.Forms.TextBox(); + this.textBox8 = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.label8 = new System.Windows.Forms.Label(); + this.textBox6 = new System.Windows.Forms.TextBox(); + this.textBox7 = new System.Windows.Forms.TextBox(); + this.label9 = new System.Windows.Forms.Label(); + this.button9 = new System.Windows.Forms.Button(); + this.button8 = new System.Windows.Forms.Button(); + this.button7 = new System.Windows.Forms.Button(); + this.button6 = new System.Windows.Forms.Button(); this.flowLayoutPanel1.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).BeginInit(); @@ -160,11 +182,257 @@ this.button5.Text = "Salir"; this.button5.UseVisualStyleBackColor = false; // + // textBox1 + // + this.textBox1.Font = new System.Drawing.Font("Poppins", 25F); + this.textBox1.Location = new System.Drawing.Point(943, 368); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(365, 70); + this.textBox1.TabIndex = 10; + // + // dateTimePicker1 + // + this.dateTimePicker1.Font = new System.Drawing.Font("Poppins Medium", 15F); + this.dateTimePicker1.Location = new System.Drawing.Point(592, 393); + this.dateTimePicker1.Name = "dateTimePicker1"; + this.dateTimePicker1.Size = new System.Drawing.Size(296, 45); + this.dateTimePicker1.TabIndex = 29; + // + // textBox2 + // + this.textBox2.Font = new System.Drawing.Font("Poppins", 25F); + this.textBox2.Location = new System.Drawing.Point(1364, 372); + this.textBox2.Name = "textBox2"; + this.textBox2.Size = new System.Drawing.Size(365, 70); + this.textBox2.TabIndex = 30; + // + // textBox3 + // + this.textBox3.Font = new System.Drawing.Font("Poppins", 25F); + this.textBox3.Location = new System.Drawing.Point(976, 545); + this.textBox3.Name = "textBox3"; + this.textBox3.Size = new System.Drawing.Size(365, 70); + this.textBox3.TabIndex = 32; + // + // textBox4 + // + this.textBox4.Font = new System.Drawing.Font("Poppins", 25F); + this.textBox4.Location = new System.Drawing.Point(555, 541); + this.textBox4.Name = "textBox4"; + this.textBox4.Size = new System.Drawing.Size(365, 70); + this.textBox4.TabIndex = 31; + // + // textBox5 + // + this.textBox5.Font = new System.Drawing.Font("Poppins", 25F); + this.textBox5.Location = new System.Drawing.Point(1374, 545); + this.textBox5.Name = "textBox5"; + this.textBox5.Size = new System.Drawing.Size(365, 70); + this.textBox5.TabIndex = 33; + // + // textBox8 + // + this.textBox8.Font = new System.Drawing.Font("Poppins", 25F); + this.textBox8.Location = new System.Drawing.Point(555, 694); + this.textBox8.Name = "textBox8"; + this.textBox8.Size = new System.Drawing.Size(365, 70); + this.textBox8.TabIndex = 34; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F); + this.label1.ForeColor = System.Drawing.Color.Navy; + this.label1.Location = new System.Drawing.Point(585, 327); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(112, 39); + this.label1.TabIndex = 38; + this.label1.Text = "Fecha"; + this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F); + this.label2.ForeColor = System.Drawing.Color.Navy; + this.label2.Location = new System.Drawing.Point(936, 304); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(199, 39); + this.label2.TabIndex = 39; + this.label2.Text = "Destinatario"; + this.label2.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F); + this.label3.ForeColor = System.Drawing.Color.Navy; + this.label3.Location = new System.Drawing.Point(1367, 304); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(160, 39); + this.label3.TabIndex = 40; + this.label3.Text = "Direccion"; + this.label3.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F); + this.label4.ForeColor = System.Drawing.Color.Navy; + this.label4.Location = new System.Drawing.Point(548, 487); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(134, 39); + this.label4.TabIndex = 41; + this.label4.Text = "Colonia"; + this.label4.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F); + this.label5.ForeColor = System.Drawing.Color.Navy; + this.label5.Location = new System.Drawing.Point(969, 487); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(230, 39); + this.label5.TabIndex = 42; + this.label5.Text = "Codigo Postal"; + this.label5.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F); + this.label6.ForeColor = System.Drawing.Color.Navy; + this.label6.Location = new System.Drawing.Point(1367, 487); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(182, 39); + this.label6.TabIndex = 43; + this.label6.Text = "Referencia"; + this.label6.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F); + this.label7.ForeColor = System.Drawing.Color.Navy; + this.label7.Location = new System.Drawing.Point(559, 635); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(217, 39); + this.label7.TabIndex = 44; + this.label7.Text = "Responsable"; + this.label7.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F); + this.label8.ForeColor = System.Drawing.Color.Navy; + this.label8.Location = new System.Drawing.Point(980, 635); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(150, 39); + this.label8.TabIndex = 46; + this.label8.Text = "Telefono"; + this.label8.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // textBox6 + // + this.textBox6.Font = new System.Drawing.Font("Poppins", 25F); + this.textBox6.Location = new System.Drawing.Point(976, 694); + this.textBox6.Name = "textBox6"; + this.textBox6.Size = new System.Drawing.Size(365, 70); + this.textBox6.TabIndex = 45; + // + // textBox7 + // + this.textBox7.Font = new System.Drawing.Font("Poppins", 25F); + this.textBox7.Location = new System.Drawing.Point(1374, 694); + this.textBox7.Name = "textBox7"; + this.textBox7.Size = new System.Drawing.Size(365, 70); + this.textBox7.TabIndex = 47; + // + // label9 + // + this.label9.AutoSize = true; + this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F); + this.label9.ForeColor = System.Drawing.Color.Navy; + this.label9.Location = new System.Drawing.Point(1377, 652); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(150, 39); + this.label9.TabIndex = 48; + this.label9.Text = "Telefono"; + this.label9.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // button9 + // + this.button9.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button9.Location = new System.Drawing.Point(1460, 815); + this.button9.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.button9.Name = "button9"; + this.button9.Size = new System.Drawing.Size(171, 70); + this.button9.TabIndex = 52; + this.button9.Text = "Eliminar"; + this.button9.UseVisualStyleBackColor = true; + // + // button8 + // + this.button8.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button8.Location = new System.Drawing.Point(1260, 815); + this.button8.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.button8.Name = "button8"; + this.button8.Size = new System.Drawing.Size(171, 70); + this.button8.TabIndex = 51; + this.button8.Text = "Editar"; + this.button8.UseVisualStyleBackColor = true; + // + // button7 + // + this.button7.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button7.Location = new System.Drawing.Point(1060, 815); + this.button7.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.button7.Name = "button7"; + this.button7.Size = new System.Drawing.Size(171, 70); + this.button7.TabIndex = 50; + this.button7.Text = "Buscar"; + this.button7.UseVisualStyleBackColor = true; + // + // button6 + // + this.button6.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button6.Location = new System.Drawing.Point(861, 815); + this.button6.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.button6.Name = "button6"; + this.button6.Size = new System.Drawing.Size(171, 70); + this.button6.TabIndex = 49; + this.button6.Text = "Agregar"; + this.button6.UseVisualStyleBackColor = true; + // // envios // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1924, 1055); + this.Controls.Add(this.button9); + this.Controls.Add(this.button8); + this.Controls.Add(this.button7); + this.Controls.Add(this.button6); + this.Controls.Add(this.label9); + this.Controls.Add(this.textBox7); + this.Controls.Add(this.label8); + this.Controls.Add(this.textBox6); + this.Controls.Add(this.label7); + this.Controls.Add(this.label6); + this.Controls.Add(this.label5); + this.Controls.Add(this.label4); + this.Controls.Add(this.label3); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.Controls.Add(this.textBox8); + this.Controls.Add(this.textBox5); + this.Controls.Add(this.textBox3); + this.Controls.Add(this.textBox4); + this.Controls.Add(this.textBox2); + this.Controls.Add(this.dateTimePicker1); + this.Controls.Add(this.textBox1); this.Controls.Add(this.flowLayoutPanel1); this.Name = "envios"; this.Text = "envios"; @@ -174,6 +442,7 @@ this.panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).EndInit(); this.ResumeLayout(false); + this.PerformLayout(); } @@ -187,5 +456,27 @@ private System.Windows.Forms.Button button4; private System.Windows.Forms.Button button5; private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.DateTimePicker dateTimePicker1; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.TextBox textBox3; + private System.Windows.Forms.TextBox textBox4; + private System.Windows.Forms.TextBox textBox5; + private System.Windows.Forms.TextBox textBox8; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.TextBox textBox6; + private System.Windows.Forms.TextBox textBox7; + private System.Windows.Forms.Label label9; + private System.Windows.Forms.Button button9; + private System.Windows.Forms.Button button8; + private System.Windows.Forms.Button button7; + private System.Windows.Forms.Button button6; } } \ No newline at end of file diff --git a/personal.Designer.cs b/personal.Designer.cs index aeb92b8..d7509ec 100644 --- a/personal.Designer.cs +++ b/personal.Designer.cs @@ -38,7 +38,6 @@ this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.txtnombreproducto = new System.Windows.Forms.TextBox(); this.textBox1 = new System.Windows.Forms.TextBox(); - this.textBox2 = new System.Windows.Forms.TextBox(); this.textBox4 = new System.Windows.Forms.TextBox(); this.textBox5 = new System.Windows.Forms.TextBox(); this.textBox6 = new System.Windows.Forms.TextBox(); @@ -206,15 +205,6 @@ this.textBox1.Size = new System.Drawing.Size(299, 55); this.textBox1.TabIndex = 14; // - // textBox2 - // - this.textBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 25F); - this.textBox2.Location = new System.Drawing.Point(882, 147); - this.textBox2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.textBox2.Name = "textBox2"; - this.textBox2.Size = new System.Drawing.Size(299, 55); - this.textBox2.TabIndex = 15; - // // textBox4 // this.textBox4.Font = new System.Drawing.Font("Microsoft Sans Serif", 25F); @@ -510,7 +500,6 @@ this.Controls.Add(this.textBox5); this.Controls.Add(this.textBox6); this.Controls.Add(this.textBox7); - this.Controls.Add(this.textBox2); this.Controls.Add(this.textBox1); this.Controls.Add(this.txtnombreproducto); this.Controls.Add(this.flowLayoutPanel1); @@ -538,7 +527,6 @@ private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; private System.Windows.Forms.TextBox txtnombreproducto; private System.Windows.Forms.TextBox textBox1; - private System.Windows.Forms.TextBox textBox2; private System.Windows.Forms.TextBox textBox4; private System.Windows.Forms.TextBox textBox5; private System.Windows.Forms.TextBox textBox6;