From 0e8161d9ff0d4ea9a9bc27812d73b28f54793746 Mon Sep 17 00:00:00 2001 From: Michael Robles Date: Tue, 23 Jan 2024 00:43:18 -0700 Subject: [PATCH] =?UTF-8?q?Nuevos=20Dise=C3=B1os?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vs/VSWorkspaceState.json | 7 +- .vs/compabetoOG/v17/.wsuo | Bin 45568 -> 45568 bytes Empleados/AgregarEmpleado1.Designer.cs | 478 ++++++++++++++++++ Empleados/AgregarEmpleado1.cs | 86 ++++ Empleados/AgregarEmpleado1.resx | 120 +++++ Empleados/AgregarLogin.Designer.cs | 35 +- Empleados/AgregarLogin.cs | 5 + Empleados/AgregarLogin1.Designer.cs | 224 ++++++++ Empleados/AgregarLogin1.cs | 69 +++ Empleados/AgregarLogin1.resx | 120 +++++ Empleados/EditarEmpleado.Designer.cs | 325 +++++++----- Empleados/EditarEmpleado.cs | 10 + Empleados/EditarEmpleado1.Designer.cs | 462 +++++++++++++++++ Empleados/EditarEmpleado1.cs | 106 ++++ Empleados/EditarEmpleado1.resx | 120 +++++ Empleados/ModificarContra.Designer.cs | 8 +- Empleados/preguntaLogin.Designer.cs | 36 +- compabetov2.csproj | 27 + .../DesignTimeResolveAssemblyReferences.cache | Bin 139 -> 5498 bytes ...gnTimeResolveAssemblyReferencesInput.cache | Bin 6000 -> 5832 bytes 20 files changed, 2061 insertions(+), 177 deletions(-) create mode 100644 Empleados/AgregarEmpleado1.Designer.cs create mode 100644 Empleados/AgregarEmpleado1.cs create mode 100644 Empleados/AgregarEmpleado1.resx create mode 100644 Empleados/AgregarLogin1.Designer.cs create mode 100644 Empleados/AgregarLogin1.cs create mode 100644 Empleados/AgregarLogin1.resx create mode 100644 Empleados/EditarEmpleado1.Designer.cs create mode 100644 Empleados/EditarEmpleado1.cs create mode 100644 Empleados/EditarEmpleado1.resx diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json index ef240ac..a586758 100644 --- a/.vs/VSWorkspaceState.json +++ b/.vs/VSWorkspaceState.json @@ -1,11 +1,8 @@ { "ExpandedNodes": [ "", - "\\database", - "\\Empleados", - "\\Properties", - "\\Properties\\DataSources" + "\\Empleados" ], - "SelectedNode": "\\database\\service.cs", + "SelectedNode": "\\Empleados\\EditarEmpleado.cs", "PreviewInSolutionExplorer": false } \ No newline at end of file diff --git a/.vs/compabetoOG/v17/.wsuo b/.vs/compabetoOG/v17/.wsuo index fd94a379a62d66b35536346075c9e4d13f1cc5c0..970c0a353b0db9480f281958c104a0099ff449a0 100644 GIT binary patch delta 1469 zcmcgrUu=s}6#wpRb-E4TwyxW(qqJ->-9N2%g49-4$u=WGBPQ+s2;$GOtTfA_4Z_AY z)-x|6bRY5HMYij455+>_0r4mjBYX0+hfNSM=d53;;6Wm8`s?|fbI(2By}x^IWQs?o z_>~IAhbjx11}e*PM*W#wUvYAD@@c~>RtiBLX1B#G*D!V*K4~oB6_O<7BIa;pptT~t zl7mBw+=*C;Sc*tQ6aVSxC-ai=LX0g>$tyv=3LztwA#@1JHKR2qczAy8LUn?ivJ_s9 zyaHiQiBXON{UvIwTD2QfayB8~jBu;58r6DKyA|y=M4gl-NqdoGkyJze66PfW9Sgqb znHYpq9x)OPVc0kQQdNv^~-+N97C9(z)sUG)H-)9c_s;{i9~Ik+7-~Eu7P< z6^Q>!k@8dOQtcFx7ON^HL@M}6B+;QaF^Hv`hWrLGp8nzo&%B^nBw4U(^1fkbp_O?c zD2G`s%*s15H7TE*pR5tVtj2{7ZbKqlC|hHWS2LB|AZf=FJ(u&v|_@%kttRljYUAY zY=qAtBOJZA6jlaJ&~IN1(=l0oz+OJ|S=W0nJ?)A8y42$7aC@P*)?Gu zJ+(;*x=Xt=Oi1q_aEQ5b#>dLMTzIQKGKlxNqr+R^QC}Y9Up)kFNBnONCh%Zfaix!W zX812(WhOCOm!VY}xl+%^nnGF;^7S%hw-$EpDF=UH0l4?;MB{-ETJSWFkNF$4qTxsn zb5;bL4wuVOWplO$s%-XFSHKpiu57clwA)*p>(^Dcx30qn&+vzsABWwNq*2;*(W5bl z9W=w1vrR%iHq9a48G+b9+4rmK=wZU$6=zB(2W4;%+#NE&-BSkrVafNLUY!KtL)Fnx z3A`K3zvT`w<)jwQ4AhJIp8Fc*3|AsNYIpxeGvyptE^^q_Y=Ad6SBnk3j~R?yF$!b< h`?Tndh=^Q^FlAWxH`31cO!n!0@a*zhasGOD?l;QbMqU5_ delta 1373 zcmchW?Mu^96vub(eom)WQ|A-roX@5XH|MiZKWjdw6D3Tdz}XySCM7OJLnWdlEORG< zAV_Xc)~oUoRQO^L1idMtcMV@pJEQdX-PF^6Pe{ zn|EX|2H8>dPy5DLfDak11uvTxJ3g>t@bfA5NUn1|V^83#KG$Q`>2ztR5Lz7iou~~8 z(2}uTqt%koD<}gh6P199^ozyz0aOMm3q@o1Xg(kJky@LgMN}b+!MIe*+0Z*S)ypw< zqITivBwL+Utw+C4YyX@l6l&1obj`QYddY1V9Yl3#*~92Np+QLkdz6W}iOqc92|{BE zz1S8_bnaA+HaHbMp(#Mok)yOcp`jz^YH?&s5j2D)k|Vzb%^!6_N@%Gc!9w)qzXlsI z@o#DE#~JCy!nD%2rG-@!a?1KmD|R;h9%k>O9-tng7Ey#`W4p6l;NXQ)fKAF)EOSi_OxX;EsV;+#%P}<2kr2CNNogYlwV!Y3yjh zHqoUx8$I0|t&)ezN72m{qNolF7OypOeitSiQB7JgG9lz;eH6Pne4ZGGw^s|G@3d70 zttt~$T;%+xJ;=Pm6+J70_2Mam75Dd^!Fb7d9K966k0wJ6Z&-{0TX?Q8EdxDtg~@L= zH>1R^ngI@I!^|q>Aq%Ft`ATek%lqd@y^7dzP3&GJMNSsKM>evXA xBjeZfVw#IdE-vywxf($O-N(%E=}v*Hn|aN|B_6n`O7%)GTHG**02jAYegO320V@Ci diff --git a/Empleados/AgregarEmpleado1.Designer.cs b/Empleados/AgregarEmpleado1.Designer.cs new file mode 100644 index 0000000..5db8768 --- /dev/null +++ b/Empleados/AgregarEmpleado1.Designer.cs @@ -0,0 +1,478 @@ +namespace compabetov2.Empleados +{ + partial class AgregarEmpleado1 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.button1 = new System.Windows.Forms.Button(); + this.lbImg = new System.Windows.Forms.Label(); + this.pictureBox2 = new System.Windows.Forms.PictureBox(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.label12 = new System.Windows.Forms.Label(); + this.cbEstado = new System.Windows.Forms.ComboBox(); + this.label11 = new System.Windows.Forms.Label(); + this.txtTelefono = new System.Windows.Forms.TextBox(); + this.label10 = new System.Windows.Forms.Label(); + this.dtFechaCon = new System.Windows.Forms.DateTimePicker(); + this.label9 = new System.Windows.Forms.Label(); + this.dtFechaNac = new System.Windows.Forms.DateTimePicker(); + this.label8 = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.txtReferencia = new System.Windows.Forms.TextBox(); + this.txtNoInt = new System.Windows.Forms.TextBox(); + this.label6 = new System.Windows.Forms.Label(); + this.txtNoExt = new System.Windows.Forms.TextBox(); + this.label5 = new System.Windows.Forms.Label(); + this.txtCp = new System.Windows.Forms.TextBox(); + this.label4 = new System.Windows.Forms.Label(); + this.txtColonia = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.txtCalle = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); + this.label1 = new System.Windows.Forms.Label(); + this.txtApellido = new System.Windows.Forms.TextBox(); + this.txtNombre = new System.Windows.Forms.TextBox(); + this.label13 = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.SuspendLayout(); + // + // button1 + // + this.button1.Font = new System.Drawing.Font("Poppins", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button1.Location = new System.Drawing.Point(46, 548); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(103, 46); + this.button1.TabIndex = 57; + this.button1.Text = "Subir"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // lbImg + // + this.lbImg.AutoSize = true; + this.lbImg.BackColor = System.Drawing.Color.Transparent; + this.lbImg.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbImg.ForeColor = System.Drawing.Color.Transparent; + this.lbImg.Location = new System.Drawing.Point(161, 550); + this.lbImg.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbImg.Name = "lbImg"; + this.lbImg.Size = new System.Drawing.Size(113, 40); + this.lbImg.TabIndex = 56; + this.lbImg.Text = "Imagen:"; + // + // pictureBox2 + // + this.pictureBox2.BackColor = System.Drawing.Color.Transparent; + this.pictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.pictureBox2.Image = global::compabetov2.Properties.Resources.check1; + this.pictureBox2.Location = new System.Drawing.Point(373, 548); + this.pictureBox2.Name = "pictureBox2"; + this.pictureBox2.Size = new System.Drawing.Size(100, 69); + this.pictureBox2.TabIndex = 55; + this.pictureBox2.TabStop = false; + this.pictureBox2.Click += new System.EventHandler(this.pictureBox2_Click); + // + // pictureBox1 + // + this.pictureBox1.BackColor = System.Drawing.Color.Transparent; + this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.pictureBox1.Image = global::compabetov2.Properties.Resources.cancel1; + this.pictureBox1.Location = new System.Drawing.Point(479, 548); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(100, 69); + this.pictureBox1.TabIndex = 54; + this.pictureBox1.TabStop = false; + this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click); + // + // label12 + // + this.label12.AutoSize = true; + this.label12.BackColor = System.Drawing.Color.Transparent; + this.label12.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label12.ForeColor = System.Drawing.Color.Transparent; + this.label12.Location = new System.Drawing.Point(644, 430); + this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(101, 40); + this.label12.TabIndex = 53; + this.label12.Text = "Estado:"; + // + // cbEstado + // + this.cbEstado.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbEstado.FormattingEnabled = true; + this.cbEstado.Items.AddRange(new object[] { + "Activo", + "Inactivo"}); + this.cbEstado.Location = new System.Drawing.Point(651, 468); + this.cbEstado.Margin = new System.Windows.Forms.Padding(4); + this.cbEstado.Name = "cbEstado"; + this.cbEstado.Size = new System.Drawing.Size(231, 48); + this.cbEstado.TabIndex = 52; + this.cbEstado.Text = "Activo"; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.BackColor = System.Drawing.Color.Transparent; + this.label11.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label11.ForeColor = System.Drawing.Color.Transparent; + this.label11.Location = new System.Drawing.Point(341, 430); + this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(121, 40); + this.label11.TabIndex = 51; + this.label11.Text = "Telefono:"; + // + // txtTelefono + // + this.txtTelefono.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtTelefono.Location = new System.Drawing.Point(348, 474); + this.txtTelefono.Margin = new System.Windows.Forms.Padding(4); + this.txtTelefono.Name = "txtTelefono"; + this.txtTelefono.Size = new System.Drawing.Size(231, 42); + this.txtTelefono.TabIndex = 50; + // + // label10 + // + this.label10.AutoSize = true; + this.label10.BackColor = System.Drawing.Color.Transparent; + this.label10.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label10.ForeColor = System.Drawing.Color.Transparent; + this.label10.Location = new System.Drawing.Point(36, 430); + this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(290, 40); + this.label10.TabIndex = 49; + this.label10.Text = "Fecha de Contratación:"; + // + // dtFechaCon + // + this.dtFechaCon.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.dtFechaCon.Location = new System.Drawing.Point(43, 474); + this.dtFechaCon.Margin = new System.Windows.Forms.Padding(4); + this.dtFechaCon.Name = "dtFechaCon"; + this.dtFechaCon.Size = new System.Drawing.Size(231, 42); + this.dtFechaCon.TabIndex = 48; + // + // label9 + // + this.label9.AutoSize = true; + this.label9.BackColor = System.Drawing.Color.Transparent; + this.label9.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label9.ForeColor = System.Drawing.Color.Transparent; + this.label9.Location = new System.Drawing.Point(644, 349); + this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(269, 40); + this.label9.TabIndex = 47; + this.label9.Text = "Fecha de Nacimiento:"; + // + // dtFechaNac + // + this.dtFechaNac.CalendarFont = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.dtFechaNac.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.dtFechaNac.Location = new System.Drawing.Point(651, 384); + this.dtFechaNac.Margin = new System.Windows.Forms.Padding(4); + this.dtFechaNac.Name = "dtFechaNac"; + this.dtFechaNac.Size = new System.Drawing.Size(231, 42); + this.dtFechaNac.TabIndex = 46; + // + // label8 + // + this.label8.AutoSize = true; + this.label8.BackColor = System.Drawing.Color.Transparent; + this.label8.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label8.ForeColor = System.Drawing.Color.Transparent; + this.label8.Location = new System.Drawing.Point(341, 344); + this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(146, 40); + this.label8.TabIndex = 45; + this.label8.Text = "Referencia:"; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.BackColor = System.Drawing.Color.Transparent; + this.label7.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label7.ForeColor = System.Drawing.Color.Transparent; + this.label7.Location = new System.Drawing.Point(46, 344); + this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(87, 40); + this.label7.TabIndex = 44; + this.label7.Text = "No.Int:"; + // + // txtReferencia + // + this.txtReferencia.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtReferencia.Location = new System.Drawing.Point(348, 384); + this.txtReferencia.Margin = new System.Windows.Forms.Padding(4); + this.txtReferencia.Name = "txtReferencia"; + this.txtReferencia.Size = new System.Drawing.Size(231, 42); + this.txtReferencia.TabIndex = 43; + // + // txtNoInt + // + this.txtNoInt.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtNoInt.Location = new System.Drawing.Point(43, 384); + this.txtNoInt.Margin = new System.Windows.Forms.Padding(4); + this.txtNoInt.Name = "txtNoInt"; + this.txtNoInt.Size = new System.Drawing.Size(231, 42); + this.txtNoInt.TabIndex = 42; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.BackColor = System.Drawing.Color.Transparent; + this.label6.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label6.ForeColor = System.Drawing.Color.Transparent; + this.label6.Location = new System.Drawing.Point(644, 258); + this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(142, 40); + this.label6.TabIndex = 41; + this.label6.Text = "No.Exterior:"; + // + // txtNoExt + // + this.txtNoExt.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtNoExt.Location = new System.Drawing.Point(651, 298); + this.txtNoExt.Margin = new System.Windows.Forms.Padding(4); + this.txtNoExt.Name = "txtNoExt"; + this.txtNoExt.Size = new System.Drawing.Size(231, 42); + this.txtNoExt.TabIndex = 40; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.BackColor = System.Drawing.Color.Transparent; + this.label5.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label5.ForeColor = System.Drawing.Color.Transparent; + this.label5.Location = new System.Drawing.Point(341, 258); + this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(184, 40); + this.label5.TabIndex = 39; + this.label5.Text = "Codigo Postal:"; + // + // txtCp + // + this.txtCp.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtCp.Location = new System.Drawing.Point(348, 298); + this.txtCp.Margin = new System.Windows.Forms.Padding(4); + this.txtCp.Name = "txtCp"; + this.txtCp.Size = new System.Drawing.Size(231, 42); + this.txtCp.TabIndex = 38; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.BackColor = System.Drawing.Color.Transparent; + this.label4.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label4.ForeColor = System.Drawing.Color.Transparent; + this.label4.Location = new System.Drawing.Point(36, 256); + this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(113, 40); + this.label4.TabIndex = 37; + this.label4.Text = "Colonia:"; + // + // txtColonia + // + this.txtColonia.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtColonia.Location = new System.Drawing.Point(43, 298); + this.txtColonia.Margin = new System.Windows.Forms.Padding(4); + this.txtColonia.Name = "txtColonia"; + this.txtColonia.Size = new System.Drawing.Size(231, 42); + this.txtColonia.TabIndex = 36; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.BackColor = System.Drawing.Color.Transparent; + this.label3.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label3.ForeColor = System.Drawing.Color.Transparent; + this.label3.Location = new System.Drawing.Point(644, 171); + this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(113, 40); + this.label3.TabIndex = 35; + this.label3.Text = "Colonia:"; + // + // txtCalle + // + this.txtCalle.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtCalle.Location = new System.Drawing.Point(651, 212); + this.txtCalle.Margin = new System.Windows.Forms.Padding(4); + this.txtCalle.Name = "txtCalle"; + this.txtCalle.Size = new System.Drawing.Size(231, 42); + this.txtCalle.TabIndex = 34; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.BackColor = System.Drawing.Color.Transparent; + this.label2.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label2.ForeColor = System.Drawing.Color.Transparent; + this.label2.Location = new System.Drawing.Point(341, 171); + this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(128, 40); + this.label2.TabIndex = 33; + this.label2.Text = "Apellidos:"; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.BackColor = System.Drawing.Color.Transparent; + this.label1.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label1.ForeColor = System.Drawing.Color.Transparent; + this.label1.Location = new System.Drawing.Point(36, 171); + this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(128, 40); + this.label1.TabIndex = 32; + this.label1.Text = "Nombres:"; + // + // txtApellido + // + this.txtApellido.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtApellido.Location = new System.Drawing.Point(348, 212); + this.txtApellido.Margin = new System.Windows.Forms.Padding(4); + this.txtApellido.Name = "txtApellido"; + this.txtApellido.Size = new System.Drawing.Size(231, 42); + this.txtApellido.TabIndex = 31; + // + // txtNombre + // + this.txtNombre.Font = new System.Drawing.Font("Poppins", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtNombre.Location = new System.Drawing.Point(43, 215); + this.txtNombre.Margin = new System.Windows.Forms.Padding(4); + this.txtNombre.Name = "txtNombre"; + this.txtNombre.Size = new System.Drawing.Size(231, 37); + this.txtNombre.TabIndex = 30; + // + // label13 + // + this.label13.AutoSize = true; + this.label13.BackColor = System.Drawing.Color.Transparent; + this.label13.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label13.ForeColor = System.Drawing.Color.Transparent; + this.label13.Location = new System.Drawing.Point(353, 131); + this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(237, 40); + this.label13.TabIndex = 58; + this.label13.Text = "Agregar Empleado"; + this.label13.TextAlign = System.Drawing.ContentAlignment.TopCenter; + // + // AgregarEmpleado1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(104)))), ((int)(((byte)(255))))); + this.BackgroundImage = global::compabetov2.Properties.Resources.Form; + this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.ClientSize = new System.Drawing.Size(942, 627); + this.Controls.Add(this.label13); + this.Controls.Add(this.button1); + this.Controls.Add(this.lbImg); + this.Controls.Add(this.pictureBox2); + this.Controls.Add(this.pictureBox1); + this.Controls.Add(this.label12); + this.Controls.Add(this.cbEstado); + this.Controls.Add(this.label11); + this.Controls.Add(this.txtTelefono); + this.Controls.Add(this.label10); + this.Controls.Add(this.dtFechaCon); + this.Controls.Add(this.label9); + this.Controls.Add(this.dtFechaNac); + this.Controls.Add(this.label8); + this.Controls.Add(this.label7); + this.Controls.Add(this.txtReferencia); + this.Controls.Add(this.txtNoInt); + this.Controls.Add(this.label6); + this.Controls.Add(this.txtNoExt); + this.Controls.Add(this.label5); + this.Controls.Add(this.txtCp); + this.Controls.Add(this.label4); + this.Controls.Add(this.txtColonia); + this.Controls.Add(this.label3); + this.Controls.Add(this.txtCalle); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.Controls.Add(this.txtApellido); + this.Controls.Add(this.txtNombre); + this.DoubleBuffered = true; + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.Name = "AgregarEmpleado1"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "AgregarEmpleado1"; + this.Load += new System.EventHandler(this.AgregarEmpleado1_Load); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Label lbImg; + private System.Windows.Forms.PictureBox pictureBox2; + private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.Label label12; + private System.Windows.Forms.ComboBox cbEstado; + private System.Windows.Forms.Label label11; + private System.Windows.Forms.TextBox txtTelefono; + private System.Windows.Forms.Label label10; + private System.Windows.Forms.DateTimePicker dtFechaCon; + private System.Windows.Forms.Label label9; + private System.Windows.Forms.DateTimePicker dtFechaNac; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.TextBox txtReferencia; + private System.Windows.Forms.TextBox txtNoInt; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.TextBox txtNoExt; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.TextBox txtCp; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.TextBox txtColonia; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.TextBox txtCalle; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.TextBox txtApellido; + private System.Windows.Forms.TextBox txtNombre; + private System.Windows.Forms.Label label13; + } +} \ No newline at end of file diff --git a/Empleados/AgregarEmpleado1.cs b/Empleados/AgregarEmpleado1.cs new file mode 100644 index 0000000..fe2360a --- /dev/null +++ b/Empleados/AgregarEmpleado1.cs @@ -0,0 +1,86 @@ +using compabetov2.database.modelos; +using compabetov2.database; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace compabetov2.Empleados +{ + public partial class AgregarEmpleado1 : Form + { + private personal ventanaPersonal; + private string imagenPath = ""; + public AgregarEmpleado1(personal ventanaPersonal) + { + InitializeComponent(); + this.ventanaPersonal = ventanaPersonal; + } + + + private void pictureBox2_Click(object sender, EventArgs e) + { + string nombre = txtNombre.Text; + string apellidos = txtApellido.Text; + string calle = txtCalle.Text; + string fechaCon = dtFechaCon.Text; + string estado = cbEstado.Text; + string colonia = txtColonia.Text; + string cp = txtCp.Text; + string noExt = txtNoExt.Text; + string noInt = txtNoInt.Text; + string referencia = txtReferencia.Text; + string fechaNac = dtFechaNac.Text; + string telefono = txtTelefono.Text; + + Empleado empleado = new Empleado(-1, nombre, apellidos, calle, fechaCon, estado, colonia + , cp, noExt, noInt, referencia, fechaNac, telefono, Path.GetFileName(imagenPath)); + + if (service.insertarEmpleado(empleado)) + { + if (!imagenPath.Equals("")) + { + string destinationFolder = Path.Combine(Application.StartupPath, "Resources", "usuarios"); + string destinationFile = Path.Combine(destinationFolder, Path.GetFileName(imagenPath)); + File.Copy(imagenPath, destinationFile, true); + } + + ventanaPersonal.llenarPanel(); + Close(); + } + } + + private void button1_Click(object sender, EventArgs e) + { + OpenFileDialog openFileDialog1 = new OpenFileDialog(); + + openFileDialog1.Filter = "Archivos de imagen (*.jpg, *.jpeg, *.png, *.bmp)|*.jpg;*.jpeg;*.png;*.bmp"; + openFileDialog1.Title = "Seleccionar imagen"; + + if (openFileDialog1.ShowDialog() == DialogResult.OK) + { + imagenPath = openFileDialog1.FileName; + lbImg.Text = $"Imagen: {Path.GetFileName(imagenPath)}"; + string destinationFolder = Path.Combine(Application.StartupPath, "Resources", "usuarios"); + //string destinationFile = Path.Combine(destinationFolder, Path.GetFileName(sourceFile)); + //File.Copy(sourceFile, destinationFile, true); + } + } + + private void AgregarEmpleado1_Load(object sender, EventArgs e) + { + + } + + private void pictureBox1_Click(object sender, EventArgs e) + { + this.Close(); + } + } +} diff --git a/Empleados/AgregarEmpleado1.resx b/Empleados/AgregarEmpleado1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Empleados/AgregarEmpleado1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Empleados/AgregarLogin.Designer.cs b/Empleados/AgregarLogin.Designer.cs index 4e6d484..680816d 100644 --- a/Empleados/AgregarLogin.Designer.cs +++ b/Empleados/AgregarLogin.Designer.cs @@ -64,7 +64,7 @@ this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel4, 0, 3); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); - this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(4); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 5; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 51.07914F)); @@ -80,12 +80,12 @@ this.tableLayoutPanel2.ColumnCount = 3; this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 63.52941F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 36.47059F)); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 125F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 126F)); this.tableLayoutPanel2.Controls.Add(this.btnAceptar, 1, 0); this.tableLayoutPanel2.Controls.Add(this.btnCancelar, 2, 0); this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel2.Location = new System.Drawing.Point(4, 389); - this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(4); this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.RowCount = 1; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); @@ -97,8 +97,8 @@ // this.btnAceptar.Dock = System.Windows.Forms.DockStyle.Fill; this.btnAceptar.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnAceptar.Location = new System.Drawing.Point(219, 4); - this.btnAceptar.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.btnAceptar.Location = new System.Drawing.Point(218, 4); + this.btnAceptar.Margin = new System.Windows.Forms.Padding(4); this.btnAceptar.Name = "btnAceptar"; this.btnAceptar.Size = new System.Drawing.Size(115, 75); this.btnAceptar.TabIndex = 0; @@ -110,10 +110,10 @@ // this.btnCancelar.Dock = System.Windows.Forms.DockStyle.Fill; this.btnCancelar.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnCancelar.Location = new System.Drawing.Point(342, 4); - this.btnCancelar.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.btnCancelar.Location = new System.Drawing.Point(341, 4); + this.btnCancelar.Margin = new System.Windows.Forms.Padding(4); this.btnCancelar.Name = "btnCancelar"; - this.btnCancelar.Size = new System.Drawing.Size(118, 75); + this.btnCancelar.Size = new System.Drawing.Size(119, 75); this.btnCancelar.TabIndex = 1; this.btnCancelar.Text = "Cancelar"; this.btnCancelar.UseVisualStyleBackColor = true; @@ -125,7 +125,7 @@ this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; this.flowLayoutPanel1.Location = new System.Drawing.Point(4, 4); - this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(4); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new System.Drawing.Size(464, 93); this.flowLayoutPanel1.TabIndex = 0; @@ -146,7 +146,7 @@ // this.txtNombre.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtNombre.Location = new System.Drawing.Point(4, 45); - this.txtNombre.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtNombre.Margin = new System.Windows.Forms.Padding(4); this.txtNombre.Name = "txtNombre"; this.txtNombre.Size = new System.Drawing.Size(459, 30); this.txtNombre.TabIndex = 1; @@ -158,7 +158,7 @@ this.flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel2.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; this.flowLayoutPanel2.Location = new System.Drawing.Point(4, 105); - this.flowLayoutPanel2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.flowLayoutPanel2.Margin = new System.Windows.Forms.Padding(4); this.flowLayoutPanel2.Name = "flowLayoutPanel2"; this.flowLayoutPanel2.Size = new System.Drawing.Size(464, 88); this.flowLayoutPanel2.TabIndex = 1; @@ -179,7 +179,7 @@ // this.txtContra.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtContra.Location = new System.Drawing.Point(4, 45); - this.txtContra.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtContra.Margin = new System.Windows.Forms.Padding(4); this.txtContra.Name = "txtContra"; this.txtContra.PasswordChar = '*'; this.txtContra.Size = new System.Drawing.Size(459, 30); @@ -192,7 +192,7 @@ this.flowLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel3.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; this.flowLayoutPanel3.Location = new System.Drawing.Point(4, 201); - this.flowLayoutPanel3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.flowLayoutPanel3.Margin = new System.Windows.Forms.Padding(4); this.flowLayoutPanel3.Name = "flowLayoutPanel3"; this.flowLayoutPanel3.Size = new System.Drawing.Size(464, 93); this.flowLayoutPanel3.TabIndex = 2; @@ -213,7 +213,7 @@ // this.txtContraConf.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtContraConf.Location = new System.Drawing.Point(4, 45); - this.txtContraConf.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtContraConf.Margin = new System.Windows.Forms.Padding(4); this.txtContraConf.Name = "txtContraConf"; this.txtContraConf.PasswordChar = '*'; this.txtContraConf.Size = new System.Drawing.Size(455, 30); @@ -226,7 +226,7 @@ this.flowLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel4.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; this.flowLayoutPanel4.Location = new System.Drawing.Point(4, 302); - this.flowLayoutPanel4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.flowLayoutPanel4.Margin = new System.Windows.Forms.Padding(4); this.flowLayoutPanel4.Name = "flowLayoutPanel4"; this.flowLayoutPanel4.Size = new System.Drawing.Size(464, 79); this.flowLayoutPanel4.TabIndex = 5; @@ -250,7 +250,7 @@ "admin", "empleado"}); this.cbTipo.Location = new System.Drawing.Point(4, 29); - this.cbTipo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.cbTipo.Margin = new System.Windows.Forms.Padding(4); this.cbTipo.Name = "cbTipo"; this.cbTipo.Size = new System.Drawing.Size(160, 33); this.cbTipo.TabIndex = 1; @@ -262,9 +262,10 @@ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(472, 476); this.Controls.Add(this.tableLayoutPanel1); - this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.Margin = new System.Windows.Forms.Padding(4); this.Name = "AgregarLogin"; this.Text = "Crear Login"; + this.Load += new System.EventHandler(this.AgregarLogin_Load); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel2.ResumeLayout(false); this.flowLayoutPanel1.ResumeLayout(false); diff --git a/Empleados/AgregarLogin.cs b/Empleados/AgregarLogin.cs index 0e8a5ef..3da7e8f 100644 --- a/Empleados/AgregarLogin.cs +++ b/Empleados/AgregarLogin.cs @@ -57,5 +57,10 @@ namespace compabetov2 MessageBox.Show("Las cotraseña no coinciden", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } } + + private void AgregarLogin_Load(object sender, EventArgs e) + { + + } } } diff --git a/Empleados/AgregarLogin1.Designer.cs b/Empleados/AgregarLogin1.Designer.cs new file mode 100644 index 0000000..de6312e --- /dev/null +++ b/Empleados/AgregarLogin1.Designer.cs @@ -0,0 +1,224 @@ +namespace compabetov2.Empleados +{ + partial class AgregarLogin1 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.txtNombre = new System.Windows.Forms.TextBox(); + this.txtContra = new System.Windows.Forms.TextBox(); + this.txtContraConf = new System.Windows.Forms.TextBox(); + this.cbTipo = new System.Windows.Forms.ComboBox(); + this.pictureBox2 = new System.Windows.Forms.PictureBox(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + 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(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.SuspendLayout(); + // + // txtNombre + // + this.txtNombre.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtNombre.Location = new System.Drawing.Point(237, 253); + this.txtNombre.Margin = new System.Windows.Forms.Padding(4); + this.txtNombre.Name = "txtNombre"; + this.txtNombre.Size = new System.Drawing.Size(459, 42); + this.txtNombre.TabIndex = 2; + // + // txtContra + // + this.txtContra.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtContra.Location = new System.Drawing.Point(237, 347); + this.txtContra.Margin = new System.Windows.Forms.Padding(4); + this.txtContra.Name = "txtContra"; + this.txtContra.PasswordChar = '*'; + this.txtContra.Size = new System.Drawing.Size(459, 42); + this.txtContra.TabIndex = 3; + // + // txtContraConf + // + this.txtContraConf.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtContraConf.Location = new System.Drawing.Point(237, 439); + this.txtContraConf.Margin = new System.Windows.Forms.Padding(4); + this.txtContraConf.Name = "txtContraConf"; + this.txtContraConf.PasswordChar = '*'; + this.txtContraConf.Size = new System.Drawing.Size(455, 42); + this.txtContraConf.TabIndex = 4; + // + // cbTipo + // + this.cbTipo.Font = new System.Drawing.Font("Poppins", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbTipo.FormattingEnabled = true; + this.cbTipo.Items.AddRange(new object[] { + "admin", + "empleado"}); + this.cbTipo.Location = new System.Drawing.Point(309, 502); + this.cbTipo.Margin = new System.Windows.Forms.Padding(4); + this.cbTipo.Name = "cbTipo"; + this.cbTipo.Size = new System.Drawing.Size(160, 44); + this.cbTipo.TabIndex = 5; + this.cbTipo.Text = "empleado"; + // + // pictureBox2 + // + this.pictureBox2.BackColor = System.Drawing.Color.Transparent; + this.pictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.pictureBox2.Image = global::compabetov2.Properties.Resources.check1; + this.pictureBox2.Location = new System.Drawing.Point(487, 497); + this.pictureBox2.Name = "pictureBox2"; + this.pictureBox2.Size = new System.Drawing.Size(100, 69); + this.pictureBox2.TabIndex = 24; + this.pictureBox2.TabStop = false; + this.pictureBox2.Click += new System.EventHandler(this.pictureBox2_Click); + // + // pictureBox1 + // + this.pictureBox1.BackColor = System.Drawing.Color.Transparent; + this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.pictureBox1.Image = global::compabetov2.Properties.Resources.cancel1; + this.pictureBox1.Location = new System.Drawing.Point(596, 497); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(100, 69); + this.pictureBox1.TabIndex = 23; + this.pictureBox1.TabStop = false; + this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.BackColor = System.Drawing.Color.Transparent; + this.label1.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label1.ForeColor = System.Drawing.Color.Transparent; + this.label1.Location = new System.Drawing.Point(340, 209); + this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(247, 40); + this.label1.TabIndex = 25; + this.label1.Text = "Nombre de Usuario:"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.BackColor = System.Drawing.Color.Transparent; + this.label2.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label2.ForeColor = System.Drawing.Color.Transparent; + this.label2.Location = new System.Drawing.Point(377, 303); + this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(160, 40); + this.label2.TabIndex = 26; + this.label2.Text = "Contraseña:"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.BackColor = System.Drawing.Color.Transparent; + this.label3.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label3.ForeColor = System.Drawing.Color.Transparent; + this.label3.Location = new System.Drawing.Point(320, 395); + this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(282, 40); + this.label3.TabIndex = 27; + this.label3.Text = "Confirmar contraseña:"; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.BackColor = System.Drawing.Color.Transparent; + this.label4.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label4.ForeColor = System.Drawing.Color.Transparent; + this.label4.Location = new System.Drawing.Point(230, 502); + this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(71, 40); + this.label4.TabIndex = 28; + this.label4.Text = "Tipo:"; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.BackColor = System.Drawing.Color.Transparent; + this.label5.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label5.ForeColor = System.Drawing.Color.Transparent; + this.label5.Location = new System.Drawing.Point(377, 148); + this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(180, 40); + this.label5.TabIndex = 29; + this.label5.Text = "Agregar Login"; + // + // AgregarLogin1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(104)))), ((int)(((byte)(255))))); + this.BackgroundImage = global::compabetov2.Properties.Resources.Form; + this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.ClientSize = new System.Drawing.Size(933, 669); + this.ControlBox = false; + 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.pictureBox2); + this.Controls.Add(this.pictureBox1); + this.Controls.Add(this.cbTipo); + this.Controls.Add(this.txtContraConf); + this.Controls.Add(this.txtContra); + this.Controls.Add(this.txtNombre); + this.DoubleBuffered = true; + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.Name = "AgregarLogin1"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Load += new System.EventHandler(this.AgregarLogin1_Load); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.TextBox txtNombre; + private System.Windows.Forms.TextBox txtContra; + private System.Windows.Forms.TextBox txtContraConf; + private System.Windows.Forms.ComboBox cbTipo; + private System.Windows.Forms.PictureBox pictureBox2; + private System.Windows.Forms.PictureBox pictureBox1; + 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; + } +} \ No newline at end of file diff --git a/Empleados/AgregarLogin1.cs b/Empleados/AgregarLogin1.cs new file mode 100644 index 0000000..aa73758 --- /dev/null +++ b/Empleados/AgregarLogin1.cs @@ -0,0 +1,69 @@ +using compabetov2.database.modelos; +using compabetov2.database; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace compabetov2.Empleados +{ + public partial class AgregarLogin1 : Form + { + personal ventanaPadre; + int idEmpleado; + public AgregarLogin1() + { + InitializeComponent(); + InitializeComponent(); + this.ventanaPadre = ventanaPadre; + this.idEmpleado = idEmpleado; + + + } + + private void AgregarLogin1_Load(object sender, EventArgs e) + { + + } + + private void pictureBox2_Click(object sender, EventArgs e) + { + string contra = txtContra.Text; + string contraConf = txtContraConf.Text; + if (contra.Equals(contraConf)) + { + string tipo = cbTipo.Text; + string nombre = txtNombre.Text; + LoginModel loginModel = new LoginModel(nombre, contra, tipo, idEmpleado); + if (service.verificarExistenciaLogin(loginModel)) + { + if (service.crearLogin(loginModel, idEmpleado)) + { + ventanaPadre.llenarPanel(); + Close(); + } + } + else + { + MessageBox.Show("El nombre de usuario ya existe", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + } + + + } + else + { + MessageBox.Show("Las cotraseña no coinciden", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + } + } + + private void pictureBox1_Click(object sender, EventArgs e) + { + this.Close(); + } + } +} diff --git a/Empleados/AgregarLogin1.resx b/Empleados/AgregarLogin1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Empleados/AgregarLogin1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Empleados/EditarEmpleado.Designer.cs b/Empleados/EditarEmpleado.Designer.cs index b1f2fd1..d69de49 100644 --- a/Empleados/EditarEmpleado.Designer.cs +++ b/Empleados/EditarEmpleado.Designer.cs @@ -32,6 +32,9 @@ namespace compabetov2 private void InitializeComponent() { this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); + this.button1 = new System.Windows.Forms.Button(); + this.btnCancelar = new System.Windows.Forms.Button(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.lbNombre = new System.Windows.Forms.Label(); @@ -69,13 +72,11 @@ namespace compabetov2 this.flowLayoutPanel13 = new System.Windows.Forms.FlowLayoutPanel(); this.label8 = new System.Windows.Forms.Label(); this.cbEstado = new System.Windows.Forms.ComboBox(); - this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); - this.button1 = new System.Windows.Forms.Button(); - this.btnCancelar = new System.Windows.Forms.Button(); this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel(); this.btnImg = new System.Windows.Forms.Button(); this.lbImg = new System.Windows.Forms.Label(); this.tableLayoutPanel1.SuspendLayout(); + this.tableLayoutPanel3.SuspendLayout(); this.tableLayoutPanel2.SuspendLayout(); this.flowLayoutPanel1.SuspendLayout(); this.flowLayoutPanel3.SuspendLayout(); @@ -89,7 +90,6 @@ namespace compabetov2 this.flowLayoutPanel11.SuspendLayout(); this.flowLayoutPanel12.SuspendLayout(); this.flowLayoutPanel13.SuspendLayout(); - this.tableLayoutPanel3.SuspendLayout(); this.flowLayoutPanel2.SuspendLayout(); this.SuspendLayout(); // @@ -103,24 +103,69 @@ namespace compabetov2 this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel2, 0, 1); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); + this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 3; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 89.64646F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10.35354F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 70F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(800, 508); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 86F)); + this.tableLayoutPanel1.Size = new System.Drawing.Size(1067, 625); this.tableLayoutPanel1.TabIndex = 0; this.tableLayoutPanel1.Paint += new System.Windows.Forms.PaintEventHandler(this.tableLayoutPanel1_Paint); // + // tableLayoutPanel3 + // + this.tableLayoutPanel3.ColumnCount = 3; + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 83.87574F)); + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.12426F)); + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 148F)); + this.tableLayoutPanel3.Controls.Add(this.button1, 1, 0); + this.tableLayoutPanel3.Controls.Add(this.btnCancelar, 2, 0); + this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel3.Location = new System.Drawing.Point(4, 542); + this.tableLayoutPanel3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.tableLayoutPanel3.Name = "tableLayoutPanel3"; + this.tableLayoutPanel3.RowCount = 1; + this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel3.Size = new System.Drawing.Size(1059, 79); + this.tableLayoutPanel3.TabIndex = 3; + // + // button1 + // + this.button1.Dock = System.Windows.Forms.DockStyle.Fill; + this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button1.Location = new System.Drawing.Point(768, 4); + this.button1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(138, 71); + this.button1.TabIndex = 0; + this.button1.Text = "Editar"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click_1); + // + // btnCancelar + // + this.btnCancelar.Dock = System.Windows.Forms.DockStyle.Fill; + this.btnCancelar.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnCancelar.Location = new System.Drawing.Point(914, 4); + this.btnCancelar.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.btnCancelar.Name = "btnCancelar"; + this.btnCancelar.Size = new System.Drawing.Size(141, 71); + this.btnCancelar.TabIndex = 1; + this.btnCancelar.Text = "Cancelar"; + this.btnCancelar.UseVisualStyleBackColor = true; + this.btnCancelar.Click += new System.EventHandler(this.btnCancelar_Click_1); + // // tableLayoutPanel2 // this.tableLayoutPanel2.ColumnCount = 2; this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 27F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 27F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 27F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 27F)); this.tableLayoutPanel2.Controls.Add(this.flowLayoutPanel1, 0, 0); this.tableLayoutPanel2.Controls.Add(this.flowLayoutPanel3, 1, 0); this.tableLayoutPanel2.Controls.Add(this.flowLayoutPanel4, 0, 1); @@ -134,16 +179,17 @@ namespace compabetov2 this.tableLayoutPanel2.Controls.Add(this.flowLayoutPanel12, 1, 4); this.tableLayoutPanel2.Controls.Add(this.flowLayoutPanel13, 1, 5); this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 3); + this.tableLayoutPanel2.Location = new System.Drawing.Point(4, 4); + this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.RowCount = 6; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 47.40741F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 52.59259F)); - this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 71F)); - this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 63F)); - this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 60F)); - this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 55F)); - this.tableLayoutPanel2.Size = new System.Drawing.Size(794, 386); + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 87F)); + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 78F)); + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 74F)); + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 68F)); + this.tableLayoutPanel2.Size = new System.Drawing.Size(1059, 475); this.tableLayoutPanel2.TabIndex = 1; // // flowLayoutPanel1 @@ -152,27 +198,30 @@ namespace compabetov2 this.flowLayoutPanel1.Controls.Add(this.txtNombre); this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; - this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 3); + this.flowLayoutPanel1.Location = new System.Drawing.Point(4, 4); + this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; - this.flowLayoutPanel1.Size = new System.Drawing.Size(391, 58); + this.flowLayoutPanel1.Size = new System.Drawing.Size(521, 71); this.flowLayoutPanel1.TabIndex = 0; // // lbNombre // this.lbNombre.AutoSize = true; this.lbNombre.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lbNombre.Location = new System.Drawing.Point(3, 0); + this.lbNombre.Location = new System.Drawing.Point(4, 0); + this.lbNombre.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lbNombre.Name = "lbNombre"; - this.lbNombre.Size = new System.Drawing.Size(69, 20); + this.lbNombre.Size = new System.Drawing.Size(87, 25); this.lbNombre.TabIndex = 0; this.lbNombre.Text = "Nombre:"; // // txtNombre // this.txtNombre.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.txtNombre.Location = new System.Drawing.Point(3, 23); + this.txtNombre.Location = new System.Drawing.Point(4, 29); + this.txtNombre.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.txtNombre.Name = "txtNombre"; - this.txtNombre.Size = new System.Drawing.Size(388, 26); + this.txtNombre.Size = new System.Drawing.Size(516, 30); this.txtNombre.TabIndex = 1; // // flowLayoutPanel3 @@ -181,9 +230,10 @@ namespace compabetov2 this.flowLayoutPanel3.Controls.Add(this.txtApellido); this.flowLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel3.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; - this.flowLayoutPanel3.Location = new System.Drawing.Point(400, 3); + this.flowLayoutPanel3.Location = new System.Drawing.Point(533, 4); + this.flowLayoutPanel3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.flowLayoutPanel3.Name = "flowLayoutPanel3"; - this.flowLayoutPanel3.Size = new System.Drawing.Size(391, 58); + this.flowLayoutPanel3.Size = new System.Drawing.Size(522, 71); this.flowLayoutPanel3.TabIndex = 1; // // lbApellidos @@ -191,18 +241,20 @@ namespace compabetov2 this.lbApellidos.AutoSize = true; this.lbApellidos.Dock = System.Windows.Forms.DockStyle.Top; this.lbApellidos.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lbApellidos.Location = new System.Drawing.Point(3, 0); + this.lbApellidos.Location = new System.Drawing.Point(4, 0); + this.lbApellidos.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lbApellidos.Name = "lbApellidos"; - this.lbApellidos.Size = new System.Drawing.Size(388, 20); + this.lbApellidos.Size = new System.Drawing.Size(516, 25); this.lbApellidos.TabIndex = 0; this.lbApellidos.Text = "Apellidos:"; // // txtApellido // this.txtApellido.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.txtApellido.Location = new System.Drawing.Point(3, 23); + this.txtApellido.Location = new System.Drawing.Point(4, 29); + this.txtApellido.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.txtApellido.Name = "txtApellido"; - this.txtApellido.Size = new System.Drawing.Size(388, 26); + this.txtApellido.Size = new System.Drawing.Size(516, 30); this.txtApellido.TabIndex = 1; // // flowLayoutPanel4 @@ -211,9 +263,10 @@ namespace compabetov2 this.flowLayoutPanel4.Controls.Add(this.txtCalle); this.flowLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel4.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; - this.flowLayoutPanel4.Location = new System.Drawing.Point(3, 67); + this.flowLayoutPanel4.Location = new System.Drawing.Point(4, 83); + this.flowLayoutPanel4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.flowLayoutPanel4.Name = "flowLayoutPanel4"; - this.flowLayoutPanel4.Size = new System.Drawing.Size(391, 66); + this.flowLayoutPanel4.Size = new System.Drawing.Size(521, 80); this.flowLayoutPanel4.TabIndex = 2; // // lbCalle @@ -221,18 +274,20 @@ namespace compabetov2 this.lbCalle.AutoSize = true; this.lbCalle.Dock = System.Windows.Forms.DockStyle.Top; this.lbCalle.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lbCalle.Location = new System.Drawing.Point(3, 0); + this.lbCalle.Location = new System.Drawing.Point(4, 0); + this.lbCalle.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lbCalle.Name = "lbCalle"; - this.lbCalle.Size = new System.Drawing.Size(388, 20); + this.lbCalle.Size = new System.Drawing.Size(516, 25); this.lbCalle.TabIndex = 0; this.lbCalle.Text = "Calle:"; // // txtCalle // this.txtCalle.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.txtCalle.Location = new System.Drawing.Point(3, 23); + this.txtCalle.Location = new System.Drawing.Point(4, 29); + this.txtCalle.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.txtCalle.Name = "txtCalle"; - this.txtCalle.Size = new System.Drawing.Size(388, 26); + this.txtCalle.Size = new System.Drawing.Size(516, 30); this.txtCalle.TabIndex = 1; // // flowLayoutPanel5 @@ -241,9 +296,10 @@ namespace compabetov2 this.flowLayoutPanel5.Controls.Add(this.txtCp); this.flowLayoutPanel5.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel5.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; - this.flowLayoutPanel5.Location = new System.Drawing.Point(3, 139); + this.flowLayoutPanel5.Location = new System.Drawing.Point(4, 171); + this.flowLayoutPanel5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.flowLayoutPanel5.Name = "flowLayoutPanel5"; - this.flowLayoutPanel5.Size = new System.Drawing.Size(391, 65); + this.flowLayoutPanel5.Size = new System.Drawing.Size(521, 79); this.flowLayoutPanel5.TabIndex = 3; // // lbCp @@ -251,18 +307,20 @@ namespace compabetov2 this.lbCp.AutoSize = true; this.lbCp.Dock = System.Windows.Forms.DockStyle.Top; this.lbCp.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lbCp.Location = new System.Drawing.Point(3, 0); + this.lbCp.Location = new System.Drawing.Point(4, 0); + this.lbCp.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lbCp.Name = "lbCp"; - this.lbCp.Size = new System.Drawing.Size(388, 20); + this.lbCp.Size = new System.Drawing.Size(516, 25); this.lbCp.TabIndex = 0; this.lbCp.Text = "Codigo postal:"; // // txtCp // this.txtCp.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.txtCp.Location = new System.Drawing.Point(3, 23); + this.txtCp.Location = new System.Drawing.Point(4, 29); + this.txtCp.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.txtCp.Name = "txtCp"; - this.txtCp.Size = new System.Drawing.Size(388, 26); + this.txtCp.Size = new System.Drawing.Size(516, 30); this.txtCp.TabIndex = 1; // // flowLayoutPanel6 @@ -271,9 +329,10 @@ namespace compabetov2 this.flowLayoutPanel6.Controls.Add(this.txtNoInt); this.flowLayoutPanel6.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel6.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; - this.flowLayoutPanel6.Location = new System.Drawing.Point(3, 210); + this.flowLayoutPanel6.Location = new System.Drawing.Point(4, 258); + this.flowLayoutPanel6.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.flowLayoutPanel6.Name = "flowLayoutPanel6"; - this.flowLayoutPanel6.Size = new System.Drawing.Size(391, 57); + this.flowLayoutPanel6.Size = new System.Drawing.Size(521, 70); this.flowLayoutPanel6.TabIndex = 4; // // label3 @@ -281,18 +340,20 @@ namespace compabetov2 this.label3.AutoSize = true; this.label3.Dock = System.Windows.Forms.DockStyle.Top; this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label3.Location = new System.Drawing.Point(3, 0); + this.label3.Location = new System.Drawing.Point(4, 0); + this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(388, 20); + this.label3.Size = new System.Drawing.Size(516, 25); this.label3.TabIndex = 0; this.label3.Text = "Numero Interior:"; // // txtNoInt // this.txtNoInt.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.txtNoInt.Location = new System.Drawing.Point(3, 23); + this.txtNoInt.Location = new System.Drawing.Point(4, 29); + this.txtNoInt.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.txtNoInt.Name = "txtNoInt"; - this.txtNoInt.Size = new System.Drawing.Size(388, 26); + this.txtNoInt.Size = new System.Drawing.Size(516, 30); this.txtNoInt.TabIndex = 1; // // flowLayoutPanel7 @@ -301,9 +362,10 @@ namespace compabetov2 this.flowLayoutPanel7.Controls.Add(this.dtFechaNac); this.flowLayoutPanel7.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel7.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; - this.flowLayoutPanel7.Location = new System.Drawing.Point(3, 273); + this.flowLayoutPanel7.Location = new System.Drawing.Point(4, 336); + this.flowLayoutPanel7.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.flowLayoutPanel7.Name = "flowLayoutPanel7"; - this.flowLayoutPanel7.Size = new System.Drawing.Size(391, 54); + this.flowLayoutPanel7.Size = new System.Drawing.Size(521, 66); this.flowLayoutPanel7.TabIndex = 5; // // label5 @@ -311,9 +373,10 @@ namespace compabetov2 this.label5.AutoSize = true; this.label5.Dock = System.Windows.Forms.DockStyle.Top; this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label5.Location = new System.Drawing.Point(3, 0); + this.label5.Location = new System.Drawing.Point(4, 0); + this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(388, 20); + this.label5.Size = new System.Drawing.Size(516, 25); this.label5.TabIndex = 0; this.label5.Text = "Fecha de nacimiento:"; // @@ -321,9 +384,10 @@ namespace compabetov2 // this.dtFechaNac.CalendarFont = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dtFechaNac.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.dtFechaNac.Location = new System.Drawing.Point(3, 23); + this.dtFechaNac.Location = new System.Drawing.Point(4, 29); + this.dtFechaNac.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.dtFechaNac.Name = "dtFechaNac"; - this.dtFechaNac.Size = new System.Drawing.Size(388, 26); + this.dtFechaNac.Size = new System.Drawing.Size(516, 30); this.dtFechaNac.TabIndex = 1; // // flowLayoutPanel8 @@ -332,9 +396,10 @@ namespace compabetov2 this.flowLayoutPanel8.Controls.Add(this.txtTelefono); this.flowLayoutPanel8.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel8.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; - this.flowLayoutPanel8.Location = new System.Drawing.Point(3, 333); + this.flowLayoutPanel8.Location = new System.Drawing.Point(4, 410); + this.flowLayoutPanel8.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.flowLayoutPanel8.Name = "flowLayoutPanel8"; - this.flowLayoutPanel8.Size = new System.Drawing.Size(391, 50); + this.flowLayoutPanel8.Size = new System.Drawing.Size(521, 61); this.flowLayoutPanel8.TabIndex = 6; // // label7 @@ -342,18 +407,20 @@ namespace compabetov2 this.label7.AutoSize = true; this.label7.Dock = System.Windows.Forms.DockStyle.Top; this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label7.Location = new System.Drawing.Point(3, 0); + this.label7.Location = new System.Drawing.Point(4, 0); + this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(388, 20); + this.label7.Size = new System.Drawing.Size(95, 25); this.label7.TabIndex = 0; this.label7.Text = "Telefono:"; // // txtTelefono // this.txtTelefono.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.txtTelefono.Location = new System.Drawing.Point(3, 23); + this.txtTelefono.Location = new System.Drawing.Point(107, 4); + this.txtTelefono.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.txtTelefono.Name = "txtTelefono"; - this.txtTelefono.Size = new System.Drawing.Size(388, 24); + this.txtTelefono.Size = new System.Drawing.Size(516, 29); this.txtTelefono.TabIndex = 1; // // flowLayoutPanel9 @@ -362,9 +429,10 @@ namespace compabetov2 this.flowLayoutPanel9.Controls.Add(this.txtColonia); this.flowLayoutPanel9.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel9.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; - this.flowLayoutPanel9.Location = new System.Drawing.Point(400, 67); + this.flowLayoutPanel9.Location = new System.Drawing.Point(533, 83); + this.flowLayoutPanel9.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.flowLayoutPanel9.Name = "flowLayoutPanel9"; - this.flowLayoutPanel9.Size = new System.Drawing.Size(391, 66); + this.flowLayoutPanel9.Size = new System.Drawing.Size(522, 80); this.flowLayoutPanel9.TabIndex = 7; // // lbColonia @@ -372,18 +440,20 @@ namespace compabetov2 this.lbColonia.AutoSize = true; this.lbColonia.Dock = System.Windows.Forms.DockStyle.Top; this.lbColonia.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lbColonia.Location = new System.Drawing.Point(3, 0); + this.lbColonia.Location = new System.Drawing.Point(4, 0); + this.lbColonia.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lbColonia.Name = "lbColonia"; - this.lbColonia.Size = new System.Drawing.Size(388, 20); + this.lbColonia.Size = new System.Drawing.Size(516, 25); this.lbColonia.TabIndex = 0; this.lbColonia.Text = "Colonia:"; // // txtColonia // this.txtColonia.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.txtColonia.Location = new System.Drawing.Point(3, 23); + this.txtColonia.Location = new System.Drawing.Point(4, 29); + this.txtColonia.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.txtColonia.Name = "txtColonia"; - this.txtColonia.Size = new System.Drawing.Size(388, 26); + this.txtColonia.Size = new System.Drawing.Size(516, 30); this.txtColonia.TabIndex = 1; // // flowLayoutPanel10 @@ -392,9 +462,10 @@ namespace compabetov2 this.flowLayoutPanel10.Controls.Add(this.txtNoExt); this.flowLayoutPanel10.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel10.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; - this.flowLayoutPanel10.Location = new System.Drawing.Point(400, 139); + this.flowLayoutPanel10.Location = new System.Drawing.Point(533, 171); + this.flowLayoutPanel10.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.flowLayoutPanel10.Name = "flowLayoutPanel10"; - this.flowLayoutPanel10.Size = new System.Drawing.Size(391, 65); + this.flowLayoutPanel10.Size = new System.Drawing.Size(522, 79); this.flowLayoutPanel10.TabIndex = 8; // // label2 @@ -402,18 +473,20 @@ namespace compabetov2 this.label2.AutoSize = true; this.label2.Dock = System.Windows.Forms.DockStyle.Top; this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label2.Location = new System.Drawing.Point(3, 0); + this.label2.Location = new System.Drawing.Point(4, 0); + this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(388, 20); + this.label2.Size = new System.Drawing.Size(516, 25); this.label2.TabIndex = 0; this.label2.Text = "Numero Exterior:"; // // txtNoExt // this.txtNoExt.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.txtNoExt.Location = new System.Drawing.Point(3, 23); + this.txtNoExt.Location = new System.Drawing.Point(4, 29); + this.txtNoExt.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.txtNoExt.Name = "txtNoExt"; - this.txtNoExt.Size = new System.Drawing.Size(388, 26); + this.txtNoExt.Size = new System.Drawing.Size(516, 30); this.txtNoExt.TabIndex = 1; // // flowLayoutPanel11 @@ -422,9 +495,10 @@ namespace compabetov2 this.flowLayoutPanel11.Controls.Add(this.txtReferencia); this.flowLayoutPanel11.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel11.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; - this.flowLayoutPanel11.Location = new System.Drawing.Point(400, 210); + this.flowLayoutPanel11.Location = new System.Drawing.Point(533, 258); + this.flowLayoutPanel11.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.flowLayoutPanel11.Name = "flowLayoutPanel11"; - this.flowLayoutPanel11.Size = new System.Drawing.Size(391, 57); + this.flowLayoutPanel11.Size = new System.Drawing.Size(522, 70); this.flowLayoutPanel11.TabIndex = 9; // // label4 @@ -432,18 +506,20 @@ namespace compabetov2 this.label4.AutoSize = true; this.label4.Dock = System.Windows.Forms.DockStyle.Top; this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label4.Location = new System.Drawing.Point(3, 0); + this.label4.Location = new System.Drawing.Point(4, 0); + this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(388, 20); + this.label4.Size = new System.Drawing.Size(516, 25); this.label4.TabIndex = 0; this.label4.Text = "Referencia:"; // // txtReferencia // this.txtReferencia.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.txtReferencia.Location = new System.Drawing.Point(3, 23); + this.txtReferencia.Location = new System.Drawing.Point(4, 29); + this.txtReferencia.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.txtReferencia.Name = "txtReferencia"; - this.txtReferencia.Size = new System.Drawing.Size(388, 26); + this.txtReferencia.Size = new System.Drawing.Size(516, 30); this.txtReferencia.TabIndex = 1; // // flowLayoutPanel12 @@ -452,9 +528,10 @@ namespace compabetov2 this.flowLayoutPanel12.Controls.Add(this.dtFechaCon); this.flowLayoutPanel12.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel12.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; - this.flowLayoutPanel12.Location = new System.Drawing.Point(400, 273); + this.flowLayoutPanel12.Location = new System.Drawing.Point(533, 336); + this.flowLayoutPanel12.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.flowLayoutPanel12.Name = "flowLayoutPanel12"; - this.flowLayoutPanel12.Size = new System.Drawing.Size(391, 54); + this.flowLayoutPanel12.Size = new System.Drawing.Size(522, 66); this.flowLayoutPanel12.TabIndex = 10; // // label6 @@ -462,18 +539,20 @@ namespace compabetov2 this.label6.AutoSize = true; this.label6.Dock = System.Windows.Forms.DockStyle.Top; this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label6.Location = new System.Drawing.Point(3, 0); + this.label6.Location = new System.Drawing.Point(4, 0); + this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(388, 20); + this.label6.Size = new System.Drawing.Size(516, 25); this.label6.TabIndex = 0; this.label6.Text = "Fecha de contratacion:"; // // dtFechaCon // this.dtFechaCon.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.dtFechaCon.Location = new System.Drawing.Point(3, 23); + this.dtFechaCon.Location = new System.Drawing.Point(4, 29); + this.dtFechaCon.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.dtFechaCon.Name = "dtFechaCon"; - this.dtFechaCon.Size = new System.Drawing.Size(388, 26); + this.dtFechaCon.Size = new System.Drawing.Size(516, 30); this.dtFechaCon.TabIndex = 1; // // flowLayoutPanel13 @@ -482,9 +561,10 @@ namespace compabetov2 this.flowLayoutPanel13.Controls.Add(this.cbEstado); this.flowLayoutPanel13.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel13.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; - this.flowLayoutPanel13.Location = new System.Drawing.Point(400, 333); + this.flowLayoutPanel13.Location = new System.Drawing.Point(533, 410); + this.flowLayoutPanel13.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.flowLayoutPanel13.Name = "flowLayoutPanel13"; - this.flowLayoutPanel13.Size = new System.Drawing.Size(391, 50); + this.flowLayoutPanel13.Size = new System.Drawing.Size(522, 61); this.flowLayoutPanel13.TabIndex = 11; // // label8 @@ -492,9 +572,10 @@ namespace compabetov2 this.label8.AutoSize = true; this.label8.Dock = System.Windows.Forms.DockStyle.Top; this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label8.Location = new System.Drawing.Point(3, 0); + this.label8.Location = new System.Drawing.Point(4, 0); + this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(388, 18); + this.label8.Size = new System.Drawing.Size(73, 24); this.label8.TabIndex = 0; this.label8.Text = "Estado:"; // @@ -505,69 +586,31 @@ namespace compabetov2 this.cbEstado.Items.AddRange(new object[] { "Activo", "Inactivo"}); - this.cbEstado.Location = new System.Drawing.Point(3, 21); + this.cbEstado.Location = new System.Drawing.Point(85, 4); + this.cbEstado.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.cbEstado.Name = "cbEstado"; - this.cbEstado.Size = new System.Drawing.Size(388, 26); + this.cbEstado.Size = new System.Drawing.Size(516, 32); this.cbEstado.TabIndex = 1; this.cbEstado.Text = "Activo"; // - // tableLayoutPanel3 - // - this.tableLayoutPanel3.ColumnCount = 3; - this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 83.87574F)); - this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.12426F)); - this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 110F)); - this.tableLayoutPanel3.Controls.Add(this.button1, 1, 0); - this.tableLayoutPanel3.Controls.Add(this.btnCancelar, 2, 0); - this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel3.Location = new System.Drawing.Point(3, 440); - this.tableLayoutPanel3.Name = "tableLayoutPanel3"; - this.tableLayoutPanel3.RowCount = 1; - this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel3.Size = new System.Drawing.Size(794, 65); - this.tableLayoutPanel3.TabIndex = 3; - // - // button1 - // - this.button1.Dock = System.Windows.Forms.DockStyle.Fill; - this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.button1.Location = new System.Drawing.Point(576, 3); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(104, 59); - this.button1.TabIndex = 0; - this.button1.Text = "Editar"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click_1); - // - // btnCancelar - // - this.btnCancelar.Dock = System.Windows.Forms.DockStyle.Fill; - this.btnCancelar.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnCancelar.Location = new System.Drawing.Point(686, 3); - this.btnCancelar.Name = "btnCancelar"; - this.btnCancelar.Size = new System.Drawing.Size(105, 59); - this.btnCancelar.TabIndex = 1; - this.btnCancelar.Text = "Cancelar"; - this.btnCancelar.UseVisualStyleBackColor = true; - this.btnCancelar.Click += new System.EventHandler(this.btnCancelar_Click_1); - // // flowLayoutPanel2 // this.flowLayoutPanel2.Controls.Add(this.btnImg); this.flowLayoutPanel2.Controls.Add(this.lbImg); this.flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.flowLayoutPanel2.Location = new System.Drawing.Point(3, 395); + this.flowLayoutPanel2.Location = new System.Drawing.Point(4, 487); + this.flowLayoutPanel2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.flowLayoutPanel2.Name = "flowLayoutPanel2"; - this.flowLayoutPanel2.Size = new System.Drawing.Size(794, 39); + this.flowLayoutPanel2.Size = new System.Drawing.Size(1059, 47); this.flowLayoutPanel2.TabIndex = 4; // // btnImg // this.btnImg.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnImg.Location = new System.Drawing.Point(3, 3); + this.btnImg.Location = new System.Drawing.Point(4, 4); + this.btnImg.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.btnImg.Name = "btnImg"; - this.btnImg.Size = new System.Drawing.Size(148, 36); + this.btnImg.Size = new System.Drawing.Size(197, 44); this.btnImg.TabIndex = 0; this.btnImg.Text = "Seleccionar imagen"; this.btnImg.UseVisualStyleBackColor = true; @@ -577,22 +620,27 @@ namespace compabetov2 // this.lbImg.AutoSize = true; this.lbImg.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lbImg.Location = new System.Drawing.Point(157, 0); + this.lbImg.Location = new System.Drawing.Point(209, 0); + this.lbImg.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lbImg.Name = "lbImg"; - this.lbImg.Padding = new System.Windows.Forms.Padding(0, 10, 0, 0); - this.lbImg.Size = new System.Drawing.Size(55, 26); + this.lbImg.Padding = new System.Windows.Forms.Padding(0, 12, 0, 0); + this.lbImg.Size = new System.Drawing.Size(68, 32); this.lbImg.TabIndex = 1; this.lbImg.Text = "Imagen:"; + this.lbImg.Click += new System.EventHandler(this.lbImg_Click); // // EditarEmpleado // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(800, 508); + this.ClientSize = new System.Drawing.Size(1067, 625); this.Controls.Add(this.tableLayoutPanel1); + this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.Name = "EditarEmpleado"; this.Text = "Editar empleado"; + this.Load += new System.EventHandler(this.EditarEmpleado_Load); this.tableLayoutPanel1.ResumeLayout(false); + this.tableLayoutPanel3.ResumeLayout(false); this.tableLayoutPanel2.ResumeLayout(false); this.flowLayoutPanel1.ResumeLayout(false); this.flowLayoutPanel1.PerformLayout(); @@ -618,7 +666,6 @@ namespace compabetov2 this.flowLayoutPanel12.PerformLayout(); this.flowLayoutPanel13.ResumeLayout(false); this.flowLayoutPanel13.PerformLayout(); - this.tableLayoutPanel3.ResumeLayout(false); this.flowLayoutPanel2.ResumeLayout(false); this.flowLayoutPanel2.PerformLayout(); this.ResumeLayout(false); diff --git a/Empleados/EditarEmpleado.cs b/Empleados/EditarEmpleado.cs index b954c13..69a3516 100644 --- a/Empleados/EditarEmpleado.cs +++ b/Empleados/EditarEmpleado.cs @@ -110,5 +110,15 @@ namespace compabetov2 lbImg.Text = $"Imagen: {Path.GetFileName(imagePath)}"; } } + + private void lbImg_Click(object sender, EventArgs e) + { + + } + + private void EditarEmpleado_Load(object sender, EventArgs e) + { + + } } } diff --git a/Empleados/EditarEmpleado1.Designer.cs b/Empleados/EditarEmpleado1.Designer.cs new file mode 100644 index 0000000..082458c --- /dev/null +++ b/Empleados/EditarEmpleado1.Designer.cs @@ -0,0 +1,462 @@ +namespace compabetov2.Empleados +{ + partial class EditarEmpleado1 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.txtNombre = new System.Windows.Forms.TextBox(); + this.txtApellido = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.txtCalle = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.txtColonia = new System.Windows.Forms.TextBox(); + this.label4 = new System.Windows.Forms.Label(); + this.txtCp = new System.Windows.Forms.TextBox(); + this.label5 = new System.Windows.Forms.Label(); + this.txtNoExt = new System.Windows.Forms.TextBox(); + this.label6 = new System.Windows.Forms.Label(); + this.txtNoInt = new System.Windows.Forms.TextBox(); + this.txtReferencia = new System.Windows.Forms.TextBox(); + this.label7 = new System.Windows.Forms.Label(); + this.label8 = new System.Windows.Forms.Label(); + this.dtFechaNac = new System.Windows.Forms.DateTimePicker(); + this.label9 = new System.Windows.Forms.Label(); + this.dtFechaCon = new System.Windows.Forms.DateTimePicker(); + this.label10 = new System.Windows.Forms.Label(); + this.txtTelefono = new System.Windows.Forms.TextBox(); + this.label11 = new System.Windows.Forms.Label(); + this.cbEstado = new System.Windows.Forms.ComboBox(); + this.label12 = new System.Windows.Forms.Label(); + this.pictureBox2 = new System.Windows.Forms.PictureBox(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.lbImg = new System.Windows.Forms.Label(); + this.button1 = new System.Windows.Forms.Button(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.SuspendLayout(); + // + // txtNombre + // + this.txtNombre.Font = new System.Drawing.Font("Poppins", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtNombre.Location = new System.Drawing.Point(23, 208); + this.txtNombre.Margin = new System.Windows.Forms.Padding(4); + this.txtNombre.Name = "txtNombre"; + this.txtNombre.Size = new System.Drawing.Size(231, 37); + this.txtNombre.TabIndex = 2; + // + // txtApellido + // + this.txtApellido.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtApellido.Location = new System.Drawing.Point(328, 205); + this.txtApellido.Margin = new System.Windows.Forms.Padding(4); + this.txtApellido.Name = "txtApellido"; + this.txtApellido.Size = new System.Drawing.Size(231, 42); + this.txtApellido.TabIndex = 3; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.BackColor = System.Drawing.Color.Transparent; + this.label1.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label1.ForeColor = System.Drawing.Color.Transparent; + this.label1.Location = new System.Drawing.Point(16, 164); + this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(128, 40); + this.label1.TabIndex = 4; + this.label1.Text = "Nombres:"; + this.label1.Click += new System.EventHandler(this.label1_Click); + // + // label2 + // + this.label2.AutoSize = true; + this.label2.BackColor = System.Drawing.Color.Transparent; + this.label2.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label2.ForeColor = System.Drawing.Color.Transparent; + this.label2.Location = new System.Drawing.Point(321, 164); + this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(128, 40); + this.label2.TabIndex = 5; + this.label2.Text = "Apellidos:"; + // + // txtCalle + // + this.txtCalle.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtCalle.Location = new System.Drawing.Point(631, 205); + this.txtCalle.Margin = new System.Windows.Forms.Padding(4); + this.txtCalle.Name = "txtCalle"; + this.txtCalle.Size = new System.Drawing.Size(231, 42); + this.txtCalle.TabIndex = 6; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.BackColor = System.Drawing.Color.Transparent; + this.label3.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label3.ForeColor = System.Drawing.Color.Transparent; + this.label3.Location = new System.Drawing.Point(624, 164); + this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(113, 40); + this.label3.TabIndex = 7; + this.label3.Text = "Colonia:"; + // + // txtColonia + // + this.txtColonia.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtColonia.Location = new System.Drawing.Point(23, 291); + this.txtColonia.Margin = new System.Windows.Forms.Padding(4); + this.txtColonia.Name = "txtColonia"; + this.txtColonia.Size = new System.Drawing.Size(231, 42); + this.txtColonia.TabIndex = 8; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.BackColor = System.Drawing.Color.Transparent; + this.label4.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label4.ForeColor = System.Drawing.Color.Transparent; + this.label4.Location = new System.Drawing.Point(16, 249); + this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(113, 40); + this.label4.TabIndex = 9; + this.label4.Text = "Colonia:"; + // + // txtCp + // + this.txtCp.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtCp.Location = new System.Drawing.Point(328, 291); + this.txtCp.Margin = new System.Windows.Forms.Padding(4); + this.txtCp.Name = "txtCp"; + this.txtCp.Size = new System.Drawing.Size(231, 42); + this.txtCp.TabIndex = 10; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.BackColor = System.Drawing.Color.Transparent; + this.label5.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label5.ForeColor = System.Drawing.Color.Transparent; + this.label5.Location = new System.Drawing.Point(321, 251); + this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(184, 40); + this.label5.TabIndex = 11; + this.label5.Text = "Codigo Postal:"; + // + // txtNoExt + // + this.txtNoExt.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtNoExt.Location = new System.Drawing.Point(631, 291); + this.txtNoExt.Margin = new System.Windows.Forms.Padding(4); + this.txtNoExt.Name = "txtNoExt"; + this.txtNoExt.Size = new System.Drawing.Size(231, 42); + this.txtNoExt.TabIndex = 12; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.BackColor = System.Drawing.Color.Transparent; + this.label6.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label6.ForeColor = System.Drawing.Color.Transparent; + this.label6.Location = new System.Drawing.Point(624, 251); + this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(142, 40); + this.label6.TabIndex = 13; + this.label6.Text = "No.Exterior:"; + // + // txtNoInt + // + this.txtNoInt.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtNoInt.Location = new System.Drawing.Point(23, 377); + this.txtNoInt.Margin = new System.Windows.Forms.Padding(4); + this.txtNoInt.Name = "txtNoInt"; + this.txtNoInt.Size = new System.Drawing.Size(231, 42); + this.txtNoInt.TabIndex = 14; + // + // txtReferencia + // + this.txtReferencia.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtReferencia.Location = new System.Drawing.Point(328, 377); + this.txtReferencia.Margin = new System.Windows.Forms.Padding(4); + this.txtReferencia.Name = "txtReferencia"; + this.txtReferencia.Size = new System.Drawing.Size(231, 42); + this.txtReferencia.TabIndex = 15; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.BackColor = System.Drawing.Color.Transparent; + this.label7.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label7.ForeColor = System.Drawing.Color.Transparent; + this.label7.Location = new System.Drawing.Point(26, 337); + this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(87, 40); + this.label7.TabIndex = 16; + this.label7.Text = "No.Int:"; + // + // label8 + // + this.label8.AutoSize = true; + this.label8.BackColor = System.Drawing.Color.Transparent; + this.label8.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label8.ForeColor = System.Drawing.Color.Transparent; + this.label8.Location = new System.Drawing.Point(321, 337); + this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(146, 40); + this.label8.TabIndex = 17; + this.label8.Text = "Referencia:"; + // + // dtFechaNac + // + this.dtFechaNac.CalendarFont = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.dtFechaNac.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.dtFechaNac.Location = new System.Drawing.Point(631, 377); + this.dtFechaNac.Margin = new System.Windows.Forms.Padding(4); + this.dtFechaNac.Name = "dtFechaNac"; + this.dtFechaNac.Size = new System.Drawing.Size(231, 42); + this.dtFechaNac.TabIndex = 18; + // + // label9 + // + this.label9.AutoSize = true; + this.label9.BackColor = System.Drawing.Color.Transparent; + this.label9.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label9.ForeColor = System.Drawing.Color.Transparent; + this.label9.Location = new System.Drawing.Point(624, 342); + this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(269, 40); + this.label9.TabIndex = 19; + this.label9.Text = "Fecha de Nacimiento:"; + // + // dtFechaCon + // + this.dtFechaCon.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.dtFechaCon.Location = new System.Drawing.Point(23, 467); + this.dtFechaCon.Margin = new System.Windows.Forms.Padding(4); + this.dtFechaCon.Name = "dtFechaCon"; + this.dtFechaCon.Size = new System.Drawing.Size(231, 42); + this.dtFechaCon.TabIndex = 20; + // + // label10 + // + this.label10.AutoSize = true; + this.label10.BackColor = System.Drawing.Color.Transparent; + this.label10.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label10.ForeColor = System.Drawing.Color.Transparent; + this.label10.Location = new System.Drawing.Point(16, 423); + this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(290, 40); + this.label10.TabIndex = 21; + this.label10.Text = "Fecha de Contratación:"; + // + // txtTelefono + // + this.txtTelefono.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtTelefono.Location = new System.Drawing.Point(328, 467); + this.txtTelefono.Margin = new System.Windows.Forms.Padding(4); + this.txtTelefono.Name = "txtTelefono"; + this.txtTelefono.Size = new System.Drawing.Size(231, 42); + this.txtTelefono.TabIndex = 22; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.BackColor = System.Drawing.Color.Transparent; + this.label11.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label11.ForeColor = System.Drawing.Color.Transparent; + this.label11.Location = new System.Drawing.Point(321, 423); + this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(121, 40); + this.label11.TabIndex = 23; + this.label11.Text = "Telefono:"; + // + // cbEstado + // + this.cbEstado.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbEstado.FormattingEnabled = true; + this.cbEstado.Items.AddRange(new object[] { + "Activo", + "Inactivo"}); + this.cbEstado.Location = new System.Drawing.Point(631, 461); + this.cbEstado.Margin = new System.Windows.Forms.Padding(4); + this.cbEstado.Name = "cbEstado"; + this.cbEstado.Size = new System.Drawing.Size(231, 48); + this.cbEstado.TabIndex = 24; + this.cbEstado.Text = "Activo"; + // + // label12 + // + this.label12.AutoSize = true; + this.label12.BackColor = System.Drawing.Color.Transparent; + this.label12.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label12.ForeColor = System.Drawing.Color.Transparent; + this.label12.Location = new System.Drawing.Point(624, 423); + this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(101, 40); + this.label12.TabIndex = 25; + this.label12.Text = "Estado:"; + // + // pictureBox2 + // + this.pictureBox2.BackColor = System.Drawing.Color.Transparent; + this.pictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.pictureBox2.Image = global::compabetov2.Properties.Resources.check1; + this.pictureBox2.Location = new System.Drawing.Point(353, 541); + this.pictureBox2.Name = "pictureBox2"; + this.pictureBox2.Size = new System.Drawing.Size(100, 69); + this.pictureBox2.TabIndex = 27; + this.pictureBox2.TabStop = false; + this.pictureBox2.Click += new System.EventHandler(this.pictureBox2_Click); + // + // pictureBox1 + // + this.pictureBox1.BackColor = System.Drawing.Color.Transparent; + this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.pictureBox1.Image = global::compabetov2.Properties.Resources.cancel1; + this.pictureBox1.Location = new System.Drawing.Point(459, 541); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(100, 69); + this.pictureBox1.TabIndex = 26; + this.pictureBox1.TabStop = false; + this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click); + // + // lbImg + // + this.lbImg.AutoSize = true; + this.lbImg.BackColor = System.Drawing.Color.Transparent; + this.lbImg.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbImg.ForeColor = System.Drawing.Color.Transparent; + this.lbImg.Location = new System.Drawing.Point(141, 543); + this.lbImg.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbImg.Name = "lbImg"; + this.lbImg.Size = new System.Drawing.Size(113, 40); + this.lbImg.TabIndex = 28; + this.lbImg.Text = "Imagen:"; + // + // button1 + // + this.button1.Font = new System.Drawing.Font("Poppins", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button1.Location = new System.Drawing.Point(26, 541); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(103, 46); + this.button1.TabIndex = 29; + this.button1.Text = "Subir"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // EditarEmpleado1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(104)))), ((int)(((byte)(255))))); + this.BackgroundImage = global::compabetov2.Properties.Resources.Form; + this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.ClientSize = new System.Drawing.Size(915, 622); + this.ControlBox = false; + this.Controls.Add(this.button1); + this.Controls.Add(this.lbImg); + this.Controls.Add(this.pictureBox2); + this.Controls.Add(this.pictureBox1); + this.Controls.Add(this.label12); + this.Controls.Add(this.cbEstado); + this.Controls.Add(this.label11); + this.Controls.Add(this.txtTelefono); + this.Controls.Add(this.label10); + this.Controls.Add(this.dtFechaCon); + this.Controls.Add(this.label9); + this.Controls.Add(this.dtFechaNac); + this.Controls.Add(this.label8); + this.Controls.Add(this.label7); + this.Controls.Add(this.txtReferencia); + this.Controls.Add(this.txtNoInt); + this.Controls.Add(this.label6); + this.Controls.Add(this.txtNoExt); + this.Controls.Add(this.label5); + this.Controls.Add(this.txtCp); + this.Controls.Add(this.label4); + this.Controls.Add(this.txtColonia); + this.Controls.Add(this.label3); + this.Controls.Add(this.txtCalle); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.Controls.Add(this.txtApellido); + this.Controls.Add(this.txtNombre); + this.DoubleBuffered = true; + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.Name = "EditarEmpleado1"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Load += new System.EventHandler(this.EditarEmpleado1_Load); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.TextBox txtNombre; + private System.Windows.Forms.TextBox txtApellido; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox txtCalle; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.TextBox txtColonia; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.TextBox txtCp; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.TextBox txtNoExt; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.TextBox txtNoInt; + private System.Windows.Forms.TextBox txtReferencia; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.DateTimePicker dtFechaNac; + private System.Windows.Forms.Label label9; + private System.Windows.Forms.DateTimePicker dtFechaCon; + private System.Windows.Forms.Label label10; + private System.Windows.Forms.TextBox txtTelefono; + private System.Windows.Forms.Label label11; + private System.Windows.Forms.ComboBox cbEstado; + private System.Windows.Forms.Label label12; + private System.Windows.Forms.PictureBox pictureBox2; + private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.Label lbImg; + private System.Windows.Forms.Button button1; + } +} \ No newline at end of file diff --git a/Empleados/EditarEmpleado1.cs b/Empleados/EditarEmpleado1.cs new file mode 100644 index 0000000..bc63730 --- /dev/null +++ b/Empleados/EditarEmpleado1.cs @@ -0,0 +1,106 @@ +using compabetov2.database.modelos; +using compabetov2.database; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace compabetov2.Empleados +{ + public partial class EditarEmpleado1 : Form + { + private Empleado empleado; + private personal ventanaPadre; + private string imagePath; + public EditarEmpleado1(Empleado empleado, personal ventanaPadre) + { + InitializeComponent(); + this.empleado = empleado; + this.ventanaPadre = ventanaPadre; + imagePath = Path.Combine(Application.StartupPath, "Resources", "usuarios", empleado.img); + llenarCampos(); + } + + private void llenarCampos() + { + txtNombre.Text = empleado.nombre; + txtApellido.Text = empleado.apellidos; + txtCalle.Text = empleado.calle; + txtColonia.Text = empleado.colonia; + txtCp.Text = empleado.cp; + txtNoExt.Text = empleado.no_ext; + txtNoInt.Text = empleado.no_int; + txtReferencia.Text = empleado.referencia; + txtTelefono.Text = empleado.telefono; + dtFechaCon.Text = empleado.fecha_contratacion; + dtFechaNac.Text = empleado.fecha_nac; + cbEstado.Text = empleado.estado; + lbImg.Text = $"Imagen: {Path.GetFileName(imagePath)}"; + } + private void label1_Click(object sender, EventArgs e) + { + + } + + private void button1_Click(object sender, EventArgs e) + { + OpenFileDialog openFileDialog1 = new OpenFileDialog(); + + openFileDialog1.Filter = "Archivos de imagen (*.jpg, *.jpeg, *.png, *.bmp)|*.jpg;*.jpeg;*.png;*.bmp"; + openFileDialog1.Title = "Seleccionar imagen"; + + if (openFileDialog1.ShowDialog() == DialogResult.OK) + { + imagePath = openFileDialog1.FileName; + lbImg.Text = $"Imagen: {Path.GetFileName(imagePath)}"; + } + } + + private void pictureBox2_Click(object sender, EventArgs e) + { + Empleado empleadoNuevo = new Empleado( + empleado.idempleado, + txtNombre.Text, + txtApellido.Text, + txtCalle.Text, + dtFechaCon.Text, + cbEstado.Text, + txtColonia.Text, + txtCp.Text, + txtNoExt.Text, + txtNoInt.Text, + txtReferencia.Text, + dtFechaNac.Text, + txtTelefono.Text, + Path.GetFileName(imagePath)); + if (service.actualizarEmpleado(empleadoNuevo)) + { + if (!empleado.img.Equals(empleadoNuevo.img)) + { + string destinationFolder = Path.Combine(Application.StartupPath, "Resources", "usuarios"); + string destinationFile = Path.Combine(destinationFolder, Path.GetFileName(imagePath)); + File.Copy(imagePath, destinationFile, true); + } + ventanaPadre.llenarPanel(); + Close(); + } + } + + private void EditarEmpleado1_Load(object sender, EventArgs e) + { + + } + + private void pictureBox1_Click(object sender, EventArgs e) + { + this.Close(); + + } + } +} diff --git a/Empleados/EditarEmpleado1.resx b/Empleados/EditarEmpleado1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Empleados/EditarEmpleado1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Empleados/ModificarContra.Designer.cs b/Empleados/ModificarContra.Designer.cs index 1629610..2e5f156 100644 --- a/Empleados/ModificarContra.Designer.cs +++ b/Empleados/ModificarContra.Designer.cs @@ -69,7 +69,7 @@ // this.txtContra.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtContra.Location = new System.Drawing.Point(328, 299); - this.txtContra.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtContra.Margin = new System.Windows.Forms.Padding(4); this.txtContra.Name = "txtContra"; this.txtContra.PasswordChar = '*'; this.txtContra.Size = new System.Drawing.Size(309, 42); @@ -80,7 +80,7 @@ // this.txtConfi.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtConfi.Location = new System.Drawing.Point(321, 429); - this.txtConfi.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.txtConfi.Margin = new System.Windows.Forms.Padding(4); this.txtConfi.Name = "txtConfi"; this.txtConfi.PasswordChar = '*'; this.txtConfi.Size = new System.Drawing.Size(316, 42); @@ -116,7 +116,7 @@ this.label3.BackColor = System.Drawing.Color.Transparent; this.label3.Font = new System.Drawing.Font("Poppins", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.ForeColor = System.Drawing.Color.Transparent; - this.label3.Location = new System.Drawing.Point(350, 157); + this.label3.Location = new System.Drawing.Point(339, 168); this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(271, 40); @@ -141,7 +141,7 @@ this.Controls.Add(this.label1); this.DoubleBuffered = true; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; - this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.Margin = new System.Windows.Forms.Padding(4); this.Name = "ModificarContra"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); diff --git a/Empleados/preguntaLogin.Designer.cs b/Empleados/preguntaLogin.Designer.cs index bc85ee9..65db674 100644 --- a/Empleados/preguntaLogin.Designer.cs +++ b/Empleados/preguntaLogin.Designer.cs @@ -36,20 +36,24 @@ // label1 // this.label1.AutoSize = true; - this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label1.Location = new System.Drawing.Point(23, 25); + this.label1.BackColor = System.Drawing.Color.Transparent; + this.label1.Font = new System.Drawing.Font("Poppins", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label1.ForeColor = System.Drawing.Color.Transparent; + this.label1.Location = new System.Drawing.Point(26, 169); + this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(342, 20); + this.label1.Size = new System.Drawing.Size(727, 53); this.label1.TabIndex = 0; this.label1.Text = "¿Desea modificar o eliminar el Inicio de sesion?"; this.label1.Click += new System.EventHandler(this.label1_Click); // // button1 // - this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.button1.Location = new System.Drawing.Point(27, 67); + this.button1.Font = new System.Drawing.Font("Poppins", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button1.Location = new System.Drawing.Point(239, 266); + this.button1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(209, 35); + this.button1.Size = new System.Drawing.Size(279, 43); this.button1.TabIndex = 1; this.button1.Text = "Modificar contraseña"; this.button1.UseVisualStyleBackColor = true; @@ -57,10 +61,11 @@ // // button2 // - this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.button2.Location = new System.Drawing.Point(242, 67); + this.button2.Font = new System.Drawing.Font("Poppins", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button2.Location = new System.Drawing.Point(239, 331); + this.button2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.button2.Name = "button2"; - this.button2.Size = new System.Drawing.Size(123, 35); + this.button2.Size = new System.Drawing.Size(279, 43); this.button2.TabIndex = 2; this.button2.Text = "Eliminar"; this.button2.UseVisualStyleBackColor = true; @@ -68,14 +73,21 @@ // // Confirmacion // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(380, 114); + this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(104)))), ((int)(((byte)(255))))); + this.BackgroundImage = global::compabetov2.Properties.Resources.Form; + this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.ClientSize = new System.Drawing.Size(775, 578); + this.ControlBox = false; this.Controls.Add(this.button2); this.Controls.Add(this.button1); this.Controls.Add(this.label1); + this.DoubleBuffered = true; + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.Name = "Confirmacion"; - this.Text = "Confirmacion"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Load += new System.EventHandler(this.preguntaLogin_Load); this.ResumeLayout(false); this.PerformLayout(); diff --git a/compabetov2.csproj b/compabetov2.csproj index ffd9c82..b79ac34 100644 --- a/compabetov2.csproj +++ b/compabetov2.csproj @@ -106,6 +106,24 @@ + + Form + + + AgregarEmpleado1.cs + + + Form + + + AgregarLogin1.cs + + + Form + + + EditarEmpleado1.cs + Form @@ -219,6 +237,15 @@ verMerma.cs + + AgregarEmpleado1.cs + + + AgregarLogin1.cs + + + EditarEmpleado1.cs + ActualizarMerma.cs diff --git a/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/obj/Debug/DesignTimeResolveAssemblyReferences.cache index 4382aa9fb887a8e407ce43095d41dbb07cdd8c24..d59ca11bf46a1cb31bda049181158263e990bf04 100644 GIT binary patch literal 5498 zcmd5=O>7%Q6yAX}n1lpMD56vX2UWBc(Qe{IltfCYYbQp6CM6C5!9ulOkKIvrXU+aN zO7J+CYP>)>Tf`CKAoAIu*j*W!7W2qB) zvO7Ee_PsaXd-ILkQHLZ+Xjf`Pea6AIqh>6tXsBsR_e@M(N7XH}q~)+{O=i>_p=uiE zyyDtuIU(bN7$E?8;KV-cm#s_$Z&^_6C$Hk`nETMU8&XLD0+jJtMwpUOi<8=GhrEP7F&|*_~pFh5TVdIsK zk+8RS2Y8yR$=Ro$B5s8$Y)+YVq1GsZKQA8s^77;#!)zK4EaR4snX+u$l!1+wBLGW- zff2#DjUDA7VAx>);J`3KUGl`(^ti2=c+RqCIXvUjE$~@|h9smx+U>KgBFu@81OJ`) z_JfZ-xunFA6j=GoVw&hp_SFK{IHE&Si;jeQ|rZjMg z*Dnz%$`V~v0x+yQeFw5w_iW%-KQ)OGAQBu9*>5#Q)XJdI0+HP1G~NS5{aa8n+2iHYSbwuxqt zL)>S+4QQ?l`;?ruv{HmOtuI3o+TY6TtS>RQf(5X)(YMUjFhoou)knG5$|(E$af9k7 zG}-u=!C%jxZ1zn^^mXrgd@XIsya^WARp;`Jk^CbsTA_4cQ4tqc!d zzi|4qCzc1#boX59{jpcQ@8hBOQs(8QYhS(k?ScMHf4%nS#m=A5rr#d<0RnP8 zFBy&w&AxGC z6!dh-CJqLzT_$iY5Gt#UR@Tk%{!*VvwMAY+dMizV6KA~zJd!t6D%a|_myM_gWzk7f HSAqWp9|IK^ delta 49 zcmeyR)y>Gk#>mLPz`&R`xt=*x+A%pfwYWGlDKjUtq*5;>CkHIau%96156v;M8INv5PfvpZcC7q+_g#m4% z6Qxofbyb`Tkk&-85*ZzWRhK6biae{5Qn<+nNIk8jlkf(t`gvi+-2!; zCCSpex$z7VHQz?^|n&FjllF9TaaD!7NK&z$`eHJJxsEJ2d5u9u_OMQU1NB^W9_8o_6m1)W0 z8e&Uj%Aw&290aO=4l;My7HaVmt@3OR*$#x%5IaSm1d0t)C-po~D#?W?8eFB`!J*Zt zlhZ_d$xtQZoI1Lp?m)4%qWB6spIRhOsFE*1CZHYLP|2PgGi97)X!vw;?9J4RhJs?I zW6rJ<3rvn3s%GA!hk=pgGKH;UB`@f`8d?{@Seh_nSxk+G{yC6yrd5*1R;?wh0lTS% zIdZ6j4azC$6FoF#=f&I?CXB35H~mJnUMuzbN{e;e8&esB?^>Z$;}OL7>txRy(uY)N z_IOM$8Cua6Nf)Z5068xav{LN8oyMY`w9FQLO$9tCeNWn?MOqPO!$^W{J$dgv4%GMc zB9s%Z8{QdW;mDLCzeb;NFpVE3hwUGuYq$js7!i$QV?YeK8xhZ0td&u>HY)Xr$VKmF z`D@%F2V{S_kaPwksxyZ)4b!T`B1^vh_(Ga3vPT}{^`Kqaac>3k|LYOk`E2uA3KJ`h zo^;y%QwzeNFct((-gqF8So8gw(ROWMLn_$KcO1X5AqPZFK>*ObOD&Xl*tR$zB<( zc*valbyW~Km_Q2eZ_?|xtKzw(h?##f<{6W3s)G8phqjvJFXM$mEg6T&SAU_Yy5t<^$7o8 z)S{HzdApx;?qHUGJ9zu;v_oaW5^7=5t_$DHXJ1WEnY35bj`~`O-?5p@zMI}qovu`< zF2j?oRl1mUr`M3;oUV(b0e1NZs$tnz-|h6f^G?58!YPi2FVmaMzMNju2Zw%vBhReb zCzm0UQ5S}J8hO1o!s8V>;o}8e4eu7nU7Yk&dBX&_j}m-bTCyC4@Y5Q_x$`sRSdWMQ zt|e~zG^PnoZ{NQ&s_ni+cVUZtK6m8T?q#FwS`9zP?abe83&Z#qc#mV(-s9%eGWPxh Dcc**~ literal 6000 zcmcIoTW{Mo6i&Aw4+Hu#4A?O2!H*jd5Vq?%Y1VGdd`X5SX=bP0fN3ab=|pBCk}660 zg1~#*|K1_x$nLrV5*r1GAWJ&uJNFB}{B&n$XOGO8;L$FLl4O^_0(N@%wADKbUTIJ| z2&vLppk<~)2o$6eA4#6l2^jhEBw(QwlHm2YEXDY3G6ppRb+t@EBTE`_AXCFnJUJ}7 zoq+3Es9No&)nfD!d6m1 zB`#b(YrnYyo=Qd4@>f`r^m=hnmPty(TN;BV7&F%_j?2Z45Ot_4IR5!+zP{4 zn?(40LN$<{6tG}YxF@;7vJM>XY^ceArwK-|+`=nu)GfWnUZUjck=dm5@WF|aS(*bstq!apv`QaVr<}x=@I`gPDC2zDNM!6B z?@_~g8I6=9_E0#?sFmBpM@Z=#>6h3|HDFqi6FQ?}hC7{cL@7NdxbAxl6vzFi!4zY9ii4GJ(!8pm1#pCooPJ!hekT3(x=P$?i6 zgR9N2S%(~u_U1#<8&9c9Ez;kW6)WJ#Mr5~9kyeK^$rHRDbPH=Xw^0B4J;Kvk6y-XU z3jKMn;KQ48ywnCb4*j^12<#MYvmtg#I2J-0T;Zh97T!i@jqnOA$gEBftCZ6WSB1gC zfUvc>e%%}_>h{m0$`Lv?*@Ub;yLOv! zZQ@er5=E8yA3lR&w=AUn6k!+Dm49FSGbY}a#dY5z@J+2D1!*FeSiz0e@lBmj$ltE} zwWVNRQ9Qx4w%IfR8E2`qH zI@M>mDI2MltNz^xVw~>P@@R}5e@+!_8tl7We?RZ~`vsg#aF5f2#p?0hh|Vqg1x`S# z(g!{hCW1apvN&+6J%}iOq900?RXMp?gZFVch{YA-V9!93Sz*s&IKp#2ic{$)C}ur= z{;QVg8PbqOIM03a&hWPX8l8q6_j&HlFYL=k(ZL#SvfInw?Q+eM&+s0nu;!E2(;@=@ E1&5!~<^TWy