Feat: primera iteracion de los repositorios hecha #33

Merged
fede merged 16 commits from Modelo into master 2024-04-07 11:13:27 -03:00
98 changed files with 1211 additions and 113 deletions
Showing only changes of commit 07471878e7 - Show all commits

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,7 +1,7 @@
{
"ExpandedNodes": [
"",
"\\Controladora"
""
],
"SelectedNode": "\\Final_OOP.sln",
"PreviewInSolutionExplorer": false
}

BIN
.vs/verdadero/v17/.wsuo Normal file

Binary file not shown.

View File

@@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"Controladora/1.0.0": {
"runtime": {
"Controladora.dll": {}
}
}
}
},
"libraries": {
"Controladora/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

Binary file not shown.

Binary file not shown.

View File

@@ -1,20 +1,24 @@
{
"format": 1,
"restore": {
"C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Controladora\\Controladora.csproj": {}
"C:\\Users\\Nacho\\Desktop\\verdadero\\Controladora\\Controladora.csproj": {}
},
"projects": {
"C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Controladora\\Controladora.csproj": {
"C:\\Users\\Nacho\\Desktop\\verdadero\\Controladora\\Controladora.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Controladora\\Controladora.csproj",
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\verdadero\\Controladora\\Controladora.csproj",
"projectName": "Controladora",
"projectPath": "C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Controladora\\Controladora.csproj",
"packagesPath": "C:\\Users\\fedpo\\.nuget\\packages\\",
"outputPath": "C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Controladora\\obj\\",
"projectPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Controladora\\Controladora.csproj",
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Controladora\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\fedpo\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
@@ -55,7 +59,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.100\\RuntimeIdentifierGraph.json"
}
}
}

View File

@@ -5,11 +5,12 @@
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\fedpo\.nuget\packages\</NuGetPackageFolders>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Nacho\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.6.0</NuGetToolVersion>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.4.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\fedpo\.nuget\packages\" />
<SourceRoot Include="C:\Users\Nacho\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

View File

@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
// Este código fue generado por una herramienta.
// Versión de runtime:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
// se vuelve a generar el código.
// </auto-generated>
//------------------------------------------------------------------------------
@@ -19,5 +19,5 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyTitleAttribute("Controladora")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.
// Generado por la clase WriteCodeFragment de MSBuild.

View File

@@ -8,4 +8,4 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Controladora
build_property.ProjectDir = C:\Users\fedpo\source\repos\Final_OOP\Controladora\
build_property.ProjectDir = C:\Users\Nacho\Desktop\verdadero\Controladora\

View File

@@ -0,0 +1 @@
a8e0260e0db6be55f0b0f28b550784baab05fd07

View File

@@ -0,0 +1,12 @@
C:\Users\Nacho\Desktop\verdadero\Controladora\bin\Debug\net6.0\Controladora.deps.json
C:\Users\Nacho\Desktop\verdadero\Controladora\bin\Debug\net6.0\Controladora.dll
C:\Users\Nacho\Desktop\verdadero\Controladora\bin\Debug\net6.0\Controladora.pdb
C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\Controladora.csproj.AssemblyReference.cache
C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\Controladora.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\Controladora.AssemblyInfoInputs.cache
C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\Controladora.AssemblyInfo.cs
C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\Controladora.csproj.CoreCompileInputs.cache
C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\Controladora.dll
C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\refint\Controladora.dll
C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\Controladora.pdb
C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\ref\Controladora.dll

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -8,19 +8,24 @@
"net6.0": []
},
"packageFolders": {
"C:\\Users\\fedpo\\.nuget\\packages\\": {}
"C:\\Users\\Nacho\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\fedpo\\Source\\Repos\\Final_OOP\\Controladora\\Controladora.csproj",
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\verdadero\\Controladora\\Controladora.csproj",
"projectName": "Controladora",
"projectPath": "C:\\Users\\fedpo\\Source\\Repos\\Final_OOP\\Controladora\\Controladora.csproj",
"packagesPath": "C:\\Users\\fedpo\\.nuget\\packages\\",
"outputPath": "C:\\Users\\fedpo\\Source\\Repos\\Final_OOP\\Controladora\\obj\\",
"projectPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Controladora\\Controladora.csproj",
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Controladora\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\fedpo\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
@@ -61,7 +66,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.100\\RuntimeIdentifierGraph.json"
}
}
}

View File

@@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "A4kO2NOfMa/oy4pyt8lh+l5HlET4t8oD38XKNRlq8D0xa30zM+NY7KNiRBxNrpfyQFvcAbzIY/kzOqcSkbWV9Q==",
"dgSpecHash": "u0tQWSTecwpOeF8ex2Z7+it4hGACCdiYQps7/HOOR0/624pNMGrWSPWZ3zKYoaOmpwNfzdme3OEpJVxXSSHrUw==",
"success": true,
"projectFilePath": "C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Controladora\\Controladora.csproj",
"projectFilePath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Controladora\\Controladora.csproj",
"expectedPackageFiles": [],
"logs": []
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -0,0 +1,258 @@
#+title: Casos De Uso
* Empleado Gestiona un Producto
#+begin_src plantuml :file registroProducto.jpg
@startuml
left to right direction
actor "Empleado" <<Persona>> as fc
rectangle GestionProductos {
usecase "Gestionar Productos" as UC1
usecase "Listar Productos" as UC2
usecase "Modificar Productos" as UC3
usecase "Eliminar Producto" as UC4
usecase "Registrar Producto" as UC5
usecase "Seleccionar Proveedor" as uc7
usecase "Gestionar Categorias" as uc6
}
fc --> UC1
UC1 ..> UC2: "include"
UC3 ..> UC1: "extend"
UC4 ..> UC1: "extend"
UC5 ..> UC1: "extend"
UC5 ..> uc7: "include"
UC3 .> uc6: "include"
UC5 .> uc6: "include"
@enduml
#+end_src
#+RESULTS:
[[file:registroProducto.jpg]]
* Empleado Gestion Categorias
#+begin_src plantuml :file RegistroCategorias.jpg
@startuml
actor "Empleado" <<Persona>> as fc
rectangle RegistrarCategorias {
usecase "Gestionar Categorias" as UC1
usecase "Eliminar Categoria" as UC4
usecase "Registrar Categoria" as UC5
}
fc --> UC1
UC4 ..> UC1: "extend"
UC5 ..> UC1: "extend"
@enduml
#+end_src
#+RESULTS:
[[file:RegistroCategorias.jpg]]
* Empleado Registra Facturas
#+begin_src plantuml :file RegistroFacturas.jpg
@startuml
left to right direction
actor "Empleado" <<Persona>> as fc
rectangle RegistrarFacturas {
usecase "Gestionar Facturas" as uc0
usecase "Registrar Factura" as UC1
usecase "Listar Productos Con Existencias" as UC2
usecase "Filtrar Producto Por Categoria" as uc3
usecase "Descontar Stock" as uc4
}
fc --> uc0
uc0 <.. UC1: "extend"
uc0 ..> UC2: "include"
UC2 ..> uc3: "include"
UC1 ..> uc4: "include"
@enduml
#+end_src
#+RESULTS:
[[file:RegistroFacturas.jpg]]
* Empleado Registra Ordenes de Compra
#+begin_src plantuml :file RegistroOrdenDeCompra.jpg
@startuml
left to right direction
actor "Empleado" <<Persona>> as fc
rectangle RegistrarOrdendeCompra {
usecase "Gestionar OrdenDeCompra" as uc0
usecase "Registrar OrdenDeCompra" as UC1
usecase "Seleccionar Presupuesto" as uc3
usecase "Listar Ordenes" as UC2
}
fc --> uc0
uc0 <.. UC1: "extend"
uc0 ..> UC2: "include"
UC1 ..> uc3: "include"
@enduml
#+end_src
#+RESULTS:
[[file:RegistroOrdenDeCompra.jpg]]
* Empleado Registra Remito
#+begin_src plantuml :file RegistroRemito.jpg
@startuml
left to right direction
actor "Empleado" <<Persona>> as fc
rectangle RegistroRemito {
usecase "Gestionar Remitos" as uc0
usecase "Registrar Remito" as UC1
usecase "Aumentar Stock" as uc3
usecase "Listar Remitos" as uc4
}
fc --> uc0
uc0 ..> uc4: "include"
uc0 <.. UC1: "extend"
UC1 ..> uc3: "include"
@enduml
#+end_src
#+RESULTS:
[[file:RegistroRemito.jpg]]
* Se pide un Presupuesto
#+begin_src plantuml :file PedidoPresupuesto.jpg
@startuml
left to right direction
actor "Empleado" <<Persona>> as fc
rectangle RegistroRemito {
usecase "Gestionar Pedidos de Presupuesto" as uc0
usecase "Enviar Pedido de Presupuesto" as uc1
usecase "Registrar Pedido de Presupuesto" as uc3
}
fc --> uc0
uc0 <.. uc3: "extend"
uc1 ..> uc3: "include"
@enduml
#+end_src
#+RESULTS:
[[file:PedidoPresupuesto.jpg]]
* Carga de presupuesto enviado por un proveedor
#+begin_src plantuml :file CargaPresupuesto.jpg
@startuml
left to right direction
actor "Empleado" <<Persona>> as fc
rectangle RegistroRemito {
usecase "Gestionar Presupuestos" as uc0
usecase "Registrar Presupuesto" as uc1
}
fc --> uc0
uc0 <.. uc1: "extend"
@enduml
#+end_src
#+RESULTS:
[[file:CargaPresupuesto.jpg]]
* Informar pocos productos en stock
#+begin_src plantuml :file Informe.jpg
actor "Sistema" <<Programa>> as pr
rectangle "Aviso Stock Restante" {
note "<<Invariable>>\n producto->stock <= producto->umbralAvisoStock" as n1
usecase "Checkear Stock" as uc0
usecase "Enviar Informe" as uc1
usecase "Enviar Mail" as uc2
usecase "Mostrar MessageBox" as uc3
}
pr --> uc0
uc1 ..> uc0: "extend"
uc1 ..> uc2: "include"
uc1 ..> uc3: "include"
n1 .. uc0
#+end_src
#+RESULTS:
[[file:Informe.jpg]]
* Gestionar Mails de Informes
#+begin_src plantuml :file GestionMails.jpg
@startuml
actor "Empleado" <<Persona>> as cl
rectangle "Gestion Mails" {
usecase "Gestionar Mails" as UC1
usecase "Listar Mails" as UC2
usecase "Modificar Mails" as UC3
usecase "Eliminar Mail" as UC4
usecase "Registrar Mail" as UC5
}
left to right direction
cl --> UC1
UC1 ..> UC2: "include"
UC1 <.. UC3: "extend"
UC1 <.. UC4: "extend"
UC1 <.. UC5: "extend"
@enduml
#+end_src
#+RESULTS:
[[file:GestionMails.jpg]]
* Empleado Registra Proveedor
#+begin_src plantuml :file GestionProveedor.jpg
@startuml
actor "Empleado" <<Persona>> as cl
rectangle "Gestion Proveedor" {
usecase "Gestionar Proveedor" as UC1
usecase "Listar Proveedor" as UC2
usecase "Modificar Proveedor" as UC3
usecase "Eliminar Proveedor" as UC4
usecase "Registrar Proveedor" as UC5
}
left to right direction
cl --> UC1
UC1 ..> UC2: "include"
UC1 <.. UC3: "extend"
UC1 <.. UC4: "extend"
UC1 <.. UC5: "extend"
@enduml
#+end_src
#+RESULTS:
[[file:GestionProveedor.jpg]]
* Empleado Registra Cliente
#+begin_src plantuml :file GestionCliente.jpg
@startuml
actor "Empleado" <<Persona>> as cl
rectangle "Gestion Cliente" {
usecase "Gestionar Cliente" as UC1
usecase "Listar Cliente" as UC2
usecase "Modificar Cliente" as UC3
usecase "Eliminar Cliente" as UC4
usecase "Registrar Cliente" as UC5
}
left to right direction
cl --> UC1
UC1 ..> UC2: "include"
UC1 <.. UC3: "extend"
UC1 <.. UC4: "extend"
UC1 <.. UC5: "extend"
@enduml
#+end_src
#+RESULTS:
[[file:GestionCliente.jpg]]

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

View File

@@ -0,0 +1,246 @@
#+title: Diagrama Secuencia
* Usuario Gestiona un Producto
#+begin_src plantuml :file GestionProducto.jpg
@startuml
actor "Cliente" as cl
boundary "FormProductos" as fps
boundary "FormProducto" as fp
control "Controladora Producto" as gp
entity "Repo Productos" as rp
group "Registrar Nuevo Producto"
cl -> fps: Registrar Producto
fps -> fp: RegistrarProducto()
fp -> gp: AñadirProducto(:Producto)
gp -> rp: Add(:Producto)
alt ok case
rp --> gp: 👍
gp --> fp: "Se añadió el producto"
else algo fallo
rp --> gp: 👎
gp --> fp: "Falló la carga"
end
fp --> fps: ok
group "Refesh Productos"
fps -> fps: RefreshGUI()
end
end
group "Modificar Producto"
cl -> fps: Modificar Producto
fps -> fp: ModificarProducto(:Producto)
fp -> gp: ModificarProducto(:Producto)
gp -> rp: Mod(:Producto)
alt ok case
rp --> gp: 👍
gp --> fp: "Se Modificó el producto"
else algo fallo
rp --> gp: 👎
gp --> fp: "Falló Modificacion"
end
fp --> fps: ok
group "Refesh Productos"
fps -> fps: RefreshGUI()
end
end
group "Eliminar Producto"
cl -> fps: Eliminar Producto
fps -> gp: EliminarProducto(:Producto)
gp -> rp: Del(:Producto)
alt ok case
rp --> gp: 👍
gp --> fp: "Se eliminó el producto"
else algo fallo
rp --> gp: 👎
gp --> fp: "Falló la Baja del producto"
end
group "Refesh Productos"
fps -> fps: RefreshGUI()
end
end
@enduml
#+end_src
#+RESULTS:
[[file:GestionProducto.jpg]]
* Usuario Gestiona Categorias
#+begin_src plantuml :file GestionCategorias.jpg
@startuml
actor "Cliente" as cl
boundary "FormCategorias" as fcs
boundary "FormCategoria" as fc
control "Controladora Categorias" as gc
entity "Repo Categorias" as rc
group "Añadir Categoria"
cl -> fcs: Añadir Categoria
fcs -> fc: RegistrarCategoria()
fc -> gc: RegistrarCategoria(:Categoria)
gc -> rc: Add(:Categoria)
alt ok case
rc --> gc: 👍
gc --> fc: "Se añadió la Categoria"
else algo fallo
rc --> gc: 👎
gc --> fc: "Falló la carga"
end
fc --> fcs: ok
group "Refrescar Categorias"
fcs -> fcs: RefreshGUI()
end
end
group "Eliminar Categoria"
cl -> fcs: Eliminar Categoria
fcs -> fc: RegistrarCategoria()
fc -> gc: RegistrarCategoria(:Categoria)
gc -> rc: Add(:Categoria)
alt ok case
rc --> gc: 👍
gc --> fc: "Se Eliminó la Categoria"
else algo fallo
rc --> gc: 👎
gc --> fc: "Falló la Baja"
end
fc --> fcs: ok
group "Refrescar Categorias"
fcs -> fcs: RefreshGUI()
end
end
@enduml
#+end_src
#+RESULTS:
[[file:GestionCategorias.jpg]]
* Usuario Registra Facturas
#+begin_src plantuml :file GestionFacturas.jpg
@startuml
actor "Cliente" as cl
boundary "FormFacturas" as fcs
boundary "FormFactura" as fc
control "Controladora Facturas" as gc
entity "Repo Facturas" as rc
group "Añadir Factura"
cl -> fcs: Añadir Factura
fcs -> fc: RegistrarFactura()
fc -> gc: RegistrarFactura(:Factura)
gc -> rc: Add(:Factura)
alt ok case
rc --> gc: 👍
else algo fallo
rc --> gc: 👎
end
gc -> rc: DescontarStock(:Factura)
alt ok case
rc --> gc: 👍
else algo fallo
rc --> gc: 👎
end
gc --> fc: ok
fc --> fcs: ok
group "Refrescar Facturas"
fcs -> fcs: RefreshGUI()
end
end
@enduml
#+end_src
#+RESULTS:
[[file:GestionFacturas.jpg]]
* Gestion de Mails para informes
#+begin_src plantuml :file GestionMails.jpg
@startuml
actor "Cliente" as cl
boundary "FormGestionMails" as fps
control "ControladoraGestionMails" as gp
entity "RepoMails" as rp
group "Registrar Nuevo Mails"
cl -> fps: Registrar Mail
fps -> gp: RegistrarMail(:Mail)
gp -> rp: Add(:Mail)
alt ok case
rp --> gp: 👍
gp --> fps: "Se añadió el Mail"
else algo fallo
rp --> gp: 👎
gp --> fps: "Falló la carga"
end
group "Refesh Mails"
fps -> fps: RefreshGUI()
end
end
group "Modificar Mail"
cl -> fps: Modificar Mail
fps -> gp: ModificarMail(:Mail)
gp -> rp: Mod(:Mail)
alt ok case
rp --> gp: 👍
gp --> fps: "Se Modificó el Mail"
else algo fallo
rp --> gp: 👎
gp --> fps: "Falló Modificacion"
end
group "Refesh Mails"
fps -> fps: RefreshGUI()
end
end
group "Eliminar Mail"
cl -> fps: Eliminar Mail
fps -> gp: EliminarMail(:Mail)
gp -> rp: Del(:Mail)
alt ok case
rp --> gp: 👍
gp --> fps: "Se eliminó el Mail"
else algo fallo
rp --> gp: 👎
gp --> fps: "Falló la Baja del Mail"
end
group "Refesh Mail"
fps -> fps: RefreshGUI()
end
end
@enduml
#+end_src
#+RESULTS:
[[file:GestionMails.jpg]]

14
Entidades/Categoria.cs Normal file
View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public class Categoria
{
public int Id { get; set; }
public string Descripcion { get; set; }
}
}

View File

@@ -1,7 +0,0 @@
namespace Entidades
{
public class Class1
{
}
}

17
Entidades/Cliente.cs Normal file
View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public class Cliente
{
public string Cuit { get; set; }
public string Nombre { get; set; }
public string Apellido { get; set; }
public string Direccion { get; set; }
public string Correo { get; set; }
}
}

10
Entidades/Detalle.cs Normal file
View File

@@ -0,0 +1,10 @@
namespace Entidades
{
public class Detalle <T> where T:Producto
{
public int Id { get; set; }
public int Cantidad { get; set; }
public T Producto { get; set; }
}
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public class DetalleFactura: Detalle<Producto>
{
public int IdFactura { get; set; }
public double PrecioUnitario { get; set; }
public double Subtotal { get; set; }
}
}

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public class DetalleOrdenDeCompra: Detalle<Producto>
{
public int IdOrdenDeCompra { get; set; }
}
}

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public class DetallePedido : Detalle<Producto>
{
public int IdPedido { get; set; }
}
}

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public class DetallePresupuesto: Detalle<Producto>
{
public int IdPresupuesto { get; set; }
public double CostoUnitario { get; set; }
}
}

15
Entidades/EnvaseTipo.cs Normal file
View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public enum EnvaseTipo
{
Plastico,
Enlatado,
Carton
}
}

34
Entidades/Factura.cs Normal file
View File

@@ -0,0 +1,34 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public class Factura
{
public double Total { get; set; }
public DateTime Fecha { get; set; }
public Cliente Cliente { get; set; }
private List<DetalleFactura> detalles = new List<DetalleFactura>();
public void AñadirDetalle(DetalleFactura detalle)
{
detalles.Add(detalle);
}
public bool EliminarDetalle(DetalleFactura detalle)
{
var aeliminar = detalles.Find(x => x.Id == detalle.Id);
if (aeliminar == null) return false;
return detalles.Remove(aeliminar);
}
public ReadOnlyCollection<DetalleFactura> MostrarDetalles()
{
return detalles.AsReadOnly();
}
}
}

17
Entidades/Lote.cs Normal file
View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public class Lote
{
public int Id { get; set; }
public DateTime Fecha { get; set; }
public Producto Producto { get; set; }
public long CantidadDeProductos { get; set; }
public bool Habilitado { get; set; }
}
}

View File

@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public class OrdenDeCompra
{
public int Id { get; set; }
private List<DetalleOrdenDeCompra> detalles = new List<DetalleOrdenDeCompra>();
public Proveedor Proveedor { get; set; }
public void AñadirDetalle(DetalleOrdenDeCompra detalle)
{
detalles.Add(detalle);
}
public bool EliminarDetalle(DetalleOrdenDeCompra detalle)
{
var aeliminar = detalles.Find(x => x.Id == detalle.Id);
if (aeliminar == null) return false;
return detalles.Remove(aeliminar);
}
public ReadOnlyCollection<DetalleOrdenDeCompra> MostrarDetalles()
{
return detalles.AsReadOnly();
}
}
}

View File

@@ -0,0 +1,34 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public class PedidoDePresupuesto
{
public int Id { get; set; }
public DateTime Fecha { get; set; }
private List<DetallePedido> detallesPedidos = new List<DetallePedido>();
public Proveedor Proveedor { get; set; }
public void AñadirDetalle(DetallePedido detalle)
{
detallesPedidos.Add(detalle);
}
public bool EliminarDetalle(DetallePedido detalle)
{
var aeliminar = detallesPedidos.Find(x => x.Id == detalle.Id);
if (aeliminar == null) return false;
return detallesPedidos.Remove(aeliminar);
}
public ReadOnlyCollection<DetallePedido> MostrarDetalles()
{
return detallesPedidos.AsReadOnly();
}
}
}

34
Entidades/Presupuesto.cs Normal file
View File

@@ -0,0 +1,34 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public class Presupuesto
{
public int Id { get; set; }
public DateTime Fecha { get; set; }
public bool Habilitado { get; set; }
public bool Aceptado { get; set; }
public Proveedor Proveedor { get; set; }
private List<DetallePresupuesto> detalles = new List<DetallePresupuesto>();
public void AñadirDetalle(DetallePresupuesto det) {
detalles.Add(det);
}
public bool EliminarDetalle(DetallePresupuesto det) {
var dAEliminar = detalles.FirstOrDefault(x => x.Id == det.Id);
if (dAEliminar == null) return false;
return detalles.Remove(dAEliminar);
}
public ReadOnlyCollection<DetallePresupuesto> MostrarDetalles()
{
return detalles.AsReadOnly();
}
}
}

32
Entidades/Producto.cs Normal file
View File

@@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public class Producto
{
public int Id { get; set; }
public string Nombre { get; set; }
public double Precio { get; set; }
public bool Habilitado { get; set; }
private List<Categoria> categorias = new List<Categoria>();
public void AñadirCategoria(Categoria cat) {
categorias.Add(cat);
}
public bool EliminarCategoria(Categoria cat) {
var cAEliminar = categorias.FirstOrDefault(x => x.Id == cat.Id);
if (cAEliminar == null) return false;
return categorias.Remove(cAEliminar);
}
public ReadOnlyCollection<Categoria> MostrarCategorias(){
return categorias.AsReadOnly();
}
}
}

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public class ProductoNoPercedero: Producto
{
public EnvaseTipo TipoDeEnvase { get; set; }
}
}

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public class ProductoPercedero: Producto
{
public int MesesHastaConsumoPreferente { get; set; }
public int MesesHastaVencimiento { get; set; }
}
}

16
Entidades/Proveedor.cs Normal file
View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public class Proveedor
{
public int Id { get; set; }
public string Nombre { get; set; }
public string RazonSocial { get; set; }
public bool Habilitado { get; set; }
}
}

33
Entidades/Remito.cs Normal file
View File

@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public class Remito
{
public int Id { get; set; }
private List<Lote> lotesDeProductosEntregados = new List<Lote>();
public Proveedor Proveedor { get; set; }
public ReadOnlyCollection<Lote> MostrarLotes()
{
return lotesDeProductosEntregados.AsReadOnly();
}
public void AñadirLote(Lote lote)
{
try
{
lotesDeProductosEntregados.Add(lote);
}
catch (Exception)
{
throw;
}
}
}
}

View File

@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
// Este código fue generado por una herramienta.
// Versión de runtime:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
// se vuelve a generar el código.
// </auto-generated>
//------------------------------------------------------------------------------
@@ -19,5 +19,5 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyTitleAttribute("Entidades")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.
// Generado por la clase WriteCodeFragment de MSBuild.

View File

@@ -8,4 +8,4 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Entidades
build_property.ProjectDir = C:\Users\fedpo\source\repos\Final_OOP\Entidades\
build_property.ProjectDir = C:\Users\Nacho\Desktop\verdadero\Entidades\

View File

@@ -1,20 +1,24 @@
{
"format": 1,
"restore": {
"C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Entidades\\Entidades.csproj": {}
"C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\Entidades.csproj": {}
},
"projects": {
"C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Entidades\\Entidades.csproj": {
"C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\Entidades.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Entidades\\Entidades.csproj",
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\Entidades.csproj",
"projectName": "Entidades",
"projectPath": "C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Entidades\\Entidades.csproj",
"packagesPath": "C:\\Users\\fedpo\\.nuget\\packages\\",
"outputPath": "C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Entidades\\obj\\",
"projectPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\Entidades.csproj",
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\fedpo\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
@@ -55,7 +59,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.100\\RuntimeIdentifierGraph.json"
}
}
}

View File

@@ -5,11 +5,12 @@
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\fedpo\.nuget\packages\</NuGetPackageFolders>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Nacho\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.6.0</NuGetToolVersion>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.4.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\fedpo\.nuget\packages\" />
<SourceRoot Include="C:\Users\Nacho\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

View File

@@ -8,19 +8,24 @@
"net6.0": []
},
"packageFolders": {
"C:\\Users\\fedpo\\.nuget\\packages\\": {}
"C:\\Users\\Nacho\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\fedpo\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj",
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\Entidades.csproj",
"projectName": "Entidades",
"projectPath": "C:\\Users\\fedpo\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj",
"packagesPath": "C:\\Users\\fedpo\\.nuget\\packages\\",
"outputPath": "C:\\Users\\fedpo\\Source\\Repos\\Final_OOP\\Entidades\\obj\\",
"projectPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\Entidades.csproj",
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\fedpo\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
@@ -61,7 +66,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.100\\RuntimeIdentifierGraph.json"
}
}
}

View File

@@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "4XaPqaABo//YaQxaag2E08fGKgcvV2OBhzU50wyE5ukRDUqusqZsvAE7a0YM7Fli/4NIM8udpV+H36qk1kPAHQ==",
"dgSpecHash": "EfKv1rzAP1O64kLam1piP0r6XmMQp58hllO9EbJzCiEt9P6u3A0JBGuj+WL6esbN+qeMKjy+GNcUs/OIe7UhTQ==",
"success": true,
"projectFilePath": "C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Entidades\\Entidades.csproj",
"projectFilePath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\Entidades.csproj",
"expectedPackageFiles": [],
"logs": []
}

View File

@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
// Este código fue generado por una herramienta.
// Versión de runtime:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
// se vuelve a generar el código.
// </auto-generated>
//------------------------------------------------------------------------------
@@ -19,5 +19,5 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyTitleAttribute("Modelo")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.
// Generado por la clase WriteCodeFragment de MSBuild.

View File

@@ -8,4 +8,4 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Modelo
build_property.ProjectDir = C:\Users\fedpo\source\repos\Final_OOP\Modelo\
build_property.ProjectDir = C:\Users\Nacho\Desktop\verdadero\Modelo\

View File

@@ -1,20 +1,24 @@
{
"format": 1,
"restore": {
"C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Modelo\\Modelo.csproj": {}
"C:\\Users\\Nacho\\Desktop\\verdadero\\Modelo\\Modelo.csproj": {}
},
"projects": {
"C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Modelo\\Modelo.csproj": {
"C:\\Users\\Nacho\\Desktop\\verdadero\\Modelo\\Modelo.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Modelo\\Modelo.csproj",
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\verdadero\\Modelo\\Modelo.csproj",
"projectName": "Modelo",
"projectPath": "C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Modelo\\Modelo.csproj",
"packagesPath": "C:\\Users\\fedpo\\.nuget\\packages\\",
"outputPath": "C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Modelo\\obj\\",
"projectPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Modelo\\Modelo.csproj",
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Modelo\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\fedpo\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
@@ -55,7 +59,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.100\\RuntimeIdentifierGraph.json"
}
}
}

View File

@@ -5,11 +5,12 @@
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\fedpo\.nuget\packages\</NuGetPackageFolders>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Nacho\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.6.0</NuGetToolVersion>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.4.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\fedpo\.nuget\packages\" />
<SourceRoot Include="C:\Users\Nacho\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

View File

@@ -8,19 +8,24 @@
"net6.0": []
},
"packageFolders": {
"C:\\Users\\fedpo\\.nuget\\packages\\": {}
"C:\\Users\\Nacho\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\fedpo\\Source\\Repos\\Final_OOP\\Modelo\\Modelo.csproj",
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\verdadero\\Modelo\\Modelo.csproj",
"projectName": "Modelo",
"projectPath": "C:\\Users\\fedpo\\Source\\Repos\\Final_OOP\\Modelo\\Modelo.csproj",
"packagesPath": "C:\\Users\\fedpo\\.nuget\\packages\\",
"outputPath": "C:\\Users\\fedpo\\Source\\Repos\\Final_OOP\\Modelo\\obj\\",
"projectPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Modelo\\Modelo.csproj",
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Modelo\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\fedpo\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
@@ -61,7 +66,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.100\\RuntimeIdentifierGraph.json"
}
}
}

View File

@@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "caprspYte2Y+OrCDtRMGwZBQ86/J3a6bIyDx9BvmFvIflXr3Tpq+Gdy2X3WWWox42YcSFFy2/KwcfdaGJSYazg==",
"dgSpecHash": "S6oy1uJTEePnKEp+nLfT+BuzQHHRduI50IDiD69kwCh5sQiu2PMtSbEva7SbIQuL9sLxE84bvbnjd2/qf9kbYg==",
"success": true,
"projectFilePath": "C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Modelo\\Modelo.csproj",
"projectFilePath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Modelo\\Modelo.csproj",
"expectedPackageFiles": [],
"logs": []
}

120
Vista/Form1.resx Normal file
View File

@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
// Este código fue generado por una herramienta.
// Versión de runtime:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
// se vuelve a generar el código.
// </auto-generated>
//------------------------------------------------------------------------------
@@ -21,5 +21,5 @@ using System.Reflection;
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
// Generated by the MSBuild WriteCodeFragment class.
// Generado por la clase WriteCodeFragment de MSBuild.

View File

@@ -14,4 +14,4 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Vista
build_property.ProjectDir = C:\Users\fedpo\source\repos\Final_OOP\Vista\
build_property.ProjectDir = C:\Users\Nacho\Desktop\verdadero\Vista\

View File

@@ -0,0 +1,11 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {}
},
"libraries": {}
}

View File

@@ -0,0 +1,23 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
},
{
"name": "Microsoft.WindowsDesktop.App",
"version": "6.0.0"
}
],
"additionalProbingPaths": [
"C:\\Users\\Nacho\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\Nacho\\.nuget\\packages",
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configProperties": {
"Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true
}
}
}

View File

@@ -1,20 +1,24 @@
{
"format": 1,
"restore": {
"C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Vista\\Vista.csproj": {}
"C:\\Users\\Nacho\\Desktop\\verdadero\\Vista\\Vista.csproj": {}
},
"projects": {
"C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Vista\\Vista.csproj": {
"C:\\Users\\Nacho\\Desktop\\verdadero\\Vista\\Vista.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Vista\\Vista.csproj",
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\verdadero\\Vista\\Vista.csproj",
"projectName": "Vista",
"projectPath": "C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Vista\\Vista.csproj",
"packagesPath": "C:\\Users\\fedpo\\.nuget\\packages\\",
"outputPath": "C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Vista\\obj\\",
"projectPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Vista\\Vista.csproj",
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Vista\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\fedpo\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
@@ -58,7 +62,7 @@
"privateAssets": "none"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.100\\RuntimeIdentifierGraph.json"
}
}
}

View File

@@ -5,11 +5,12 @@
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\fedpo\.nuget\packages\</NuGetPackageFolders>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Nacho\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.6.0</NuGetToolVersion>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.4.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\fedpo\.nuget\packages\" />
<SourceRoot Include="C:\Users\Nacho\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

View File

@@ -8,19 +8,24 @@
"net6.0-windows7.0": []
},
"packageFolders": {
"C:\\Users\\fedpo\\.nuget\\packages\\": {}
"C:\\Users\\Nacho\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Vista\\Vista.csproj",
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\verdadero\\Vista\\Vista.csproj",
"projectName": "Vista",
"projectPath": "C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Vista\\Vista.csproj",
"packagesPath": "C:\\Users\\fedpo\\.nuget\\packages\\",
"outputPath": "C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Vista\\obj\\",
"projectPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Vista\\Vista.csproj",
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Vista\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\fedpo\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
@@ -64,7 +69,7 @@
"privateAssets": "none"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.100\\RuntimeIdentifierGraph.json"
}
}
}

View File

@@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "D3kKcXzjTHbIcxZicmcf7ECYDivadd0ZdywqLX04yReMZ3mACOePCUFMR4EVPA8PksP4BBC662Ixkm1gRxw4bg==",
"dgSpecHash": "nA9jKi67ndxlGqHjzYtvtvdx/y7MqadjqxcqCWQlrL8nSj2gHvqeNnmlG5mMGYlezbnz4we8takC+Y3wyykHBw==",
"success": true,
"projectFilePath": "C:\\Users\\fedpo\\source\\repos\\Final_OOP\\Vista\\Vista.csproj",
"projectFilePath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Vista\\Vista.csproj",
"expectedPackageFiles": [],
"logs": []
}