From ba9f51ea8a4d6bbec7292830a8fb86cbe9311950 Mon Sep 17 00:00:00 2001 From: Michael Robles Date: Tue, 18 Jun 2024 23:16:19 -0700 Subject: [PATCH 1/2] bajo cambios --- .vs/VSWorkspaceState.json | 3 +- .vs/compabetoOG/v17/.wsuo | Bin 53248 -> 53248 bytes admin/agregar.Designer.cs | 39 ++++++++++++++++++ admin/agregar.cs | 20 +++++++++ ...compabetov2.csproj.AssemblyReference.cache | Bin 14085 -> 13520 bytes 5 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 admin/agregar.Designer.cs create mode 100644 admin/agregar.cs diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json index 59390c5..8b522d5 100644 --- a/.vs/VSWorkspaceState.json +++ b/.vs/VSWorkspaceState.json @@ -1,9 +1,8 @@ { "ExpandedNodes": [ "", - "\\database", "\\Ventas" ], - "SelectedNode": "\\database\\DAO.cs", + "SelectedNode": "\\Ventas\\Importe1.cs", "PreviewInSolutionExplorer": false } \ No newline at end of file diff --git a/.vs/compabetoOG/v17/.wsuo b/.vs/compabetoOG/v17/.wsuo index f4df8a9e8c2cc993b8f389c7e4ed764527f7cbed..a3f5ad7b7b8f90e306c6f20b704451be39a9480f 100644 GIT binary patch delta 1223 zcmb_aK~Gab5PrKYFD*Psr50(lSm0T;+VY^4QYZuiA}At8618$DEjDU2;ZRQ!srM#A zHzXcmFC0ACJ?PQ+ddCn?UetfUp(hX4nf5If^x(lwzRb+GyEC)jPJYXl-?FV6KB`#D zr6{f7+5kVR)heK3;-g4 z7yx(W>NpZ7ARYybH}IFiztRxn-6@E#9pSD+JPWu1m;>BY6sq`8ppBF!mYW>JsiY4S zQg_Ij7fy8nFk>57RHzxy1VDw5mkOcp01g#GUn+#k;oBP(!hKXR3BXRJV#rIqz-_B` z!X}cn#WtGVGyh94KYq@ce~?J&K2XT{Rc$4`&=O7u3h}1M1q!5?G@04+Qp3-X<5O?6x4=49gKT_dN~{FeZ9Gc3L5p3JwLCc8 zvS2;Wd|7MMzgD0!rV&19=aaNJoM*-7i!2p1h{C?FbhGft9-pRsobuT}cSZR2CKcw@ zQMEW$W@Ty!OjVjH6V0$H%jzxIIgS-9QH>K?x;RnOkL5zUtps~I+-w*geb*GGKTpI& zl90bV{eD5dvr#XW3(RXhkPnAZmKT-40uj^c_k^b?yS3QITs|-R@IV!Fk4sIZhciUa zW`>Mdd@vRoOdF9sGf|AQTj=igg8&)A9)MV_CH?^G4?q(Fr6n=Z1e2N=V`AgE ziMTH&9?4$3c+kF!7ZV8a;zbT#G$#HNz39R9n|2pbASQ0|b!NYroj3E%YiY$-TJbF# zhZOG#D@r?jAMn$09HN=H=kItk_kvmcPH;7`c=7Yv7iP-){3UxFMI32P#I^fjkGVea zRD&L}0q{Yf&5hHcF`xk$0VwA%Eai8>9tCa!8gK+?23mjx;5h2%!4j$mFZwJSjX0XcUT(1Z1~LFynH>lLTb3nVKb^Bp}) zPNV*}6z5RERo2;Eiq5(e!Eb?3ZP&C{I$u0%iHTx(L-VR%-y?`j{6CtGujHd-1DXY51D$^-W)kU#; zLxU=c@yB;PW%2xJScYRJ-&R!?^)j<&GcwclmWjxtUNN?mmP@_MKI=wGrXuf{ZE(Aj z+X-$b8|*B%(z?*2T`Dc|cWcpWDs6d_s761jbhABT-xOXN7=9E*IG5gQbe-w8dI_>> zYRn$vR(HysUzi+iBH`W>oL$)Rq5N2Z4GA;z$1njSk&@c$Qbv*wQ-h^V2Mv z_V?Vrnz7y<=xvtvmbCPvC5cS SON_G0!;&FO*%Gr~#eM-NUBm?d diff --git a/admin/agregar.Designer.cs b/admin/agregar.Designer.cs new file mode 100644 index 0000000..d8e8fe9 --- /dev/null +++ b/admin/agregar.Designer.cs @@ -0,0 +1,39 @@ +namespace compabetov2.admin +{ + partial class agregar + { + /// + /// 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.components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Text = "agregar"; + } + + #endregion + } +} \ No newline at end of file diff --git a/admin/agregar.cs b/admin/agregar.cs new file mode 100644 index 0000000..1911afa --- /dev/null +++ b/admin/agregar.cs @@ -0,0 +1,20 @@ +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.admin +{ + public partial class agregar : Form + { + public agregar() + { + InitializeComponent(); + } + } +} diff --git a/obj/Debug/compabetov2.csproj.AssemblyReference.cache b/obj/Debug/compabetov2.csproj.AssemblyReference.cache index 48a4903f0a10a032e2baeb294fc334c0ad7b4601..176b53029bcb55721f811dc7c86c773067205bbe 100644 GIT binary patch delta 21 ccmZq8yO7Dj#wg6dz`&R|`J-v*#@J#L07B;mbN~PV delta 203 zcmcbR*_y|}#wgCfz`&R|*`F_TV{EYr6Jsfm88i7Xi>R_*N=^UGjPt&OUq0zElLEb!BB!> VY&O^l_NuJvu6ZSyC6xqq003S_Hx>W@ From 24f7b01847ca194a06677fedb9c9f495654c5ce3 Mon Sep 17 00:00:00 2001 From: Michael Robles Date: Tue, 18 Jun 2024 23:43:14 -0700 Subject: [PATCH 2/2] subo pagina de editar --- .vs/compabetov2.csproj.dtbcache.json | 2 +- Empleados/EditarEmpleado1.Designer.cs | 120 +++++------- Empleados/EditarEmpleado1.cs | 5 + admin/editar.Designer.cs | 184 ++++++++++++++++++ admin/editar.cs | 35 ++++ admin/editar.resx | 120 ++++++++++++ compabetov2.csproj | 9 + .../DesignTimeResolveAssemblyReferences.cache | Bin 139 -> 6091 bytes 8 files changed, 406 insertions(+), 69 deletions(-) create mode 100644 admin/editar.Designer.cs create mode 100644 admin/editar.cs create mode 100644 admin/editar.resx diff --git a/.vs/compabetov2.csproj.dtbcache.json b/.vs/compabetov2.csproj.dtbcache.json index e3ffe2b..510732b 100644 --- a/.vs/compabetov2.csproj.dtbcache.json +++ b/.vs/compabetov2.csproj.dtbcache.json @@ -1 +1 @@ -{"RootPath":"C:\\Users\\carsu\\Source\\Repos\\compabetoOG","ProjectFileName":"compabetov2.csproj","Configuration":"Debug|AnyCPU","FrameworkPath":"","Sources":[{"SourceFile":"database\\modelos\\DetalleEnvioModel.cs"},{"SourceFile":"database\\modelos\\Envio.cs"},{"SourceFile":"Empleados\\AgregarEmpleado1.cs"},{"SourceFile":"Empleados\\AgregarEmpleado1.Designer.cs"},{"SourceFile":"Empleados\\AgregarLogin1.cs"},{"SourceFile":"Empleados\\AgregarLogin1.Designer.cs"},{"SourceFile":"Empleados\\EditarEmpleado1.cs"},{"SourceFile":"Empleados\\EditarEmpleado1.Designer.cs"},{"SourceFile":"Estadiscticas.cs"},{"SourceFile":"Estadiscticas.Designer.cs"},{"SourceFile":"Merma\\ActualizarMerma.cs"},{"SourceFile":"Merma\\ActualizarMerma.Designer.cs"},{"SourceFile":"Empleados\\AgregarEmpleado.cs"},{"SourceFile":"Empleados\\AgregarEmpleado.Designer.cs"},{"SourceFile":"Empleados\\AgregarLogin.cs"},{"SourceFile":"Empleados\\AgregarLogin.Designer.cs"},{"SourceFile":"Merma\\agregarmermas.cs"},{"SourceFile":"Merma\\agregarmermas.Designer.cs"},{"SourceFile":"Cuentas\\cuentas.cs"},{"SourceFile":"Cuentas\\cuentas.Designer.cs"},{"SourceFile":"database\\conexion.cs"},{"SourceFile":"database\\DAO.cs"},{"SourceFile":"database\\modelos\\Categoria.cs"},{"SourceFile":"database\\modelos\\Cliente.cs"},{"SourceFile":"database\\modelos\\Cuenta.cs"},{"SourceFile":"database\\modelos\\DetalleCuentaModel.cs"},{"SourceFile":"database\\modelos\\DetalleVentaModel.cs"},{"SourceFile":"database\\modelos\\Empleado.cs"},{"SourceFile":"database\\modelos\\LoginModel.cs"},{"SourceFile":"database\\modelos\\Merma.cs"},{"SourceFile":"database\\modelos\\Producto.cs"},{"SourceFile":"database\\modelos\\usuario.cs"},{"SourceFile":"database\\modelos\\VentaModel.cs"},{"SourceFile":"database\\service.cs"},{"SourceFile":"Empleados\\EditarEmpleado.cs"},{"SourceFile":"Empleados\\EditarEmpleado.Designer.cs"},{"SourceFile":"Envios\\envios.cs"},{"SourceFile":"Envios\\envios.Designer.cs"},{"SourceFile":"Inventario\\inventario.cs"},{"SourceFile":"Inventario\\inventario.Designer.cs"},{"SourceFile":"Principal\\login.cs"},{"SourceFile":"Principal\\login.Designer.cs"},{"SourceFile":"Principal\\MenuPrincipal.cs"},{"SourceFile":"Principal\\MenuPrincipal.Designer.cs"},{"SourceFile":"Merma\\mermas.cs"},{"SourceFile":"Merma\\mermas.Designer.cs"},{"SourceFile":"Empleados\\ModificarContra.cs"},{"SourceFile":"Empleados\\ModificarContra.Designer.cs"},{"SourceFile":"Empleados\\personal.cs"},{"SourceFile":"Empleados\\personal.Designer.cs"},{"SourceFile":"Empleados\\preguntaLogin.cs"},{"SourceFile":"Empleados\\preguntaLogin.Designer.cs"},{"SourceFile":"Program.cs"},{"SourceFile":"Properties\\AssemblyInfo.cs"},{"SourceFile":"SqlServerTypes\\Loader.cs"},{"SourceFile":"Ventas\\datosCuenta.cs"},{"SourceFile":"Ventas\\datosCuenta.Designer.cs"},{"SourceFile":"Ventas\\datosEnvio.cs"},{"SourceFile":"Ventas\\datosEnvio.Designer.cs"},{"SourceFile":"Ventas\\vender.cs"},{"SourceFile":"Ventas\\vender.Designer.cs"},{"SourceFile":"Merma\\verMerma.cs"},{"SourceFile":"Merma\\verMerma.Designer.cs"},{"SourceFile":"Properties\\Resources.Designer.cs"},{"SourceFile":"Properties\\Settings.Designer.cs"},{"SourceFile":"obj\\Debug\\.NETFramework,Version=v4.7.2.AssemblyAttributes.cs"}],"References":[{"Reference":"C:\\Users\\carsu\\Source\\Repos\\compabetoOG\\packages\\EntityFramework.6.4.4\\lib\\net45\\EntityFramework.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Users\\carsu\\Source\\Repos\\compabetoOG\\packages\\EntityFramework.6.4.4\\lib\\net45\\EntityFramework.SqlServer.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\Microsoft.CSharp.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\mscorlib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.ComponentModel.DataAnnotations.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Data.DataSetExtensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Users\\carsu\\Source\\Repos\\compabetoOG\\packages\\Stub.System.Data.SQLite.Core.NetFramework.1.0.118.0\\lib\\net46\\System.Data.SQLite.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Users\\carsu\\Source\\Repos\\compabetoOG\\packages\\System.Data.SQLite.EF6.1.0.118.0\\lib\\net46\\System.Data.SQLite.EF6.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Users\\carsu\\Source\\Repos\\compabetoOG\\packages\\System.Data.SQLite.Linq.1.0.118.0\\lib\\net46\\System.Data.SQLite.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Deployment.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Drawing.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Net.Http.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Windows.Forms.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Xml.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Xml.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""}],"Analyzers":[],"Outputs":[{"OutputItemFullPath":"C:\\Users\\carsu\\Source\\Repos\\compabetoOG\\bin\\Debug\\compabetov2.exe","OutputItemRelativePath":"compabetov2.exe"},{"OutputItemFullPath":"C:\\Users\\carsu\\Source\\Repos\\compabetoOG\\bin\\Debug\\compabetov2.pdb","OutputItemRelativePath":"compabetov2.pdb"}],"CopyToOutputEntries":[]} \ No newline at end of file +{"RootPath":"C:\\Users\\Googl\\Source\\Repos\\aspermaster23yeh\\compabetoOG","ProjectFileName":"compabetov2.csproj","Configuration":"Debug|AnyCPU","FrameworkPath":"","Sources":[{"SourceFile":"admin\\crud.cs"},{"SourceFile":"admin\\crud.Designer.cs"},{"SourceFile":"database\\modelos\\DetalleEnvioModel.cs"},{"SourceFile":"database\\modelos\\DetalleImporte.cs"},{"SourceFile":"database\\modelos\\DetalleImporteCuenta.cs"},{"SourceFile":"database\\modelos\\DetalleImporteEnvio.cs"},{"SourceFile":"database\\modelos\\Envio.cs"},{"SourceFile":"database\\modelos\\ImporteModel.cs"},{"SourceFile":"database\\modelos\\Variante.cs"},{"SourceFile":"Empleados\\AgregarEmpleado1.cs"},{"SourceFile":"Empleados\\AgregarEmpleado1.Designer.cs"},{"SourceFile":"Empleados\\AgregarLogin1.cs"},{"SourceFile":"Empleados\\AgregarLogin1.Designer.cs"},{"SourceFile":"Empleados\\EditarEmpleado1.cs"},{"SourceFile":"Empleados\\EditarEmpleado1.Designer.cs"},{"SourceFile":"Estadiscticas.cs"},{"SourceFile":"Estadiscticas.Designer.cs"},{"SourceFile":"Merma\\ActualizarMerma.cs"},{"SourceFile":"Merma\\ActualizarMerma.Designer.cs"},{"SourceFile":"Empleados\\AgregarEmpleado.cs"},{"SourceFile":"Empleados\\AgregarEmpleado.Designer.cs"},{"SourceFile":"Empleados\\AgregarLogin.cs"},{"SourceFile":"Empleados\\AgregarLogin.Designer.cs"},{"SourceFile":"Merma\\agregarmermas.cs"},{"SourceFile":"Merma\\agregarmermas.Designer.cs"},{"SourceFile":"Cuentas\\cuentas.cs"},{"SourceFile":"Cuentas\\cuentas.Designer.cs"},{"SourceFile":"database\\conexion.cs"},{"SourceFile":"database\\DAO.cs"},{"SourceFile":"database\\modelos\\Categoria.cs"},{"SourceFile":"database\\modelos\\Cliente.cs"},{"SourceFile":"database\\modelos\\Cuenta.cs"},{"SourceFile":"database\\modelos\\DetalleCuentaModel.cs"},{"SourceFile":"database\\modelos\\DetalleVentaModel.cs"},{"SourceFile":"database\\modelos\\Empleado.cs"},{"SourceFile":"database\\modelos\\LoginModel.cs"},{"SourceFile":"database\\modelos\\Merma.cs"},{"SourceFile":"database\\modelos\\Producto.cs"},{"SourceFile":"database\\modelos\\usuario.cs"},{"SourceFile":"database\\modelos\\VentaModel.cs"},{"SourceFile":"database\\service.cs"},{"SourceFile":"Empleados\\EditarEmpleado.cs"},{"SourceFile":"Empleados\\EditarEmpleado.Designer.cs"},{"SourceFile":"Envios\\envios.cs"},{"SourceFile":"Envios\\envios.Designer.cs"},{"SourceFile":"Inventario\\inventario.cs"},{"SourceFile":"Inventario\\inventario.Designer.cs"},{"SourceFile":"Principal\\login.cs"},{"SourceFile":"Principal\\login.Designer.cs"},{"SourceFile":"Principal\\MenuPrincipal.cs"},{"SourceFile":"Principal\\MenuPrincipal.Designer.cs"},{"SourceFile":"Merma\\mermas.cs"},{"SourceFile":"Merma\\mermas.Designer.cs"},{"SourceFile":"Empleados\\ModificarContra.cs"},{"SourceFile":"Empleados\\ModificarContra.Designer.cs"},{"SourceFile":"Empleados\\personal.cs"},{"SourceFile":"Empleados\\personal.Designer.cs"},{"SourceFile":"Empleados\\preguntaLogin.cs"},{"SourceFile":"Empleados\\preguntaLogin.Designer.cs"},{"SourceFile":"Program.cs"},{"SourceFile":"Properties\\AssemblyInfo.cs"},{"SourceFile":"SqlServerTypes\\Loader.cs"},{"SourceFile":"Ventas\\datosCuenta.cs"},{"SourceFile":"Ventas\\datosCuenta.Designer.cs"},{"SourceFile":"Ventas\\datosEnvio.cs"},{"SourceFile":"Ventas\\datosEnvio.Designer.cs"},{"SourceFile":"Ventas\\Importe.cs"},{"SourceFile":"Ventas\\Importe.Designer.cs"},{"SourceFile":"Ventas\\Importe1.cs"},{"SourceFile":"Ventas\\Importe1.Designer.cs"},{"SourceFile":"Ventas\\vender.cs"},{"SourceFile":"Ventas\\vender.Designer.cs"},{"SourceFile":"Merma\\verMerma.cs"},{"SourceFile":"Merma\\verMerma.Designer.cs"},{"SourceFile":"Properties\\Resources.Designer.cs"},{"SourceFile":"Properties\\Settings.Designer.cs"},{"SourceFile":"obj\\Debug\\.NETFramework,Version=v4.7.2.AssemblyAttributes.cs"}],"References":[{"Reference":"C:\\Users\\Googl\\Source\\Repos\\aspermaster23yeh\\compabetoOG\\packages\\EntityFramework.6.4.4\\lib\\net45\\EntityFramework.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Users\\Googl\\Source\\Repos\\aspermaster23yeh\\compabetoOG\\packages\\EntityFramework.6.4.4\\lib\\net45\\EntityFramework.SqlServer.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\Microsoft.CSharp.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Users\\Googl\\Source\\Repos\\aspermaster23yeh\\compabetoOG\\packages\\Microsoft.SqlServer.Types.14.0.314.76\\lib\\net40\\Microsoft.SqlServer.Types.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\mscorlib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.ComponentModel.DataAnnotations.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Data.DataSetExtensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Users\\Googl\\Source\\Repos\\aspermaster23yeh\\compabetoOG\\packages\\Stub.System.Data.SQLite.Core.NetFramework.1.0.118.0\\lib\\net46\\System.Data.SQLite.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Users\\Googl\\Source\\Repos\\aspermaster23yeh\\compabetoOG\\packages\\System.Data.SQLite.EF6.1.0.118.0\\lib\\net46\\System.Data.SQLite.EF6.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Users\\Googl\\Source\\Repos\\aspermaster23yeh\\compabetoOG\\packages\\System.Data.SQLite.Linq.1.0.118.0\\lib\\net46\\System.Data.SQLite.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Deployment.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Drawing.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Net.Http.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Windows.Forms.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Xml.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Xml.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""}],"Analyzers":[],"Outputs":[{"OutputItemFullPath":"C:\\Users\\Googl\\Source\\Repos\\aspermaster23yeh\\compabetoOG\\bin\\Debug\\compabetov2.exe","OutputItemRelativePath":"compabetov2.exe"},{"OutputItemFullPath":"C:\\Users\\Googl\\Source\\Repos\\aspermaster23yeh\\compabetoOG\\bin\\Debug\\compabetov2.pdb","OutputItemRelativePath":"compabetov2.pdb"}],"CopyToOutputEntries":[]} \ No newline at end of file diff --git a/Empleados/EditarEmpleado1.Designer.cs b/Empleados/EditarEmpleado1.Designer.cs index c155aed..db179f9 100644 --- a/Empleados/EditarEmpleado1.Designer.cs +++ b/Empleados/EditarEmpleado1.Designer.cs @@ -56,40 +56,38 @@ this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.lbImg = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); - this.pictureBox3 = new System.Windows.Forms.PictureBox(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).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.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(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.Size = new System.Drawing.Size(231, 30); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 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.Size = new System.Drawing.Size(231, 34); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 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.Size = new System.Drawing.Size(119, 29); this.label1.TabIndex = 4; this.label1.Text = "Nombres:"; this.label1.Click += new System.EventHandler(this.label1_Click); @@ -98,131 +96,131 @@ // 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 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.Size = new System.Drawing.Size(120, 29); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 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.Size = new System.Drawing.Size(231, 34); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 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.Size = new System.Drawing.Size(102, 29); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 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.Size = new System.Drawing.Size(231, 34); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 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.Size = new System.Drawing.Size(102, 29); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 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.Size = new System.Drawing.Size(231, 34); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 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.Size = new System.Drawing.Size(171, 29); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 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.Size = new System.Drawing.Size(231, 34); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 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.Size = new System.Drawing.Size(140, 29); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 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.Size = new System.Drawing.Size(231, 34); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 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.Size = new System.Drawing.Size(231, 34); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 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.Size = new System.Drawing.Size(82, 29); this.label7.TabIndex = 16; this.label7.Text = "No.Int:"; // @@ -230,85 +228,85 @@ // 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 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.Size = new System.Drawing.Size(136, 29); 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.CalendarFont = new System.Drawing.Font("Microsoft Sans Serif", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.dtFechaNac.Font = new System.Drawing.Font("Microsoft Sans Serif", 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.Size = new System.Drawing.Size(231, 34); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 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.Size = new System.Drawing.Size(248, 29); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 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.Size = new System.Drawing.Size(231, 34); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 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.Size = new System.Drawing.Size(261, 29); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 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.Size = new System.Drawing.Size(231, 34); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 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.Size = new System.Drawing.Size(116, 29); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cbEstado.FormattingEnabled = true; this.cbEstado.Items.AddRange(new object[] { "Activo", @@ -316,7 +314,7 @@ 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.Size = new System.Drawing.Size(231, 37); this.cbEstado.TabIndex = 24; this.cbEstado.Text = "Activo"; // @@ -324,12 +322,12 @@ // 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 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.Size = new System.Drawing.Size(94, 29); this.label12.TabIndex = 25; this.label12.Text = "Estado:"; // @@ -361,18 +359,18 @@ // 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 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(653, 530); 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.Size = new System.Drawing.Size(99, 29); 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.button1.Location = new System.Drawing.Point(660, 564); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(103, 46); @@ -381,17 +379,6 @@ this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // - // pictureBox3 - // - this.pictureBox3.BackColor = System.Drawing.Color.Transparent; - this.pictureBox3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; - this.pictureBox3.Image = global::compabetov2.Properties.Resources.check1; - this.pictureBox3.Location = new System.Drawing.Point(206, 135); - this.pictureBox3.Name = "pictureBox3"; - this.pictureBox3.Size = new System.Drawing.Size(100, 69); - this.pictureBox3.TabIndex = 30; - this.pictureBox3.TabStop = false; - // // EditarEmpleado1 // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); @@ -401,7 +388,6 @@ this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.ClientSize = new System.Drawing.Size(915, 622); this.ControlBox = false; - this.Controls.Add(this.pictureBox3); this.Controls.Add(this.button1); this.Controls.Add(this.lbImg); this.Controls.Add(this.pictureBox2); @@ -437,7 +423,6 @@ this.Load += new System.EventHandler(this.EditarEmpleado1_Load); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -473,6 +458,5 @@ private System.Windows.Forms.PictureBox pictureBox1; private System.Windows.Forms.Label lbImg; private System.Windows.Forms.Button button1; - private System.Windows.Forms.PictureBox pictureBox3; } } \ No newline at end of file diff --git a/Empleados/EditarEmpleado1.cs b/Empleados/EditarEmpleado1.cs index 8f0b477..15583d1 100644 --- a/Empleados/EditarEmpleado1.cs +++ b/Empleados/EditarEmpleado1.cs @@ -139,5 +139,10 @@ namespace compabetov2.Empleados MessageBox.Show("Por favor, ingrese solo letras.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } } + + private void pictureBox3_Click(object sender, EventArgs e) + { + + } } } diff --git a/admin/editar.Designer.cs b/admin/editar.Designer.cs new file mode 100644 index 0000000..325abec --- /dev/null +++ b/admin/editar.Designer.cs @@ -0,0 +1,184 @@ +namespace compabetov2.admin +{ + partial class editar + { + /// + /// 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.label1 = new System.Windows.Forms.Label(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.pictureBox2 = new System.Windows.Forms.PictureBox(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + 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("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.txtNombre.Location = new System.Drawing.Point(333, 209); + this.txtNombre.Margin = new System.Windows.Forms.Padding(4); + this.txtNombre.Name = "txtNombre"; + this.txtNombre.Size = new System.Drawing.Size(231, 30); + this.txtNombre.TabIndex = 5; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.BackColor = System.Drawing.Color.Transparent; + this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 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(326, 165); + this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(107, 29); + this.label1.TabIndex = 6; + this.label1.Text = "Nombre:"; + // + // textBox1 + // + this.textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox1.Location = new System.Drawing.Point(333, 299); + this.textBox1.Margin = new System.Windows.Forms.Padding(4); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(231, 30); + this.textBox1.TabIndex = 7; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.BackColor = System.Drawing.Color.Transparent; + this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 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(326, 255); + this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(89, 29); + this.label2.TabIndex = 8; + this.label2.Text = "Precio:"; + // + // textBox2 + // + this.textBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox2.Location = new System.Drawing.Point(333, 388); + this.textBox2.Margin = new System.Windows.Forms.Padding(4); + this.textBox2.Name = "textBox2"; + this.textBox2.Size = new System.Drawing.Size(231, 30); + this.textBox2.TabIndex = 9; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.BackColor = System.Drawing.Color.Transparent; + this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 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(326, 344); + this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(119, 29); + this.label3.TabIndex = 10; + this.label3.Text = "Nombres:"; + // + // 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(345, 465); + this.pictureBox2.Name = "pictureBox2"; + this.pictureBox2.Size = new System.Drawing.Size(100, 69); + this.pictureBox2.TabIndex = 29; + this.pictureBox2.TabStop = false; + // + // 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(451, 465); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(100, 69); + this.pictureBox1.TabIndex = 28; + this.pictureBox1.TabStop = false; + // + // button1 + // + this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button1.Location = new System.Drawing.Point(591, 465); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(103, 46); + this.button1.TabIndex = 30; + this.button1.Text = "Subir"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // editar + // + 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(897, 575); + this.ControlBox = false; + this.Controls.Add(this.button1); + this.Controls.Add(this.pictureBox2); + this.Controls.Add(this.pictureBox1); + this.Controls.Add(this.textBox2); + this.Controls.Add(this.label3); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.label2); + this.Controls.Add(this.txtNombre); + this.Controls.Add(this.label1); + this.DoubleBuffered = true; + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.Name = "editar"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + ((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.Label label1; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.PictureBox pictureBox2; + private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.Button button1; + } +} \ No newline at end of file diff --git a/admin/editar.cs b/admin/editar.cs new file mode 100644 index 0000000..8b68b6d --- /dev/null +++ b/admin/editar.cs @@ -0,0 +1,35 @@ +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.admin +{ + public partial class editar : Form + { + public editar() + { + InitializeComponent(); + } + + 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)}"; + } + } + } +} diff --git a/admin/editar.resx b/admin/editar.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/admin/editar.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/compabetov2.csproj b/compabetov2.csproj index 4385495..3a94426 100644 --- a/compabetov2.csproj +++ b/compabetov2.csproj @@ -112,6 +112,12 @@ crud.cs + + Form + + + editar.cs + @@ -283,6 +289,9 @@ crud.cs + + editar.cs + AgregarEmpleado1.cs diff --git a/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/obj/Debug/DesignTimeResolveAssemblyReferences.cache index 10a1a652211a8c8e47c50a8ce093068129af4b02..62b824ea8591ac99051c32804985e2a3cb60ab3a 100644 GIT binary patch literal 6091 zcmd5=O>7%Q6yAX}n3$xLP(V#>vZY$D$IdAGV`g`q zx-ANa01x!uNaWRc2N_bY) zZL^?duxn3_s~KXcqd4Q`*RK}iGCqM30^l1*UOLwM=Jg0dC|dbfG0yM7?V62^M+>lP zdl?Sk7ah$J0}m^Tk{VXHbqcpmDO;y->y(YwDV66;jw@iD!mV4sTDFcqKtcyAgNyOL z*bD@K*w)B^+|NFJv6N@H9>pUT_FSqNeX+w{#vu9=xHN6gVQa+l3}3c61SX-Y)p~us~)KF~o-PS%QhZ`zfMR+p%-5oJ!AXv=G|LAcUh}Wm91F*}@I&C=No-Ci)Wt zLkM-s6Nje9sAl4Mo6d3gJ7Cmp@LhuqNk{|2AEtI5#>B>eWln6*iANvV3yjZUiY*<- zl8%E-$ad_g73b9ordsm^6&}7%j;lfX%UQ!HbG-Mv?+c4pBYq&afdO|}kjf-$X|iP$ zqU^-V=~c&BcFYG^xjB9#IN^6tm7@|eTjGYFKsDTJ;8F*8BZTw}MHCAd)^^{4G}b*z z+)`8dRZS@d*5QLaYZ^`AROczf39CH}BOpyE-C;n1yryg`NAe!kT+scd+}jwY&ZMqm z#~~SFgpK%)K)`UpuuCSk+)$SF`EXO797?Z>$a_Zhigf#m83?pLKO#?zz^Z-v80yyD9U^(#>yQ`C+zy=ijgX zbt(EY+WFhVKRuZDB11PnTuNSlk2hk~1-yiWNmbAbgiYE2Cn#nFbN~o-`;#_JHOtX- zR?ci*y8;VEh-w*&rB3y#)v!frhe518VH+e9X^Fs9dKtfwtI$xYv?{E3-%^WPkSU?d z-b#~EvNV(EAeTn delta 35 qcmX@D-_6Lu#>mLPz`&R``2b5OuVZp@YH@L9Qf5wON#*1(qKW{a9SXbv