diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json index fc52d31..3f6d86b 100644 --- a/.vs/VSWorkspaceState.json +++ b/.vs/VSWorkspaceState.json @@ -1,11 +1,10 @@ { "ExpandedNodes": [ - "" + "", + "\\database", + "\\Properties", + "\\Properties\\DataSources" ], -<<<<<<< HEAD - "SelectedNode": "\\agregarmermas.cs", -======= - "SelectedNode": "\\vender.cs", ->>>>>>> 53dd047ba99d9fe2f8dc36472f5d1441d992e695 + "SelectedNode": "\\database\\DAO.cs", "PreviewInSolutionExplorer": false } \ No newline at end of file diff --git a/.vs/compabetoOG/v17/.wsuo b/.vs/compabetoOG/v17/.wsuo index 58438ad..21a89c9 100644 Binary files a/.vs/compabetoOG/v17/.wsuo and b/.vs/compabetoOG/v17/.wsuo differ diff --git a/bin/Debug/compabetov2.exe b/bin/Debug/compabetov2.exe index 6e8f780..465d98f 100644 Binary files a/bin/Debug/compabetov2.exe and b/bin/Debug/compabetov2.exe differ diff --git a/bin/Debug/compabetov2.pdb b/bin/Debug/compabetov2.pdb index 9e51ada..78a0edc 100644 Binary files a/bin/Debug/compabetov2.pdb and b/bin/Debug/compabetov2.pdb differ diff --git a/envios.Designer.cs b/envios.Designer.cs index 20cd12d..9a301f0 100644 --- a/envios.Designer.cs +++ b/envios.Designer.cs @@ -43,7 +43,6 @@ 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(); @@ -64,6 +63,9 @@ this.timer2 = new System.Windows.Forms.Timer(this.components); this.lblfecha = new System.Windows.Forms.Label(); this.lblhora = new System.Windows.Forms.Label(); + this.responsablecb = new System.Windows.Forms.ComboBox(); + this.comboBox1 = new System.Windows.Forms.ComboBox(); + this.label10 = new System.Windows.Forms.Label(); this.flowLayoutPanel1.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).BeginInit(); @@ -79,23 +81,26 @@ this.flowLayoutPanel1.Controls.Add(this.button4); this.flowLayoutPanel1.Controls.Add(this.button5); this.flowLayoutPanel1.Location = new System.Drawing.Point(-1, 0); + this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; - this.flowLayoutPanel1.Size = new System.Drawing.Size(324, 1061); + this.flowLayoutPanel1.Size = new System.Drawing.Size(243, 862); this.flowLayoutPanel1.TabIndex = 9; // // panel2 // this.panel2.BackColor = System.Drawing.Color.Transparent; this.panel2.Controls.Add(this.pictureBox7); - this.panel2.Location = new System.Drawing.Point(3, 3); + this.panel2.Location = new System.Drawing.Point(2, 2); + this.panel2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(312, 263); + this.panel2.Size = new System.Drawing.Size(234, 214); this.panel2.TabIndex = 8; // // pictureBox7 // this.pictureBox7.Image = global::compabetov2.Properties.Resources.HomeroMenu; - this.pictureBox7.Location = new System.Drawing.Point(64, 35); + this.pictureBox7.Location = new System.Drawing.Point(48, 28); + this.pictureBox7.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.pictureBox7.Name = "pictureBox7"; this.pictureBox7.Size = new System.Drawing.Size(190, 197); this.pictureBox7.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; @@ -107,14 +112,15 @@ this.button1.BackColor = System.Drawing.Color.Transparent; this.button1.FlatAppearance.BorderSize = 0; this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.button1.Font = new System.Drawing.Font("Poppins SemiBold", 15F); + this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F); this.button1.ForeColor = System.Drawing.SystemColors.ButtonHighlight; this.button1.Image = global::compabetov2.Properties.Resources.Menui1; this.button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.button1.Location = new System.Drawing.Point(3, 272); + this.button1.Location = new System.Drawing.Point(2, 220); + this.button1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.button1.Name = "button1"; - this.button1.Padding = new System.Windows.Forms.Padding(50, 0, 0, 0); - this.button1.Size = new System.Drawing.Size(312, 115); + this.button1.Padding = new System.Windows.Forms.Padding(38, 0, 0, 0); + this.button1.Size = new System.Drawing.Size(234, 93); this.button1.TabIndex = 8; this.button1.Text = "MenĂº"; this.button1.UseVisualStyleBackColor = false; @@ -125,14 +131,15 @@ this.button2.BackColor = System.Drawing.Color.Transparent; this.button2.FlatAppearance.BorderSize = 0; this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.button2.Font = new System.Drawing.Font("Poppins SemiBold", 15F); + this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F); this.button2.ForeColor = System.Drawing.SystemColors.ButtonHighlight; this.button2.Image = global::compabetov2.Properties.Resources.estadisticasi; this.button2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.button2.Location = new System.Drawing.Point(3, 393); + this.button2.Location = new System.Drawing.Point(2, 317); + this.button2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.button2.Name = "button2"; - this.button2.Padding = new System.Windows.Forms.Padding(50, 0, 0, 0); - this.button2.Size = new System.Drawing.Size(312, 115); + this.button2.Padding = new System.Windows.Forms.Padding(38, 0, 0, 0); + this.button2.Size = new System.Drawing.Size(234, 93); this.button2.TabIndex = 9; this.button2.Text = "Estadisticas"; this.button2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; @@ -143,14 +150,15 @@ this.button3.BackColor = System.Drawing.Color.Transparent; this.button3.FlatAppearance.BorderSize = 0; this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.button3.Font = new System.Drawing.Font("Poppins SemiBold", 15F); + this.button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F); this.button3.ForeColor = System.Drawing.SystemColors.ButtonHighlight; this.button3.Image = global::compabetov2.Properties.Resources.productoi; this.button3.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.button3.Location = new System.Drawing.Point(3, 514); + this.button3.Location = new System.Drawing.Point(2, 414); + this.button3.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.button3.Name = "button3"; - this.button3.Padding = new System.Windows.Forms.Padding(50, 0, 0, 0); - this.button3.Size = new System.Drawing.Size(312, 115); + this.button3.Padding = new System.Windows.Forms.Padding(38, 0, 0, 0); + this.button3.Size = new System.Drawing.Size(234, 93); this.button3.TabIndex = 10; this.button3.Text = "Productos"; this.button3.UseVisualStyleBackColor = false; @@ -160,14 +168,15 @@ this.button4.BackColor = System.Drawing.Color.Transparent; this.button4.FlatAppearance.BorderSize = 0; this.button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.button4.Font = new System.Drawing.Font("Poppins SemiBold", 15F); + this.button4.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F); this.button4.ForeColor = System.Drawing.SystemColors.ButtonHighlight; this.button4.Image = global::compabetov2.Properties.Resources.reportesi; this.button4.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.button4.Location = new System.Drawing.Point(3, 635); + this.button4.Location = new System.Drawing.Point(2, 511); + this.button4.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.button4.Name = "button4"; - this.button4.Padding = new System.Windows.Forms.Padding(50, 0, 0, 0); - this.button4.Size = new System.Drawing.Size(312, 115); + this.button4.Padding = new System.Windows.Forms.Padding(38, 0, 0, 0); + this.button4.Size = new System.Drawing.Size(234, 93); this.button4.TabIndex = 11; this.button4.Text = "Reportes"; this.button4.UseVisualStyleBackColor = false; @@ -177,82 +186,82 @@ this.button5.BackColor = System.Drawing.Color.Transparent; this.button5.FlatAppearance.BorderSize = 0; this.button5.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.button5.Font = new System.Drawing.Font("Poppins SemiBold", 15F); + this.button5.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F); this.button5.ForeColor = System.Drawing.SystemColors.ButtonHighlight; this.button5.Image = global::compabetov2.Properties.Resources.sesionc; this.button5.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.button5.Location = new System.Drawing.Point(3, 756); + this.button5.Location = new System.Drawing.Point(2, 608); + this.button5.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.button5.Name = "button5"; - this.button5.Padding = new System.Windows.Forms.Padding(50, 0, 0, 0); - this.button5.Size = new System.Drawing.Size(312, 115); + this.button5.Padding = new System.Windows.Forms.Padding(38, 0, 0, 0); + this.button5.Size = new System.Drawing.Size(234, 93); this.button5.TabIndex = 12; 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 25F); + this.textBox1.Location = new System.Drawing.Point(707, 299); + this.textBox1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(365, 70); + this.textBox1.Size = new System.Drawing.Size(275, 45); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F); + this.dateTimePicker1.Location = new System.Drawing.Point(444, 319); + this.dateTimePicker1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.dateTimePicker1.Name = "dateTimePicker1"; - this.dateTimePicker1.Size = new System.Drawing.Size(296, 45); + this.dateTimePicker1.Size = new System.Drawing.Size(223, 30); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 25F); + this.textBox2.Location = new System.Drawing.Point(1023, 302); + this.textBox2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.textBox2.Name = "textBox2"; - this.textBox2.Size = new System.Drawing.Size(365, 70); + this.textBox2.Size = new System.Drawing.Size(275, 45); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 25F); + this.textBox3.Location = new System.Drawing.Point(732, 443); + this.textBox3.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.textBox3.Name = "textBox3"; - this.textBox3.Size = new System.Drawing.Size(365, 70); + this.textBox3.Size = new System.Drawing.Size(275, 45); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 25F); + this.textBox4.Location = new System.Drawing.Point(416, 440); + this.textBox4.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.textBox4.Name = "textBox4"; - this.textBox4.Size = new System.Drawing.Size(365, 70); + this.textBox4.Size = new System.Drawing.Size(275, 45); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 25F); + this.textBox5.Location = new System.Drawing.Point(1030, 443); + this.textBox5.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.textBox5.Name = "textBox5"; - this.textBox5.Size = new System.Drawing.Size(365, 70); + this.textBox5.Size = new System.Drawing.Size(275, 45); 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.Location = new System.Drawing.Point(439, 266); + this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(112, 39); + this.label1.Size = new System.Drawing.Size(90, 31); this.label1.TabIndex = 38; this.label1.Text = "Fecha"; this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter; @@ -262,9 +271,10 @@ 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.Location = new System.Drawing.Point(702, 247); + this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(199, 39); + this.label2.Size = new System.Drawing.Size(160, 31); this.label2.TabIndex = 39; this.label2.Text = "Destinatario"; this.label2.TextAlign = System.Drawing.ContentAlignment.TopCenter; @@ -274,9 +284,10 @@ 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.Location = new System.Drawing.Point(1025, 247); + this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(160, 39); + this.label3.Size = new System.Drawing.Size(128, 31); this.label3.TabIndex = 40; this.label3.Text = "Direccion"; this.label3.TextAlign = System.Drawing.ContentAlignment.TopCenter; @@ -286,9 +297,10 @@ 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.Location = new System.Drawing.Point(411, 396); + this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(134, 39); + this.label4.Size = new System.Drawing.Size(106, 31); this.label4.TabIndex = 41; this.label4.Text = "Colonia"; this.label4.TextAlign = System.Drawing.ContentAlignment.TopCenter; @@ -298,9 +310,10 @@ 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.Location = new System.Drawing.Point(727, 396); + this.label5.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(230, 39); + this.label5.Size = new System.Drawing.Size(183, 31); this.label5.TabIndex = 42; this.label5.Text = "Codigo Postal"; this.label5.TextAlign = System.Drawing.ContentAlignment.TopCenter; @@ -310,9 +323,10 @@ 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.Location = new System.Drawing.Point(1025, 396); + this.label6.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(182, 39); + this.label6.Size = new System.Drawing.Size(146, 31); this.label6.TabIndex = 43; this.label6.Text = "Referencia"; this.label6.TextAlign = System.Drawing.ContentAlignment.TopCenter; @@ -322,9 +336,10 @@ 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.Location = new System.Drawing.Point(419, 516); + this.label7.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(217, 39); + this.label7.Size = new System.Drawing.Size(173, 31); this.label7.TabIndex = 44; this.label7.Text = "Responsable"; this.label7.TextAlign = System.Drawing.ContentAlignment.TopCenter; @@ -334,27 +349,30 @@ 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.Location = new System.Drawing.Point(735, 516); + this.label8.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(150, 39); + this.label8.Size = new System.Drawing.Size(120, 31); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 25F); + this.textBox6.Location = new System.Drawing.Point(732, 564); + this.textBox6.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.textBox6.Name = "textBox6"; - this.textBox6.Size = new System.Drawing.Size(365, 70); + this.textBox6.Size = new System.Drawing.Size(275, 45); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 25F); + this.textBox7.Location = new System.Drawing.Point(1030, 564); + this.textBox7.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.textBox7.Name = "textBox7"; - this.textBox7.Size = new System.Drawing.Size(365, 70); + this.textBox7.Size = new System.Drawing.Size(275, 45); this.textBox7.TabIndex = 47; // // label9 @@ -362,9 +380,10 @@ 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.Location = new System.Drawing.Point(1033, 530); + this.label9.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(150, 39); + this.label9.Size = new System.Drawing.Size(120, 31); this.label9.TabIndex = 48; this.label9.Text = "Telefono"; this.label9.TextAlign = System.Drawing.ContentAlignment.TopCenter; @@ -372,10 +391,10 @@ // 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.Location = new System.Drawing.Point(1095, 662); + this.button9.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.button9.Name = "button9"; - this.button9.Size = new System.Drawing.Size(171, 70); + this.button9.Size = new System.Drawing.Size(128, 57); this.button9.TabIndex = 52; this.button9.Text = "Eliminar"; this.button9.UseVisualStyleBackColor = true; @@ -383,10 +402,10 @@ // 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.Location = new System.Drawing.Point(945, 662); + this.button8.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.button8.Name = "button8"; - this.button8.Size = new System.Drawing.Size(171, 70); + this.button8.Size = new System.Drawing.Size(128, 57); this.button8.TabIndex = 51; this.button8.Text = "Editar"; this.button8.UseVisualStyleBackColor = true; @@ -394,10 +413,10 @@ // 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.Location = new System.Drawing.Point(795, 662); + this.button7.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.button7.Name = "button7"; - this.button7.Size = new System.Drawing.Size(171, 70); + this.button7.Size = new System.Drawing.Size(128, 57); this.button7.TabIndex = 50; this.button7.Text = "Buscar"; this.button7.UseVisualStyleBackColor = true; @@ -405,10 +424,10 @@ // 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.Location = new System.Drawing.Point(646, 662); + this.button6.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.button6.Name = "button6"; - this.button6.Size = new System.Drawing.Size(171, 70); + this.button6.Size = new System.Drawing.Size(128, 57); this.button6.TabIndex = 49; this.button6.Text = "Agregar"; this.button6.UseVisualStyleBackColor = true; @@ -423,9 +442,10 @@ this.lblfecha.AutoSize = true; this.lblfecha.Font = new System.Drawing.Font("Microsoft Sans Serif", 30F); this.lblfecha.ForeColor = System.Drawing.Color.Navy; - this.lblfecha.Location = new System.Drawing.Point(725, 142); + this.lblfecha.Location = new System.Drawing.Point(544, 115); + this.lblfecha.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.lblfecha.Name = "lblfecha"; - this.lblfecha.Size = new System.Drawing.Size(159, 58); + this.lblfecha.Size = new System.Drawing.Size(126, 46); this.lblfecha.TabIndex = 54; this.lblfecha.Text = "label2"; this.lblfecha.TextAlign = System.Drawing.ContentAlignment.TopCenter; @@ -435,17 +455,63 @@ this.lblhora.AutoSize = true; this.lblhora.Font = new System.Drawing.Font("Microsoft Sans Serif", 60F); this.lblhora.ForeColor = System.Drawing.Color.MediumBlue; - this.lblhora.Location = new System.Drawing.Point(913, 23); + this.lblhora.Location = new System.Drawing.Point(685, 19); + this.lblhora.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.lblhora.Name = "lblhora"; - this.lblhora.Size = new System.Drawing.Size(318, 113); + this.lblhora.Size = new System.Drawing.Size(249, 91); this.lblhora.TabIndex = 53; this.lblhora.Text = "label1"; // + // responsablecb + // + this.responsablecb.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F); + this.responsablecb.FormattingEnabled = true; + this.responsablecb.Items.AddRange(new object[] { + "Fabian Herrera", + "Cristofer Perez ", + "Angel Alexander", + "Emilio Urenda"}); + this.responsablecb.Location = new System.Drawing.Point(424, 578); + this.responsablecb.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.responsablecb.Name = "responsablecb"; + this.responsablecb.Size = new System.Drawing.Size(266, 39); + this.responsablecb.TabIndex = 55; + // + // comboBox1 + // + this.comboBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F); + this.comboBox1.FormattingEnabled = true; + this.comboBox1.Items.AddRange(new object[] { + "Enviado", + "Completado"}); + this.comboBox1.Location = new System.Drawing.Point(316, 682); + this.comboBox1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.comboBox1.Name = "comboBox1"; + this.comboBox1.Size = new System.Drawing.Size(266, 39); + this.comboBox1.TabIndex = 56; + // + // label10 + // + this.label10.AutoSize = true; + this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F); + this.label10.ForeColor = System.Drawing.Color.Navy; + this.label10.Location = new System.Drawing.Point(311, 640); + this.label10.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(99, 31); + this.label10.TabIndex = 57; + this.label10.Text = "Estado"; + this.label10.TextAlign = System.Drawing.ContentAlignment.TopCenter; + this.label10.Click += new System.EventHandler(this.label10_Click); + // // envios // - this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1924, 1055); + this.ClientSize = new System.Drawing.Size(1028, 609); + this.Controls.Add(this.label10); + this.Controls.Add(this.comboBox1); + this.Controls.Add(this.responsablecb); this.Controls.Add(this.lblfecha); this.Controls.Add(this.lblhora); this.Controls.Add(this.button9); @@ -463,7 +529,6 @@ 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); @@ -471,9 +536,11 @@ this.Controls.Add(this.dateTimePicker1); this.Controls.Add(this.textBox1); this.Controls.Add(this.flowLayoutPanel1); + this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.Name = "envios"; this.Text = "envios"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; + this.Load += new System.EventHandler(this.envios_Load); this.flowLayoutPanel1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); @@ -499,7 +566,6 @@ 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; @@ -520,5 +586,8 @@ private System.Windows.Forms.Timer timer2; private System.Windows.Forms.Label lblfecha; private System.Windows.Forms.Label lblhora; + private System.Windows.Forms.ComboBox responsablecb; + private System.Windows.Forms.ComboBox comboBox1; + private System.Windows.Forms.Label label10; } } \ No newline at end of file diff --git a/envios.cs b/envios.cs index 70cc171..cb3ed6c 100644 --- a/envios.cs +++ b/envios.cs @@ -53,5 +53,15 @@ namespace compabetov2 lblfecha.Text = DateTime.Now.ToLongDateString(); } + + private void label10_Click(object sender, EventArgs e) + { + + } + + private void envios_Load(object sender, EventArgs e) + { + + } } } diff --git a/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/obj/Debug/DesignTimeResolveAssemblyReferences.cache index 3613537..8020ead 100644 Binary files a/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index eaa118c..248c243 100644 Binary files a/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/obj/Debug/compabetov2.exe b/obj/Debug/compabetov2.exe index 6e8f780..465d98f 100644 Binary files a/obj/Debug/compabetov2.exe and b/obj/Debug/compabetov2.exe differ diff --git a/obj/Debug/compabetov2.pdb b/obj/Debug/compabetov2.pdb index 9e51ada..78a0edc 100644 Binary files a/obj/Debug/compabetov2.pdb and b/obj/Debug/compabetov2.pdb differ diff --git a/vender.Designer.cs b/vender.Designer.cs index 395b751..407a812 100644 --- a/vender.Designer.cs +++ b/vender.Designer.cs @@ -314,7 +314,7 @@ this.bntImprimir.Name = "bntImprimir"; this.bntImprimir.Size = new System.Drawing.Size(56, 19); this.bntImprimir.TabIndex = 17; - this.bntImprimir.Text = "button6"; + this.bntImprimir.Text = "Vender"; this.bntImprimir.UseVisualStyleBackColor = true; this.bntImprimir.Click += new System.EventHandler(this.bntImprimir_Click); // @@ -331,6 +331,7 @@ this.responsablecb.Name = "responsablecb"; this.responsablecb.Size = new System.Drawing.Size(92, 21); this.responsablecb.TabIndex = 18; + this.responsablecb.SelectedIndexChanged += new System.EventHandler(this.responsablecb_SelectedIndexChanged); // // btnFiar // diff --git a/vender.cs b/vender.cs index 5ca3929..990b071 100644 --- a/vender.cs +++ b/vender.cs @@ -330,7 +330,11 @@ namespace compabetov2 } private void vender_Load(object sender, EventArgs e) + + { + bntImprimir.Enabled = false; + responsablecb.SelectedIndexChanged += responsablecb_SelectedIndexChanged; } @@ -646,5 +650,12 @@ namespace compabetov2 return detallesCuentas; } + + private void responsablecb_SelectedIndexChanged(object sender, EventArgs e) + { + bntImprimir.Enabled = responsablecb.SelectedIndex != -1; + + + } } }