├── Calculadora IMC ├── .vs │ └── CursoProgramacion │ │ └── v16 │ │ └── .suo ├── CursoProgramacion.sln └── CursoProgramacion │ ├── CursoProgramacion.csproj │ ├── CursoProgramacion.csproj.user │ ├── Form1.Designer.cs │ ├── Form1.cs │ ├── Form1.resx │ ├── Program.cs │ ├── bin │ └── Debug │ │ └── netcoreapp3.1 │ │ ├── CursoProgramacion.deps.json │ │ ├── CursoProgramacion.dll │ │ ├── CursoProgramacion.exe │ │ ├── CursoProgramacion.pdb │ │ ├── CursoProgramacion.runtimeconfig.dev.json │ │ └── CursoProgramacion.runtimeconfig.json │ └── obj │ ├── CursoProgramacion.csproj.nuget.dgspec.json │ ├── CursoProgramacion.csproj.nuget.g.props │ ├── CursoProgramacion.csproj.nuget.g.targets │ ├── Debug │ └── netcoreapp3.1 │ │ ├── .NETCoreApp,Version=v3.1.AssemblyAttributes.cs │ │ ├── CursoProgramacion.AssemblyInfo.cs │ │ ├── CursoProgramacion.AssemblyInfoInputs.cache │ │ ├── CursoProgramacion.Form1.resources │ │ ├── CursoProgramacion.assets.cache │ │ ├── CursoProgramacion.csproj.CoreCompileInputs.cache │ │ ├── CursoProgramacion.csproj.FileListAbsolute.txt │ │ ├── CursoProgramacion.csproj.GenerateResource.cache │ │ ├── CursoProgramacion.csprojAssemblyReference.cache │ │ ├── CursoProgramacion.designer.deps.json │ │ ├── CursoProgramacion.designer.runtimeconfig.json │ │ ├── CursoProgramacion.dll │ │ ├── CursoProgramacion.genruntimeconfig.cache │ │ ├── CursoProgramacion.pdb │ │ └── apphost.exe │ ├── project.assets.json │ └── project.nuget.cache ├── Ejercicio 1 - MayorYMenor ├── .vs │ └── MayorYMenor │ │ └── v16 │ │ └── .suo ├── MayorYMenor.sln └── MayorYMenor │ ├── Form1.Designer.cs │ ├── Form1.cs │ ├── Form1.resx │ ├── MayorYMenor.csproj │ ├── MayorYMenor.csproj.user │ ├── Program.cs │ ├── bin │ └── Debug │ │ └── netcoreapp3.1 │ │ ├── MayorYMenor.deps.json │ │ ├── MayorYMenor.dll │ │ ├── MayorYMenor.exe │ │ ├── MayorYMenor.pdb │ │ ├── MayorYMenor.runtimeconfig.dev.json │ │ └── MayorYMenor.runtimeconfig.json │ └── obj │ ├── Debug │ └── netcoreapp3.1 │ │ ├── .NETCoreApp,Version=v3.1.AssemblyAttributes.cs │ │ ├── MayorYMenor.AssemblyInfo.cs │ │ ├── MayorYMenor.AssemblyInfoInputs.cache │ │ ├── MayorYMenor.Form1.resources │ │ ├── MayorYMenor.assets.cache │ │ ├── MayorYMenor.csproj.CoreCompileInputs.cache │ │ ├── MayorYMenor.csproj.FileListAbsolute.txt │ │ ├── MayorYMenor.csproj.GenerateResource.cache │ │ ├── MayorYMenor.csprojAssemblyReference.cache │ │ ├── MayorYMenor.designer.deps.json │ │ ├── MayorYMenor.designer.runtimeconfig.json │ │ ├── MayorYMenor.dll │ │ ├── MayorYMenor.genruntimeconfig.cache │ │ ├── MayorYMenor.pdb │ │ └── apphost.exe │ ├── MayorYMenor.csproj.nuget.dgspec.json │ ├── MayorYMenor.csproj.nuget.g.props │ ├── MayorYMenor.csproj.nuget.g.targets │ ├── project.assets.json │ └── project.nuget.cache ├── Ejercicio 2 - Promedio ├── .vs │ └── MayorYMenor │ │ └── v16 │ │ └── .suo ├── MayorYMenor.sln └── MayorYMenor │ ├── Form1.Designer.cs │ ├── Form1.cs │ ├── Form1.resx │ ├── MayorYMenor.csproj │ ├── MayorYMenor.csproj.user │ ├── Program.cs │ ├── bin │ └── Debug │ │ └── netcoreapp3.1 │ │ ├── MayorYMenor.deps.json │ │ ├── MayorYMenor.dll │ │ ├── MayorYMenor.exe │ │ ├── MayorYMenor.pdb │ │ ├── MayorYMenor.runtimeconfig.dev.json │ │ └── MayorYMenor.runtimeconfig.json │ └── obj │ ├── Debug │ └── netcoreapp3.1 │ │ ├── .NETCoreApp,Version=v3.1.AssemblyAttributes.cs │ │ ├── MayorYMenor.AssemblyInfo.cs │ │ ├── MayorYMenor.AssemblyInfoInputs.cache │ │ ├── MayorYMenor.Form1.resources │ │ ├── MayorYMenor.assets.cache │ │ ├── MayorYMenor.csproj.CoreCompileInputs.cache │ │ ├── MayorYMenor.csproj.FileListAbsolute.txt │ │ ├── MayorYMenor.csproj.GenerateResource.cache │ │ ├── MayorYMenor.csprojAssemblyReference.cache │ │ ├── MayorYMenor.designer.deps.json │ │ ├── MayorYMenor.designer.runtimeconfig.json │ │ ├── MayorYMenor.dll │ │ ├── MayorYMenor.genruntimeconfig.cache │ │ ├── MayorYMenor.pdb │ │ └── apphost.exe │ ├── MayorYMenor.csproj.nuget.dgspec.json │ ├── MayorYMenor.csproj.nuget.g.props │ ├── MayorYMenor.csproj.nuget.g.targets │ ├── project.assets.json │ └── project.nuget.cache ├── Ejercicio 3 - Número Par ├── .vs │ └── MayorYMenor │ │ └── v16 │ │ └── .suo ├── MayorYMenor.sln └── MayorYMenor │ ├── Form1.Designer.cs │ ├── Form1.cs │ ├── Form1.resx │ ├── MayorYMenor.csproj │ ├── MayorYMenor.csproj.user │ ├── Program.cs │ ├── bin │ └── Debug │ │ └── netcoreapp3.1 │ │ ├── MayorYMenor.deps.json │ │ ├── MayorYMenor.dll │ │ ├── MayorYMenor.exe │ │ ├── MayorYMenor.pdb │ │ ├── MayorYMenor.runtimeconfig.dev.json │ │ └── MayorYMenor.runtimeconfig.json │ └── obj │ ├── Debug │ └── netcoreapp3.1 │ │ ├── .NETCoreApp,Version=v3.1.AssemblyAttributes.cs │ │ ├── MayorYMenor.AssemblyInfo.cs │ │ ├── MayorYMenor.AssemblyInfoInputs.cache │ │ ├── MayorYMenor.Form1.resources │ │ ├── MayorYMenor.assets.cache │ │ ├── MayorYMenor.csproj.CoreCompileInputs.cache │ │ ├── MayorYMenor.csproj.FileListAbsolute.txt │ │ ├── MayorYMenor.csproj.GenerateResource.cache │ │ ├── MayorYMenor.csprojAssemblyReference.cache │ │ ├── MayorYMenor.designer.deps.json │ │ ├── MayorYMenor.designer.runtimeconfig.json │ │ ├── MayorYMenor.dll │ │ ├── MayorYMenor.genruntimeconfig.cache │ │ ├── MayorYMenor.pdb │ │ └── apphost.exe │ ├── MayorYMenor.csproj.nuget.dgspec.json │ ├── MayorYMenor.csproj.nuget.g.props │ ├── MayorYMenor.csproj.nuget.g.targets │ ├── project.assets.json │ └── project.nuget.cache ├── Ejercicio 4 - Números Primos ├── .vs │ └── MayorYMenor │ │ └── v16 │ │ └── .suo ├── MayorYMenor.sln └── MayorYMenor │ ├── Form1.Designer.cs │ ├── Form1.cs │ ├── Form1.resx │ ├── MayorYMenor.csproj │ ├── MayorYMenor.csproj.user │ ├── Program.cs │ ├── bin │ └── Debug │ │ └── netcoreapp3.1 │ │ ├── MayorYMenor.deps.json │ │ ├── MayorYMenor.dll │ │ ├── MayorYMenor.exe │ │ ├── MayorYMenor.pdb │ │ ├── MayorYMenor.runtimeconfig.dev.json │ │ └── MayorYMenor.runtimeconfig.json │ └── obj │ ├── Debug │ └── netcoreapp3.1 │ │ ├── .NETCoreApp,Version=v3.1.AssemblyAttributes.cs │ │ ├── MayorYMenor.AssemblyInfo.cs │ │ ├── MayorYMenor.AssemblyInfoInputs.cache │ │ ├── MayorYMenor.Form1.resources │ │ ├── MayorYMenor.assets.cache │ │ ├── MayorYMenor.csproj.CoreCompileInputs.cache │ │ ├── MayorYMenor.csproj.FileListAbsolute.txt │ │ ├── MayorYMenor.csproj.GenerateResource.cache │ │ ├── MayorYMenor.csprojAssemblyReference.cache │ │ ├── MayorYMenor.designer.deps.json │ │ ├── MayorYMenor.designer.runtimeconfig.json │ │ ├── MayorYMenor.dll │ │ ├── MayorYMenor.genruntimeconfig.cache │ │ ├── MayorYMenor.pdb │ │ └── apphost.exe │ ├── MayorYMenor.csproj.nuget.dgspec.json │ ├── MayorYMenor.csproj.nuget.g.props │ ├── MayorYMenor.csproj.nuget.g.targets │ ├── project.assets.json │ └── project.nuget.cache ├── Ejercicio 5 - CarritoDeCompras ├── .vs │ └── CarritoDeCompras │ │ └── v16 │ │ └── .suo ├── CarritoDeCompras.sln └── CarritoDeCompras │ ├── CarritoDeCompras.csproj │ ├── CarritoDeCompras.csproj.user │ ├── Form1.Designer.cs │ ├── Form1.cs │ ├── Form1.resx │ ├── Program.cs │ ├── bin │ └── Debug │ │ └── netcoreapp3.1 │ │ ├── CarritoDeCompras.deps.json │ │ ├── CarritoDeCompras.dll │ │ ├── CarritoDeCompras.exe │ │ ├── CarritoDeCompras.pdb │ │ ├── CarritoDeCompras.runtimeconfig.dev.json │ │ └── CarritoDeCompras.runtimeconfig.json │ └── obj │ ├── CarritoDeCompras.csproj.nuget.dgspec.json │ ├── CarritoDeCompras.csproj.nuget.g.props │ ├── CarritoDeCompras.csproj.nuget.g.targets │ ├── Debug │ └── netcoreapp3.1 │ │ ├── .NETCoreApp,Version=v3.1.AssemblyAttributes.cs │ │ ├── CarritoDeCompras.AssemblyInfo.cs │ │ ├── CarritoDeCompras.AssemblyInfoInputs.cache │ │ ├── CarritoDeCompras.Form1.resources │ │ ├── CarritoDeCompras.assets.cache │ │ ├── CarritoDeCompras.csproj.CoreCompileInputs.cache │ │ ├── CarritoDeCompras.csproj.FileListAbsolute.txt │ │ ├── CarritoDeCompras.csproj.GenerateResource.cache │ │ ├── CarritoDeCompras.designer.deps.json │ │ ├── CarritoDeCompras.designer.runtimeconfig.json │ │ ├── CarritoDeCompras.dll │ │ ├── CarritoDeCompras.genruntimeconfig.cache │ │ ├── CarritoDeCompras.pdb │ │ └── apphost.exe │ ├── project.assets.json │ └── project.nuget.cache └── Sistema de Clientes con MySql ├── .vs └── CursoProgramacion │ ├── DesignTimeBuild │ └── .dtbcache.v2 │ └── v16 │ └── .suo ├── CursoProgramacion.sln ├── CursoProgramacion ├── CursoProgramacion.csproj ├── CursoProgramacion.csproj.user ├── Program.cs ├── bin │ └── Debug │ │ └── netcoreapp3.1 │ │ ├── BouncyCastle.Crypto.dll │ │ ├── CursoProgramacion.deps.json │ │ ├── CursoProgramacion.dll │ │ ├── CursoProgramacion.exe │ │ ├── CursoProgramacion.pdb │ │ ├── CursoProgramacion.runtimeconfig.dev.json │ │ ├── CursoProgramacion.runtimeconfig.json │ │ ├── Google.Protobuf.dll │ │ ├── K4os.Compression.LZ4.Streams.dll │ │ ├── K4os.Compression.LZ4.dll │ │ ├── K4os.Hash.xxHash.dll │ │ ├── MySql.Data.dll │ │ ├── Ubiety.Dns.Core.dll │ │ └── Zstandard.Net.dll ├── dao │ └── ClienteDao.cs ├── forms │ ├── GestionClientes.Designer.cs │ ├── GestionClientes.cs │ ├── GestionClientes.resx │ ├── Menu.Designer.cs │ ├── Menu.cs │ └── Menu.resx ├── models │ └── Cliente.cs └── obj │ ├── CursoProgramacion.csproj.nuget.dgspec.json │ ├── CursoProgramacion.csproj.nuget.g.props │ ├── CursoProgramacion.csproj.nuget.g.targets │ ├── Debug │ └── netcoreapp3.1 │ │ ├── .NETCoreApp,Version=v3.1.AssemblyAttributes.cs │ │ ├── CursoProgramacion.AssemblyInfo.cs │ │ ├── CursoProgramacion.AssemblyInfoInputs.cache │ │ ├── CursoProgramacion.GestionClientes.resources │ │ ├── CursoProgramacion.Menu.resources │ │ ├── CursoProgramacion.assets.cache │ │ ├── CursoProgramacion.csproj.CopyComplete │ │ ├── CursoProgramacion.csproj.CoreCompileInputs.cache │ │ ├── CursoProgramacion.csproj.FileListAbsolute.txt │ │ ├── CursoProgramacion.csproj.GenerateResource.cache │ │ ├── CursoProgramacion.csprojAssemblyReference.cache │ │ ├── CursoProgramacion.designer.deps.json │ │ ├── CursoProgramacion.designer.runtimeconfig.json │ │ ├── CursoProgramacion.dll │ │ ├── CursoProgramacion.genruntimeconfig.cache │ │ ├── CursoProgramacion.pdb │ │ └── apphost.exe │ ├── project.assets.json │ └── project.nuget.cache └── base de datos.sql /Calculadora IMC/.vs/CursoProgramacion/v16/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Calculadora IMC/.vs/CursoProgramacion/v16/.suo -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.31229.75 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CursoProgramacion", "CursoProgramacion\CursoProgramacion.csproj", "{C44FB7EB-74E7-43F8-807D-D6C5AB5A3F0C}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {C44FB7EB-74E7-43F8-807D-D6C5AB5A3F0C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {C44FB7EB-74E7-43F8-807D-D6C5AB5A3F0C}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {C44FB7EB-74E7-43F8-807D-D6C5AB5A3F0C}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {C44FB7EB-74E7-43F8-807D-D6C5AB5A3F0C}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {C6FB9394-605E-4320-A039-A4EE106A6DCD} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/CursoProgramacion.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | WinExe 5 | netcoreapp3.1 6 | true 7 | 8 | 9 | -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/CursoProgramacion.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Form 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 |  2 | namespace CursoProgramacion 3 | { 4 | partial class Form1 5 | { 6 | /// 7 | /// Required designer variable. 8 | /// 9 | private System.ComponentModel.IContainer components = null; 10 | 11 | /// 12 | /// Clean up any resources being used. 13 | /// 14 | /// true if managed resources should be disposed; otherwise, false. 15 | protected override void Dispose(bool disposing) 16 | { 17 | if (disposing && (components != null)) 18 | { 19 | components.Dispose(); 20 | } 21 | base.Dispose(disposing); 22 | } 23 | 24 | #region Windows Form Designer generated code 25 | 26 | /// 27 | /// Required method for Designer support - do not modify 28 | /// the contents of this method with the code editor. 29 | /// 30 | private void InitializeComponent() 31 | { 32 | this.button1 = new System.Windows.Forms.Button(); 33 | this.txtPeso = new System.Windows.Forms.TextBox(); 34 | this.label2 = new System.Windows.Forms.Label(); 35 | this.txtAltura = new System.Windows.Forms.TextBox(); 36 | this.label1 = new System.Windows.Forms.Label(); 37 | this.SuspendLayout(); 38 | // 39 | // button1 40 | // 41 | this.button1.Location = new System.Drawing.Point(132, 136); 42 | this.button1.Name = "button1"; 43 | this.button1.Size = new System.Drawing.Size(75, 23); 44 | this.button1.TabIndex = 1; 45 | this.button1.Text = "Calcular IMC"; 46 | this.button1.UseVisualStyleBackColor = true; 47 | this.button1.Click += new System.EventHandler(this.button1_Click); 48 | // 49 | // txtPeso 50 | // 51 | this.txtPeso.Location = new System.Drawing.Point(132, 53); 52 | this.txtPeso.Name = "txtPeso"; 53 | this.txtPeso.Size = new System.Drawing.Size(100, 23); 54 | this.txtPeso.TabIndex = 2; 55 | // 56 | // label2 57 | // 58 | this.label2.AutoSize = true; 59 | this.label2.Location = new System.Drawing.Point(73, 61); 60 | this.label2.Name = "label2"; 61 | this.label2.Size = new System.Drawing.Size(35, 15); 62 | this.label2.TabIndex = 3; 63 | this.label2.Text = "Peso:"; 64 | // 65 | // txtAltura 66 | // 67 | this.txtAltura.Location = new System.Drawing.Point(132, 82); 68 | this.txtAltura.Name = "txtAltura"; 69 | this.txtAltura.Size = new System.Drawing.Size(100, 23); 70 | this.txtAltura.TabIndex = 4; 71 | // 72 | // label1 73 | // 74 | this.label1.AutoSize = true; 75 | this.label1.Location = new System.Drawing.Point(73, 90); 76 | this.label1.Name = "label1"; 77 | this.label1.Size = new System.Drawing.Size(42, 15); 78 | this.label1.TabIndex = 5; 79 | this.label1.Text = "Altura:"; 80 | // 81 | // Form1 82 | // 83 | this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); 84 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 85 | this.ClientSize = new System.Drawing.Size(344, 218); 86 | this.Controls.Add(this.label1); 87 | this.Controls.Add(this.txtAltura); 88 | this.Controls.Add(this.label2); 89 | this.Controls.Add(this.txtPeso); 90 | this.Controls.Add(this.button1); 91 | this.Name = "Form1"; 92 | this.Text = "Form1"; 93 | this.ResumeLayout(false); 94 | this.PerformLayout(); 95 | 96 | } 97 | 98 | #endregion 99 | private System.Windows.Forms.Button button1; 100 | private System.Windows.Forms.TextBox txtPeso; 101 | private System.Windows.Forms.Label label2; 102 | private System.Windows.Forms.TextBox txtAltura; 103 | private System.Windows.Forms.Label label1; 104 | } 105 | } 106 | 107 | -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | 11 | namespace CursoProgramacion 12 | { 13 | public partial class Form1 : Form 14 | { 15 | public Form1() 16 | { 17 | InitializeComponent(); 18 | } 19 | 20 | private void button1_Click(object sender, EventArgs e) 21 | { 22 | string textoPeso = txtPeso.Text; 23 | double peso = Double.Parse(textoPeso); // peso en kilogramos 24 | 25 | string textoAltura = txtAltura.Text; 26 | double altura = Double.Parse(textoAltura); // altura en metros 27 | 28 | double imc = peso / (altura * altura); 29 | 30 | MessageBox.Show("El IMC es: " + imc); 31 | 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/Form1.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | text/microsoft-resx 50 | 51 | 52 | 2.0 53 | 54 | 55 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 56 | 57 | 58 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 59 | 60 | -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using System.Windows.Forms; 6 | 7 | namespace CursoProgramacion 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// The main entry point for the application. 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | Application.SetHighDpiMode(HighDpiMode.SystemAware); 18 | Application.EnableVisualStyles(); 19 | Application.SetCompatibleTextRenderingDefault(false); 20 | Application.Run(new Form1()); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/bin/Debug/netcoreapp3.1/CursoProgramacion.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v3.1", 4 | "signature": "" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v3.1": { 9 | "CursoProgramacion/1.0.0": { 10 | "runtime": { 11 | "CursoProgramacion.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "CursoProgramacion/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/bin/Debug/netcoreapp3.1/CursoProgramacion.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Calculadora IMC/CursoProgramacion/bin/Debug/netcoreapp3.1/CursoProgramacion.dll -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/bin/Debug/netcoreapp3.1/CursoProgramacion.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Calculadora IMC/CursoProgramacion/bin/Debug/netcoreapp3.1/CursoProgramacion.exe -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/bin/Debug/netcoreapp3.1/CursoProgramacion.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Calculadora IMC/CursoProgramacion/bin/Debug/netcoreapp3.1/CursoProgramacion.pdb -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/bin/Debug/netcoreapp3.1/CursoProgramacion.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\lucas\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\lucas\\.nuget\\packages" 6 | ] 7 | } 8 | } -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/bin/Debug/netcoreapp3.1/CursoProgramacion.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp3.1", 4 | "framework": { 5 | "name": "Microsoft.WindowsDesktop.App", 6 | "version": "3.1.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/obj/CursoProgramacion.csproj.nuget.dgspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "format": 1, 3 | "restore": { 4 | "C:\\Users\\lucas\\source\\repos\\CursoProgramacion\\CursoProgramacion\\CursoProgramacion.csproj": {} 5 | }, 6 | "projects": { 7 | "C:\\Users\\lucas\\source\\repos\\CursoProgramacion\\CursoProgramacion\\CursoProgramacion.csproj": { 8 | "version": "1.0.0", 9 | "restore": { 10 | "projectUniqueName": "C:\\Users\\lucas\\source\\repos\\CursoProgramacion\\CursoProgramacion\\CursoProgramacion.csproj", 11 | "projectName": "CursoProgramacion", 12 | "projectPath": "C:\\Users\\lucas\\source\\repos\\CursoProgramacion\\CursoProgramacion\\CursoProgramacion.csproj", 13 | "packagesPath": "C:\\Users\\lucas\\.nuget\\packages\\", 14 | "outputPath": "C:\\Users\\lucas\\source\\repos\\CursoProgramacion\\CursoProgramacion\\obj\\", 15 | "projectStyle": "PackageReference", 16 | "configFilePaths": [ 17 | "C:\\Users\\lucas\\AppData\\Roaming\\NuGet\\NuGet.Config", 18 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" 19 | ], 20 | "originalTargetFrameworks": [ 21 | "netcoreapp3.1" 22 | ], 23 | "sources": { 24 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, 25 | "https://api.nuget.org/v3/index.json": {} 26 | }, 27 | "frameworks": { 28 | "netcoreapp3.1": { 29 | "targetAlias": "netcoreapp3.1", 30 | "projectReferences": {} 31 | } 32 | }, 33 | "warningProperties": { 34 | "warnAsError": [ 35 | "NU1605" 36 | ] 37 | } 38 | }, 39 | "frameworks": { 40 | "netcoreapp3.1": { 41 | "targetAlias": "netcoreapp3.1", 42 | "imports": [ 43 | "net461", 44 | "net462", 45 | "net47", 46 | "net471", 47 | "net472", 48 | "net48" 49 | ], 50 | "assetTargetFallback": true, 51 | "warn": true, 52 | "frameworkReferences": { 53 | "Microsoft.NETCore.App": { 54 | "privateAssets": "all" 55 | }, 56 | "Microsoft.WindowsDesktop.App.WindowsForms": { 57 | "privateAssets": "none" 58 | } 59 | }, 60 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.203\\RuntimeIdentifierGraph.json" 61 | } 62 | } 63 | } 64 | } 65 | } -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/obj/CursoProgramacion.csproj.nuget.g.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | True 5 | NuGet 6 | $(MSBuildThisFileDirectory)project.assets.json 7 | $(UserProfile)\.nuget\packages\ 8 | C:\Users\lucas\.nuget\packages\ 9 | PackageReference 10 | 5.9.1 11 | 12 | 13 | 14 | 15 | 16 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 17 | 18 | -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/obj/CursoProgramacion.csproj.nuget.g.targets: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 5 | 6 | -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs: -------------------------------------------------------------------------------- 1 | // 2 | using System; 3 | using System.Reflection; 4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")] 5 | -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | using System; 12 | using System.Reflection; 13 | 14 | [assembly: System.Reflection.AssemblyCompanyAttribute("CursoProgramacion")] 15 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] 16 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] 17 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] 18 | [assembly: System.Reflection.AssemblyProductAttribute("CursoProgramacion")] 19 | [assembly: System.Reflection.AssemblyTitleAttribute("CursoProgramacion")] 20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] 21 | 22 | // Generated by the MSBuild WriteCodeFragment class. 23 | 24 | -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 4be40b1bcec0701f616af718541eb43fc607ad25 2 | -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.Form1.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Calculadora IMC/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.Form1.resources -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Calculadora IMC/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.assets.cache -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 87c3bd5a61ab56fd8e44210ccc5b09f4420511f7 2 | -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\bin\Debug\netcoreapp3.1\CursoProgramacion.exe 2 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\bin\Debug\netcoreapp3.1\CursoProgramacion.deps.json 3 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\bin\Debug\netcoreapp3.1\CursoProgramacion.runtimeconfig.json 4 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\bin\Debug\netcoreapp3.1\CursoProgramacion.runtimeconfig.dev.json 5 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\bin\Debug\netcoreapp3.1\CursoProgramacion.dll 6 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\bin\Debug\netcoreapp3.1\CursoProgramacion.pdb 7 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\obj\Debug\netcoreapp3.1\CursoProgramacion.csprojAssemblyReference.cache 8 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\obj\Debug\netcoreapp3.1\CursoProgramacion.Form1.resources 9 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\obj\Debug\netcoreapp3.1\CursoProgramacion.csproj.GenerateResource.cache 10 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\obj\Debug\netcoreapp3.1\CursoProgramacion.AssemblyInfoInputs.cache 11 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\obj\Debug\netcoreapp3.1\CursoProgramacion.AssemblyInfo.cs 12 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\obj\Debug\netcoreapp3.1\CursoProgramacion.csproj.CoreCompileInputs.cache 13 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\obj\Debug\netcoreapp3.1\CursoProgramacion.dll 14 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\obj\Debug\netcoreapp3.1\CursoProgramacion.pdb 15 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\obj\Debug\netcoreapp3.1\CursoProgramacion.genruntimeconfig.cache 16 | -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.csproj.GenerateResource.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Calculadora IMC/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.csproj.GenerateResource.cache -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Calculadora IMC/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.designer.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v3.1", 4 | "signature": "" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v3.1": {} 9 | }, 10 | "libraries": {} 11 | } -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.designer.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp3.1", 4 | "framework": { 5 | "name": "Microsoft.WindowsDesktop.App", 6 | "version": "3.1.0" 7 | }, 8 | "additionalProbingPaths": [ 9 | "C:\\Users\\lucas\\.dotnet\\store\\|arch|\\|tfm|", 10 | "C:\\Users\\lucas\\.nuget\\packages" 11 | ], 12 | "configProperties": { 13 | "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Calculadora IMC/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.dll -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.genruntimeconfig.cache: -------------------------------------------------------------------------------- 1 | 2c4300cbbf5d941b56230d8a7ab688d8cf14e91b 2 | -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Calculadora IMC/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.pdb -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/obj/Debug/netcoreapp3.1/apphost.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Calculadora IMC/CursoProgramacion/obj/Debug/netcoreapp3.1/apphost.exe -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/obj/project.assets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "targets": { 4 | ".NETCoreApp,Version=v3.1": {} 5 | }, 6 | "libraries": {}, 7 | "projectFileDependencyGroups": { 8 | ".NETCoreApp,Version=v3.1": [] 9 | }, 10 | "packageFolders": { 11 | "C:\\Users\\lucas\\.nuget\\packages\\": {} 12 | }, 13 | "project": { 14 | "version": "1.0.0", 15 | "restore": { 16 | "projectUniqueName": "C:\\Users\\lucas\\source\\repos\\CursoProgramacion\\CursoProgramacion\\CursoProgramacion.csproj", 17 | "projectName": "CursoProgramacion", 18 | "projectPath": "C:\\Users\\lucas\\source\\repos\\CursoProgramacion\\CursoProgramacion\\CursoProgramacion.csproj", 19 | "packagesPath": "C:\\Users\\lucas\\.nuget\\packages\\", 20 | "outputPath": "C:\\Users\\lucas\\source\\repos\\CursoProgramacion\\CursoProgramacion\\obj\\", 21 | "projectStyle": "PackageReference", 22 | "configFilePaths": [ 23 | "C:\\Users\\lucas\\AppData\\Roaming\\NuGet\\NuGet.Config", 24 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" 25 | ], 26 | "originalTargetFrameworks": [ 27 | "netcoreapp3.1" 28 | ], 29 | "sources": { 30 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, 31 | "https://api.nuget.org/v3/index.json": {} 32 | }, 33 | "frameworks": { 34 | "netcoreapp3.1": { 35 | "targetAlias": "netcoreapp3.1", 36 | "projectReferences": {} 37 | } 38 | }, 39 | "warningProperties": { 40 | "warnAsError": [ 41 | "NU1605" 42 | ] 43 | } 44 | }, 45 | "frameworks": { 46 | "netcoreapp3.1": { 47 | "targetAlias": "netcoreapp3.1", 48 | "imports": [ 49 | "net461", 50 | "net462", 51 | "net47", 52 | "net471", 53 | "net472", 54 | "net48" 55 | ], 56 | "assetTargetFallback": true, 57 | "warn": true, 58 | "frameworkReferences": { 59 | "Microsoft.NETCore.App": { 60 | "privateAssets": "all" 61 | }, 62 | "Microsoft.WindowsDesktop.App.WindowsForms": { 63 | "privateAssets": "none" 64 | } 65 | }, 66 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.203\\RuntimeIdentifierGraph.json" 67 | } 68 | } 69 | } 70 | } -------------------------------------------------------------------------------- /Calculadora IMC/CursoProgramacion/obj/project.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "dgSpecHash": "+QjDrmb+57VR3q8i+cBcveLaOG+fmpmciw8gfugvAr+0/MGR2jfTk8hK/fit2qE948X3XaLHqejctqBxJDZiOA==", 4 | "success": true, 5 | "projectFilePath": "C:\\Users\\lucas\\source\\repos\\CursoProgramacion\\CursoProgramacion\\CursoProgramacion.csproj", 6 | "expectedPackageFiles": [], 7 | "logs": [] 8 | } -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/.vs/MayorYMenor/v16/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 1 - MayorYMenor/.vs/MayorYMenor/v16/.suo -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.31229.75 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MayorYMenor", "MayorYMenor\MayorYMenor.csproj", "{3264BB92-D7B3-4BA7-828B-E98A48D62CEF}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {3264BB92-D7B3-4BA7-828B-E98A48D62CEF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {3264BB92-D7B3-4BA7-828B-E98A48D62CEF}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {3264BB92-D7B3-4BA7-828B-E98A48D62CEF}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {3264BB92-D7B3-4BA7-828B-E98A48D62CEF}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {FC0A5B6D-F743-4E7C-9CDD-EAF9CDD0D1F8} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 |  2 | namespace MayorYMenor 3 | { 4 | partial class Form1 5 | { 6 | /// 7 | /// Required designer variable. 8 | /// 9 | private System.ComponentModel.IContainer components = null; 10 | 11 | /// 12 | /// Clean up any resources being used. 13 | /// 14 | /// true if managed resources should be disposed; otherwise, false. 15 | protected override void Dispose(bool disposing) 16 | { 17 | if (disposing && (components != null)) 18 | { 19 | components.Dispose(); 20 | } 21 | base.Dispose(disposing); 22 | } 23 | 24 | #region Windows Form Designer generated code 25 | 26 | /// 27 | /// Required method for Designer support - do not modify 28 | /// the contents of this method with the code editor. 29 | /// 30 | private void InitializeComponent() 31 | { 32 | this.textBox1 = new System.Windows.Forms.TextBox(); 33 | this.textBox2 = new System.Windows.Forms.TextBox(); 34 | this.textBox3 = new System.Windows.Forms.TextBox(); 35 | this.label1 = new System.Windows.Forms.Label(); 36 | this.label2 = new System.Windows.Forms.Label(); 37 | this.label3 = new System.Windows.Forms.Label(); 38 | this.button1 = new System.Windows.Forms.Button(); 39 | this.SuspendLayout(); 40 | // 41 | // textBox1 42 | // 43 | this.textBox1.Location = new System.Drawing.Point(424, 80); 44 | this.textBox1.Name = "textBox1"; 45 | this.textBox1.Size = new System.Drawing.Size(100, 23); 46 | this.textBox1.TabIndex = 0; 47 | // 48 | // textBox2 49 | // 50 | this.textBox2.Location = new System.Drawing.Point(424, 109); 51 | this.textBox2.Name = "textBox2"; 52 | this.textBox2.Size = new System.Drawing.Size(100, 23); 53 | this.textBox2.TabIndex = 1; 54 | // 55 | // textBox3 56 | // 57 | this.textBox3.Location = new System.Drawing.Point(424, 148); 58 | this.textBox3.Name = "textBox3"; 59 | this.textBox3.Size = new System.Drawing.Size(100, 23); 60 | this.textBox3.TabIndex = 2; 61 | // 62 | // label1 63 | // 64 | this.label1.AutoSize = true; 65 | this.label1.Location = new System.Drawing.Point(329, 87); 66 | this.label1.Name = "label1"; 67 | this.label1.Size = new System.Drawing.Size(89, 15); 68 | this.label1.TabIndex = 3; 69 | this.label1.Text = "Primer Numero"; 70 | // 71 | // label2 72 | // 73 | this.label2.AutoSize = true; 74 | this.label2.Location = new System.Drawing.Point(320, 112); 75 | this.label2.Name = "label2"; 76 | this.label2.Size = new System.Drawing.Size(101, 15); 77 | this.label2.TabIndex = 4; 78 | this.label2.Text = "Segundo Numero"; 79 | // 80 | // label3 81 | // 82 | this.label3.AutoSize = true; 83 | this.label3.Location = new System.Drawing.Point(331, 151); 84 | this.label3.Name = "label3"; 85 | this.label3.Size = new System.Drawing.Size(85, 15); 86 | this.label3.TabIndex = 5; 87 | this.label3.Text = "Tercer Numero"; 88 | // 89 | // button1 90 | // 91 | this.button1.Location = new System.Drawing.Point(449, 186); 92 | this.button1.Name = "button1"; 93 | this.button1.Size = new System.Drawing.Size(75, 23); 94 | this.button1.TabIndex = 6; 95 | this.button1.Text = "Calcular"; 96 | this.button1.UseVisualStyleBackColor = true; 97 | this.button1.Click += new System.EventHandler(this.button1_Click); 98 | // 99 | // Form1 100 | // 101 | this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); 102 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 103 | this.ClientSize = new System.Drawing.Size(800, 450); 104 | this.Controls.Add(this.button1); 105 | this.Controls.Add(this.label3); 106 | this.Controls.Add(this.label2); 107 | this.Controls.Add(this.label1); 108 | this.Controls.Add(this.textBox3); 109 | this.Controls.Add(this.textBox2); 110 | this.Controls.Add(this.textBox1); 111 | this.Name = "Form1"; 112 | this.Text = "Form1"; 113 | this.ResumeLayout(false); 114 | this.PerformLayout(); 115 | 116 | } 117 | 118 | #endregion 119 | 120 | private System.Windows.Forms.TextBox textBox1; 121 | private System.Windows.Forms.TextBox textBox2; 122 | private System.Windows.Forms.TextBox textBox3; 123 | private System.Windows.Forms.Label label1; 124 | private System.Windows.Forms.Label label2; 125 | private System.Windows.Forms.Label label3; 126 | private System.Windows.Forms.Button button1; 127 | } 128 | } 129 | 130 | -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | 11 | namespace MayorYMenor 12 | { 13 | public partial class Form1 : Form 14 | { 15 | public Form1() 16 | { 17 | InitializeComponent(); 18 | } 19 | 20 | private void button1_Click(object sender, EventArgs e) 21 | { 22 | int numero1 = Int32.Parse(textBox1.Text); 23 | int numero2 = Int32.Parse(textBox2.Text); 24 | int numero3 = Int32.Parse(textBox3.Text); 25 | 26 | int mayor = numero1; 27 | 28 | if (numero2 > mayor) 29 | { 30 | mayor = numero2; 31 | } 32 | 33 | if (numero3 > mayor) 34 | { 35 | mayor = numero3; 36 | } 37 | 38 | MessageBox.Show("El número más grande es: " + mayor); 39 | 40 | 41 | 42 | 43 | int menor = numero1; 44 | if (numero2 < menor) 45 | { 46 | menor = numero2; 47 | } 48 | 49 | if (numero3 < menor) 50 | { 51 | menor = numero3; 52 | } 53 | MessageBox.Show("El número menor es: " + menor); 54 | } 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/Form1.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | text/microsoft-resx 50 | 51 | 52 | 2.0 53 | 54 | 55 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 56 | 57 | 58 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 59 | 60 | -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/MayorYMenor.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | WinExe 5 | netcoreapp3.1 6 | true 7 | 8 | 9 | -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/MayorYMenor.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Form 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using System.Windows.Forms; 6 | 7 | namespace MayorYMenor 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// The main entry point for the application. 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | Application.SetHighDpiMode(HighDpiMode.SystemAware); 18 | Application.EnableVisualStyles(); 19 | Application.SetCompatibleTextRenderingDefault(false); 20 | Application.Run(new Form1()); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v3.1", 4 | "signature": "" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v3.1": { 9 | "MayorYMenor/1.0.0": { 10 | "runtime": { 11 | "MayorYMenor.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "MayorYMenor/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 1 - MayorYMenor/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.dll -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 1 - MayorYMenor/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.exe -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 1 - MayorYMenor/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.pdb -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\lucas\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\lucas\\.nuget\\packages" 6 | ] 7 | } 8 | } -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp3.1", 4 | "framework": { 5 | "name": "Microsoft.WindowsDesktop.App", 6 | "version": "3.1.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs: -------------------------------------------------------------------------------- 1 | // 2 | using System; 3 | using System.Reflection; 4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")] 5 | -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | using System; 12 | using System.Reflection; 13 | 14 | [assembly: System.Reflection.AssemblyCompanyAttribute("MayorYMenor")] 15 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] 16 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] 17 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] 18 | [assembly: System.Reflection.AssemblyProductAttribute("MayorYMenor")] 19 | [assembly: System.Reflection.AssemblyTitleAttribute("MayorYMenor")] 20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] 21 | 22 | // Generated by the MSBuild WriteCodeFragment class. 23 | 24 | -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 81b2ede79d02dae3943cac3d9a8f178bed2114cc 2 | -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.Form1.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 1 - MayorYMenor/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.Form1.resources -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 1 - MayorYMenor/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.assets.cache -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | e32443e949129506fbaacbfb63b3d5f80d85047d 2 | -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.exe 2 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.deps.json 3 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.runtimeconfig.json 4 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.runtimeconfig.dev.json 5 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.dll 6 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.pdb 7 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.csprojAssemblyReference.cache 8 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.Form1.resources 9 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.csproj.GenerateResource.cache 10 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.AssemblyInfoInputs.cache 11 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.AssemblyInfo.cs 12 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.csproj.CoreCompileInputs.cache 13 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.dll 14 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.pdb 15 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.genruntimeconfig.cache 16 | -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csproj.GenerateResource.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 1 - MayorYMenor/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csproj.GenerateResource.cache -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 1 - MayorYMenor/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.designer.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v3.1", 4 | "signature": "" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v3.1": {} 9 | }, 10 | "libraries": {} 11 | } -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.designer.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp3.1", 4 | "framework": { 5 | "name": "Microsoft.WindowsDesktop.App", 6 | "version": "3.1.0" 7 | }, 8 | "additionalProbingPaths": [ 9 | "C:\\Users\\lucas\\.dotnet\\store\\|arch|\\|tfm|", 10 | "C:\\Users\\lucas\\.nuget\\packages" 11 | ], 12 | "configProperties": { 13 | "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 1 - MayorYMenor/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.dll -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.genruntimeconfig.cache: -------------------------------------------------------------------------------- 1 | ec90f4bd8d778af74b2be7f45d6906b796abb7be 2 | -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 1 - MayorYMenor/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.pdb -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/obj/Debug/netcoreapp3.1/apphost.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 1 - MayorYMenor/MayorYMenor/obj/Debug/netcoreapp3.1/apphost.exe -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/obj/MayorYMenor.csproj.nuget.dgspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "format": 1, 3 | "restore": { 4 | "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj": {} 5 | }, 6 | "projects": { 7 | "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj": { 8 | "version": "1.0.0", 9 | "restore": { 10 | "projectUniqueName": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj", 11 | "projectName": "MayorYMenor", 12 | "projectPath": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj", 13 | "packagesPath": "C:\\Users\\lucas\\.nuget\\packages\\", 14 | "outputPath": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\obj\\", 15 | "projectStyle": "PackageReference", 16 | "configFilePaths": [ 17 | "C:\\Users\\lucas\\AppData\\Roaming\\NuGet\\NuGet.Config", 18 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" 19 | ], 20 | "originalTargetFrameworks": [ 21 | "netcoreapp3.1" 22 | ], 23 | "sources": { 24 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, 25 | "https://api.nuget.org/v3/index.json": {} 26 | }, 27 | "frameworks": { 28 | "netcoreapp3.1": { 29 | "targetAlias": "netcoreapp3.1", 30 | "projectReferences": {} 31 | } 32 | }, 33 | "warningProperties": { 34 | "warnAsError": [ 35 | "NU1605" 36 | ] 37 | } 38 | }, 39 | "frameworks": { 40 | "netcoreapp3.1": { 41 | "targetAlias": "netcoreapp3.1", 42 | "imports": [ 43 | "net461", 44 | "net462", 45 | "net47", 46 | "net471", 47 | "net472", 48 | "net48" 49 | ], 50 | "assetTargetFallback": true, 51 | "warn": true, 52 | "frameworkReferences": { 53 | "Microsoft.NETCore.App": { 54 | "privateAssets": "all" 55 | }, 56 | "Microsoft.WindowsDesktop.App.WindowsForms": { 57 | "privateAssets": "none" 58 | } 59 | }, 60 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.203\\RuntimeIdentifierGraph.json" 61 | } 62 | } 63 | } 64 | } 65 | } -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/obj/MayorYMenor.csproj.nuget.g.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | True 5 | NuGet 6 | $(MSBuildThisFileDirectory)project.assets.json 7 | $(UserProfile)\.nuget\packages\ 8 | C:\Users\lucas\.nuget\packages\ 9 | PackageReference 10 | 5.9.1 11 | 12 | 13 | 14 | 15 | 16 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 17 | 18 | -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/obj/MayorYMenor.csproj.nuget.g.targets: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 5 | 6 | -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/obj/project.assets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "targets": { 4 | ".NETCoreApp,Version=v3.1": {} 5 | }, 6 | "libraries": {}, 7 | "projectFileDependencyGroups": { 8 | ".NETCoreApp,Version=v3.1": [] 9 | }, 10 | "packageFolders": { 11 | "C:\\Users\\lucas\\.nuget\\packages\\": {} 12 | }, 13 | "project": { 14 | "version": "1.0.0", 15 | "restore": { 16 | "projectUniqueName": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj", 17 | "projectName": "MayorYMenor", 18 | "projectPath": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj", 19 | "packagesPath": "C:\\Users\\lucas\\.nuget\\packages\\", 20 | "outputPath": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\obj\\", 21 | "projectStyle": "PackageReference", 22 | "configFilePaths": [ 23 | "C:\\Users\\lucas\\AppData\\Roaming\\NuGet\\NuGet.Config", 24 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" 25 | ], 26 | "originalTargetFrameworks": [ 27 | "netcoreapp3.1" 28 | ], 29 | "sources": { 30 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, 31 | "https://api.nuget.org/v3/index.json": {} 32 | }, 33 | "frameworks": { 34 | "netcoreapp3.1": { 35 | "targetAlias": "netcoreapp3.1", 36 | "projectReferences": {} 37 | } 38 | }, 39 | "warningProperties": { 40 | "warnAsError": [ 41 | "NU1605" 42 | ] 43 | } 44 | }, 45 | "frameworks": { 46 | "netcoreapp3.1": { 47 | "targetAlias": "netcoreapp3.1", 48 | "imports": [ 49 | "net461", 50 | "net462", 51 | "net47", 52 | "net471", 53 | "net472", 54 | "net48" 55 | ], 56 | "assetTargetFallback": true, 57 | "warn": true, 58 | "frameworkReferences": { 59 | "Microsoft.NETCore.App": { 60 | "privateAssets": "all" 61 | }, 62 | "Microsoft.WindowsDesktop.App.WindowsForms": { 63 | "privateAssets": "none" 64 | } 65 | }, 66 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.203\\RuntimeIdentifierGraph.json" 67 | } 68 | } 69 | } 70 | } -------------------------------------------------------------------------------- /Ejercicio 1 - MayorYMenor/MayorYMenor/obj/project.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "dgSpecHash": "AgFpCzgb3TIEHJKAoETdAFJ/gU/9hMKlYkFtibaPmg8D0EjQBzpda6WGqUdMQnv3VfPB0YGK/43WFcxhuhEqew==", 4 | "success": true, 5 | "projectFilePath": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj", 6 | "expectedPackageFiles": [], 7 | "logs": [] 8 | } -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/.vs/MayorYMenor/v16/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 2 - Promedio/.vs/MayorYMenor/v16/.suo -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.31229.75 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MayorYMenor", "MayorYMenor\MayorYMenor.csproj", "{3264BB92-D7B3-4BA7-828B-E98A48D62CEF}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {3264BB92-D7B3-4BA7-828B-E98A48D62CEF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {3264BB92-D7B3-4BA7-828B-E98A48D62CEF}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {3264BB92-D7B3-4BA7-828B-E98A48D62CEF}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {3264BB92-D7B3-4BA7-828B-E98A48D62CEF}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {FC0A5B6D-F743-4E7C-9CDD-EAF9CDD0D1F8} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 |  2 | namespace MayorYMenor 3 | { 4 | partial class Form1 5 | { 6 | /// 7 | /// Required designer variable. 8 | /// 9 | private System.ComponentModel.IContainer components = null; 10 | 11 | /// 12 | /// Clean up any resources being used. 13 | /// 14 | /// true if managed resources should be disposed; otherwise, false. 15 | protected override void Dispose(bool disposing) 16 | { 17 | if (disposing && (components != null)) 18 | { 19 | components.Dispose(); 20 | } 21 | base.Dispose(disposing); 22 | } 23 | 24 | #region Windows Form Designer generated code 25 | 26 | /// 27 | /// Required method for Designer support - do not modify 28 | /// the contents of this method with the code editor. 29 | /// 30 | private void InitializeComponent() 31 | { 32 | this.textBox1 = new System.Windows.Forms.TextBox(); 33 | this.textBox2 = new System.Windows.Forms.TextBox(); 34 | this.textBox3 = new System.Windows.Forms.TextBox(); 35 | this.label1 = new System.Windows.Forms.Label(); 36 | this.label2 = new System.Windows.Forms.Label(); 37 | this.label3 = new System.Windows.Forms.Label(); 38 | this.button1 = new System.Windows.Forms.Button(); 39 | this.SuspendLayout(); 40 | // 41 | // textBox1 42 | // 43 | this.textBox1.Location = new System.Drawing.Point(424, 80); 44 | this.textBox1.Name = "textBox1"; 45 | this.textBox1.Size = new System.Drawing.Size(100, 23); 46 | this.textBox1.TabIndex = 0; 47 | // 48 | // textBox2 49 | // 50 | this.textBox2.Location = new System.Drawing.Point(424, 109); 51 | this.textBox2.Name = "textBox2"; 52 | this.textBox2.Size = new System.Drawing.Size(100, 23); 53 | this.textBox2.TabIndex = 1; 54 | // 55 | // textBox3 56 | // 57 | this.textBox3.Location = new System.Drawing.Point(424, 148); 58 | this.textBox3.Name = "textBox3"; 59 | this.textBox3.Size = new System.Drawing.Size(100, 23); 60 | this.textBox3.TabIndex = 2; 61 | // 62 | // label1 63 | // 64 | this.label1.AutoSize = true; 65 | this.label1.Location = new System.Drawing.Point(329, 87); 66 | this.label1.Name = "label1"; 67 | this.label1.Size = new System.Drawing.Size(89, 15); 68 | this.label1.TabIndex = 3; 69 | this.label1.Text = "Primer Numero"; 70 | // 71 | // label2 72 | // 73 | this.label2.AutoSize = true; 74 | this.label2.Location = new System.Drawing.Point(320, 112); 75 | this.label2.Name = "label2"; 76 | this.label2.Size = new System.Drawing.Size(101, 15); 77 | this.label2.TabIndex = 4; 78 | this.label2.Text = "Segundo Numero"; 79 | // 80 | // label3 81 | // 82 | this.label3.AutoSize = true; 83 | this.label3.Location = new System.Drawing.Point(331, 151); 84 | this.label3.Name = "label3"; 85 | this.label3.Size = new System.Drawing.Size(85, 15); 86 | this.label3.TabIndex = 5; 87 | this.label3.Text = "Tercer Numero"; 88 | // 89 | // button1 90 | // 91 | this.button1.Location = new System.Drawing.Point(449, 186); 92 | this.button1.Name = "button1"; 93 | this.button1.Size = new System.Drawing.Size(75, 23); 94 | this.button1.TabIndex = 6; 95 | this.button1.Text = "Calcular"; 96 | this.button1.UseVisualStyleBackColor = true; 97 | this.button1.Click += new System.EventHandler(this.button1_Click); 98 | // 99 | // Form1 100 | // 101 | this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); 102 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 103 | this.ClientSize = new System.Drawing.Size(800, 450); 104 | this.Controls.Add(this.button1); 105 | this.Controls.Add(this.label3); 106 | this.Controls.Add(this.label2); 107 | this.Controls.Add(this.label1); 108 | this.Controls.Add(this.textBox3); 109 | this.Controls.Add(this.textBox2); 110 | this.Controls.Add(this.textBox1); 111 | this.Name = "Form1"; 112 | this.Text = "Form1"; 113 | this.ResumeLayout(false); 114 | this.PerformLayout(); 115 | 116 | } 117 | 118 | #endregion 119 | 120 | private System.Windows.Forms.TextBox textBox1; 121 | private System.Windows.Forms.TextBox textBox2; 122 | private System.Windows.Forms.TextBox textBox3; 123 | private System.Windows.Forms.Label label1; 124 | private System.Windows.Forms.Label label2; 125 | private System.Windows.Forms.Label label3; 126 | private System.Windows.Forms.Button button1; 127 | } 128 | } 129 | 130 | -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | 11 | namespace MayorYMenor 12 | { 13 | public partial class Form1 : Form 14 | { 15 | public Form1() 16 | { 17 | InitializeComponent(); 18 | } 19 | 20 | private void button1_Click(object sender, EventArgs e) 21 | { 22 | int numero1 = Int32.Parse(textBox1.Text); 23 | int numero2 = Int32.Parse(textBox2.Text); 24 | int numero3 = Int32.Parse(textBox3.Text); 25 | 26 | double promedio = (Double)(numero1 + numero2 + numero3) / 3; 27 | 28 | MessageBox.Show("El número promedio es: " + promedio); 29 | 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/Form1.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | text/microsoft-resx 50 | 51 | 52 | 2.0 53 | 54 | 55 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 56 | 57 | 58 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 59 | 60 | -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/MayorYMenor.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | WinExe 5 | netcoreapp3.1 6 | true 7 | 8 | 9 | -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/MayorYMenor.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Form 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using System.Windows.Forms; 6 | 7 | namespace MayorYMenor 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// The main entry point for the application. 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | Application.SetHighDpiMode(HighDpiMode.SystemAware); 18 | Application.EnableVisualStyles(); 19 | Application.SetCompatibleTextRenderingDefault(false); 20 | Application.Run(new Form1()); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v3.1", 4 | "signature": "" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v3.1": { 9 | "MayorYMenor/1.0.0": { 10 | "runtime": { 11 | "MayorYMenor.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "MayorYMenor/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 2 - Promedio/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.dll -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 2 - Promedio/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.exe -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 2 - Promedio/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.pdb -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\lucas\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\lucas\\.nuget\\packages" 6 | ] 7 | } 8 | } -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp3.1", 4 | "framework": { 5 | "name": "Microsoft.WindowsDesktop.App", 6 | "version": "3.1.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs: -------------------------------------------------------------------------------- 1 | // 2 | using System; 3 | using System.Reflection; 4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")] 5 | -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | using System; 12 | using System.Reflection; 13 | 14 | [assembly: System.Reflection.AssemblyCompanyAttribute("MayorYMenor")] 15 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] 16 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] 17 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] 18 | [assembly: System.Reflection.AssemblyProductAttribute("MayorYMenor")] 19 | [assembly: System.Reflection.AssemblyTitleAttribute("MayorYMenor")] 20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] 21 | 22 | // Generated by the MSBuild WriteCodeFragment class. 23 | 24 | -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 81b2ede79d02dae3943cac3d9a8f178bed2114cc 2 | -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.Form1.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 2 - Promedio/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.Form1.resources -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 2 - Promedio/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.assets.cache -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | e32443e949129506fbaacbfb63b3d5f80d85047d 2 | -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.exe 2 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.deps.json 3 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.runtimeconfig.json 4 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.runtimeconfig.dev.json 5 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.dll 6 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.pdb 7 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.csprojAssemblyReference.cache 8 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.Form1.resources 9 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.csproj.GenerateResource.cache 10 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.AssemblyInfoInputs.cache 11 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.AssemblyInfo.cs 12 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.csproj.CoreCompileInputs.cache 13 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.dll 14 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.pdb 15 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.genruntimeconfig.cache 16 | -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csproj.GenerateResource.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 2 - Promedio/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csproj.GenerateResource.cache -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 2 - Promedio/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.designer.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v3.1", 4 | "signature": "" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v3.1": {} 9 | }, 10 | "libraries": {} 11 | } -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.designer.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp3.1", 4 | "framework": { 5 | "name": "Microsoft.WindowsDesktop.App", 6 | "version": "3.1.0" 7 | }, 8 | "additionalProbingPaths": [ 9 | "C:\\Users\\lucas\\.dotnet\\store\\|arch|\\|tfm|", 10 | "C:\\Users\\lucas\\.nuget\\packages" 11 | ], 12 | "configProperties": { 13 | "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 2 - Promedio/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.dll -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.genruntimeconfig.cache: -------------------------------------------------------------------------------- 1 | ec90f4bd8d778af74b2be7f45d6906b796abb7be 2 | -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 2 - Promedio/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.pdb -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/obj/Debug/netcoreapp3.1/apphost.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 2 - Promedio/MayorYMenor/obj/Debug/netcoreapp3.1/apphost.exe -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/obj/MayorYMenor.csproj.nuget.dgspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "format": 1, 3 | "restore": { 4 | "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj": {} 5 | }, 6 | "projects": { 7 | "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj": { 8 | "version": "1.0.0", 9 | "restore": { 10 | "projectUniqueName": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj", 11 | "projectName": "MayorYMenor", 12 | "projectPath": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj", 13 | "packagesPath": "C:\\Users\\lucas\\.nuget\\packages\\", 14 | "outputPath": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\obj\\", 15 | "projectStyle": "PackageReference", 16 | "configFilePaths": [ 17 | "C:\\Users\\lucas\\AppData\\Roaming\\NuGet\\NuGet.Config", 18 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" 19 | ], 20 | "originalTargetFrameworks": [ 21 | "netcoreapp3.1" 22 | ], 23 | "sources": { 24 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, 25 | "https://api.nuget.org/v3/index.json": {} 26 | }, 27 | "frameworks": { 28 | "netcoreapp3.1": { 29 | "targetAlias": "netcoreapp3.1", 30 | "projectReferences": {} 31 | } 32 | }, 33 | "warningProperties": { 34 | "warnAsError": [ 35 | "NU1605" 36 | ] 37 | } 38 | }, 39 | "frameworks": { 40 | "netcoreapp3.1": { 41 | "targetAlias": "netcoreapp3.1", 42 | "imports": [ 43 | "net461", 44 | "net462", 45 | "net47", 46 | "net471", 47 | "net472", 48 | "net48" 49 | ], 50 | "assetTargetFallback": true, 51 | "warn": true, 52 | "frameworkReferences": { 53 | "Microsoft.NETCore.App": { 54 | "privateAssets": "all" 55 | }, 56 | "Microsoft.WindowsDesktop.App.WindowsForms": { 57 | "privateAssets": "none" 58 | } 59 | }, 60 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.203\\RuntimeIdentifierGraph.json" 61 | } 62 | } 63 | } 64 | } 65 | } -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/obj/MayorYMenor.csproj.nuget.g.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | True 5 | NuGet 6 | $(MSBuildThisFileDirectory)project.assets.json 7 | $(UserProfile)\.nuget\packages\ 8 | C:\Users\lucas\.nuget\packages\ 9 | PackageReference 10 | 5.9.1 11 | 12 | 13 | 14 | 15 | 16 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 17 | 18 | -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/obj/MayorYMenor.csproj.nuget.g.targets: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 5 | 6 | -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/obj/project.assets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "targets": { 4 | ".NETCoreApp,Version=v3.1": {} 5 | }, 6 | "libraries": {}, 7 | "projectFileDependencyGroups": { 8 | ".NETCoreApp,Version=v3.1": [] 9 | }, 10 | "packageFolders": { 11 | "C:\\Users\\lucas\\.nuget\\packages\\": {} 12 | }, 13 | "project": { 14 | "version": "1.0.0", 15 | "restore": { 16 | "projectUniqueName": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj", 17 | "projectName": "MayorYMenor", 18 | "projectPath": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj", 19 | "packagesPath": "C:\\Users\\lucas\\.nuget\\packages\\", 20 | "outputPath": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\obj\\", 21 | "projectStyle": "PackageReference", 22 | "configFilePaths": [ 23 | "C:\\Users\\lucas\\AppData\\Roaming\\NuGet\\NuGet.Config", 24 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" 25 | ], 26 | "originalTargetFrameworks": [ 27 | "netcoreapp3.1" 28 | ], 29 | "sources": { 30 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, 31 | "https://api.nuget.org/v3/index.json": {} 32 | }, 33 | "frameworks": { 34 | "netcoreapp3.1": { 35 | "targetAlias": "netcoreapp3.1", 36 | "projectReferences": {} 37 | } 38 | }, 39 | "warningProperties": { 40 | "warnAsError": [ 41 | "NU1605" 42 | ] 43 | } 44 | }, 45 | "frameworks": { 46 | "netcoreapp3.1": { 47 | "targetAlias": "netcoreapp3.1", 48 | "imports": [ 49 | "net461", 50 | "net462", 51 | "net47", 52 | "net471", 53 | "net472", 54 | "net48" 55 | ], 56 | "assetTargetFallback": true, 57 | "warn": true, 58 | "frameworkReferences": { 59 | "Microsoft.NETCore.App": { 60 | "privateAssets": "all" 61 | }, 62 | "Microsoft.WindowsDesktop.App.WindowsForms": { 63 | "privateAssets": "none" 64 | } 65 | }, 66 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.203\\RuntimeIdentifierGraph.json" 67 | } 68 | } 69 | } 70 | } -------------------------------------------------------------------------------- /Ejercicio 2 - Promedio/MayorYMenor/obj/project.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "dgSpecHash": "AgFpCzgb3TIEHJKAoETdAFJ/gU/9hMKlYkFtibaPmg8D0EjQBzpda6WGqUdMQnv3VfPB0YGK/43WFcxhuhEqew==", 4 | "success": true, 5 | "projectFilePath": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj", 6 | "expectedPackageFiles": [], 7 | "logs": [] 8 | } -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/.vs/MayorYMenor/v16/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 3 - Número Par/.vs/MayorYMenor/v16/.suo -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.31229.75 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MayorYMenor", "MayorYMenor\MayorYMenor.csproj", "{3264BB92-D7B3-4BA7-828B-E98A48D62CEF}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {3264BB92-D7B3-4BA7-828B-E98A48D62CEF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {3264BB92-D7B3-4BA7-828B-E98A48D62CEF}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {3264BB92-D7B3-4BA7-828B-E98A48D62CEF}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {3264BB92-D7B3-4BA7-828B-E98A48D62CEF}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {FC0A5B6D-F743-4E7C-9CDD-EAF9CDD0D1F8} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 |  2 | namespace MayorYMenor 3 | { 4 | partial class Form1 5 | { 6 | /// 7 | /// Required designer variable. 8 | /// 9 | private System.ComponentModel.IContainer components = null; 10 | 11 | /// 12 | /// Clean up any resources being used. 13 | /// 14 | /// true if managed resources should be disposed; otherwise, false. 15 | protected override void Dispose(bool disposing) 16 | { 17 | if (disposing && (components != null)) 18 | { 19 | components.Dispose(); 20 | } 21 | base.Dispose(disposing); 22 | } 23 | 24 | #region Windows Form Designer generated code 25 | 26 | /// 27 | /// Required method for Designer support - do not modify 28 | /// the contents of this method with the code editor. 29 | /// 30 | private void InitializeComponent() 31 | { 32 | this.textBox1 = new System.Windows.Forms.TextBox(); 33 | this.label1 = new System.Windows.Forms.Label(); 34 | this.button1 = new System.Windows.Forms.Button(); 35 | this.SuspendLayout(); 36 | // 37 | // textBox1 38 | // 39 | this.textBox1.Location = new System.Drawing.Point(424, 80); 40 | this.textBox1.Name = "textBox1"; 41 | this.textBox1.Size = new System.Drawing.Size(100, 23); 42 | this.textBox1.TabIndex = 0; 43 | // 44 | // label1 45 | // 46 | this.label1.AutoSize = true; 47 | this.label1.Location = new System.Drawing.Point(329, 87); 48 | this.label1.Name = "label1"; 49 | this.label1.Size = new System.Drawing.Size(51, 15); 50 | this.label1.TabIndex = 3; 51 | this.label1.Text = "Numero"; 52 | // 53 | // button1 54 | // 55 | this.button1.Location = new System.Drawing.Point(449, 130); 56 | this.button1.Name = "button1"; 57 | this.button1.Size = new System.Drawing.Size(75, 23); 58 | this.button1.TabIndex = 6; 59 | this.button1.Text = "Calcular"; 60 | this.button1.UseVisualStyleBackColor = true; 61 | this.button1.Click += new System.EventHandler(this.button1_Click); 62 | // 63 | // Form1 64 | // 65 | this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); 66 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 67 | this.ClientSize = new System.Drawing.Size(800, 450); 68 | this.Controls.Add(this.button1); 69 | this.Controls.Add(this.label1); 70 | this.Controls.Add(this.textBox1); 71 | this.Name = "Form1"; 72 | this.Text = "Form1"; 73 | this.ResumeLayout(false); 74 | this.PerformLayout(); 75 | 76 | } 77 | 78 | #endregion 79 | 80 | private System.Windows.Forms.TextBox textBox1; 81 | private System.Windows.Forms.Label label1; 82 | private System.Windows.Forms.Button button1; 83 | } 84 | } 85 | 86 | -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | 11 | namespace MayorYMenor 12 | { 13 | public partial class Form1 : Form 14 | { 15 | public Form1() 16 | { 17 | InitializeComponent(); 18 | } 19 | 20 | private void button1_Click(object sender, EventArgs e) 21 | { 22 | double numero = Int32.Parse(textBox1.Text); 23 | 24 | /* 25 | * Forma alternativa 26 | * 27 | double resultado = numero / 2; 28 | 29 | if (resultado == Math.Round(resultado)) 30 | { 31 | MessageBox.Show("El número es par"); 32 | } else 33 | { 34 | MessageBox.Show("El número es impar"); 35 | } 36 | */ 37 | 38 | 39 | if (numero % 2 == 0) 40 | { 41 | MessageBox.Show("El número es par"); 42 | } else 43 | { 44 | MessageBox.Show("El número es impar"); 45 | } 46 | 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/Form1.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | text/microsoft-resx 50 | 51 | 52 | 2.0 53 | 54 | 55 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 56 | 57 | 58 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 59 | 60 | -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/MayorYMenor.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | WinExe 5 | netcoreapp3.1 6 | true 7 | 8 | 9 | -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/MayorYMenor.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Form 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using System.Windows.Forms; 6 | 7 | namespace MayorYMenor 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// The main entry point for the application. 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | Application.SetHighDpiMode(HighDpiMode.SystemAware); 18 | Application.EnableVisualStyles(); 19 | Application.SetCompatibleTextRenderingDefault(false); 20 | Application.Run(new Form1()); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v3.1", 4 | "signature": "" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v3.1": { 9 | "MayorYMenor/1.0.0": { 10 | "runtime": { 11 | "MayorYMenor.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "MayorYMenor/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 3 - Número Par/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.dll -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 3 - Número Par/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.exe -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 3 - Número Par/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.pdb -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\lucas\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\lucas\\.nuget\\packages" 6 | ] 7 | } 8 | } -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp3.1", 4 | "framework": { 5 | "name": "Microsoft.WindowsDesktop.App", 6 | "version": "3.1.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs: -------------------------------------------------------------------------------- 1 | // 2 | using System; 3 | using System.Reflection; 4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")] 5 | -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | using System; 12 | using System.Reflection; 13 | 14 | [assembly: System.Reflection.AssemblyCompanyAttribute("MayorYMenor")] 15 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] 16 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] 17 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] 18 | [assembly: System.Reflection.AssemblyProductAttribute("MayorYMenor")] 19 | [assembly: System.Reflection.AssemblyTitleAttribute("MayorYMenor")] 20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] 21 | 22 | // Generated by the MSBuild WriteCodeFragment class. 23 | 24 | -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 81b2ede79d02dae3943cac3d9a8f178bed2114cc 2 | -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.Form1.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 3 - Número Par/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.Form1.resources -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 3 - Número Par/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.assets.cache -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | e32443e949129506fbaacbfb63b3d5f80d85047d 2 | -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.exe 2 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.deps.json 3 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.runtimeconfig.json 4 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.runtimeconfig.dev.json 5 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.dll 6 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.pdb 7 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.csprojAssemblyReference.cache 8 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.Form1.resources 9 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.csproj.GenerateResource.cache 10 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.AssemblyInfoInputs.cache 11 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.AssemblyInfo.cs 12 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.csproj.CoreCompileInputs.cache 13 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.dll 14 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.pdb 15 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.genruntimeconfig.cache 16 | -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csproj.GenerateResource.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 3 - Número Par/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csproj.GenerateResource.cache -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 3 - Número Par/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.designer.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v3.1", 4 | "signature": "" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v3.1": {} 9 | }, 10 | "libraries": {} 11 | } -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.designer.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp3.1", 4 | "framework": { 5 | "name": "Microsoft.WindowsDesktop.App", 6 | "version": "3.1.0" 7 | }, 8 | "additionalProbingPaths": [ 9 | "C:\\Users\\lucas\\.dotnet\\store\\|arch|\\|tfm|", 10 | "C:\\Users\\lucas\\.nuget\\packages" 11 | ], 12 | "configProperties": { 13 | "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 3 - Número Par/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.dll -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.genruntimeconfig.cache: -------------------------------------------------------------------------------- 1 | ec90f4bd8d778af74b2be7f45d6906b796abb7be 2 | -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 3 - Número Par/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.pdb -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/obj/Debug/netcoreapp3.1/apphost.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 3 - Número Par/MayorYMenor/obj/Debug/netcoreapp3.1/apphost.exe -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/obj/MayorYMenor.csproj.nuget.dgspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "format": 1, 3 | "restore": { 4 | "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj": {} 5 | }, 6 | "projects": { 7 | "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj": { 8 | "version": "1.0.0", 9 | "restore": { 10 | "projectUniqueName": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj", 11 | "projectName": "MayorYMenor", 12 | "projectPath": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj", 13 | "packagesPath": "C:\\Users\\lucas\\.nuget\\packages\\", 14 | "outputPath": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\obj\\", 15 | "projectStyle": "PackageReference", 16 | "configFilePaths": [ 17 | "C:\\Users\\lucas\\AppData\\Roaming\\NuGet\\NuGet.Config", 18 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" 19 | ], 20 | "originalTargetFrameworks": [ 21 | "netcoreapp3.1" 22 | ], 23 | "sources": { 24 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, 25 | "https://api.nuget.org/v3/index.json": {} 26 | }, 27 | "frameworks": { 28 | "netcoreapp3.1": { 29 | "targetAlias": "netcoreapp3.1", 30 | "projectReferences": {} 31 | } 32 | }, 33 | "warningProperties": { 34 | "warnAsError": [ 35 | "NU1605" 36 | ] 37 | } 38 | }, 39 | "frameworks": { 40 | "netcoreapp3.1": { 41 | "targetAlias": "netcoreapp3.1", 42 | "imports": [ 43 | "net461", 44 | "net462", 45 | "net47", 46 | "net471", 47 | "net472", 48 | "net48" 49 | ], 50 | "assetTargetFallback": true, 51 | "warn": true, 52 | "frameworkReferences": { 53 | "Microsoft.NETCore.App": { 54 | "privateAssets": "all" 55 | }, 56 | "Microsoft.WindowsDesktop.App.WindowsForms": { 57 | "privateAssets": "none" 58 | } 59 | }, 60 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.203\\RuntimeIdentifierGraph.json" 61 | } 62 | } 63 | } 64 | } 65 | } -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/obj/MayorYMenor.csproj.nuget.g.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | True 5 | NuGet 6 | $(MSBuildThisFileDirectory)project.assets.json 7 | $(UserProfile)\.nuget\packages\ 8 | C:\Users\lucas\.nuget\packages\ 9 | PackageReference 10 | 5.9.1 11 | 12 | 13 | 14 | 15 | 16 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 17 | 18 | -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/obj/MayorYMenor.csproj.nuget.g.targets: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 5 | 6 | -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/obj/project.assets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "targets": { 4 | ".NETCoreApp,Version=v3.1": {} 5 | }, 6 | "libraries": {}, 7 | "projectFileDependencyGroups": { 8 | ".NETCoreApp,Version=v3.1": [] 9 | }, 10 | "packageFolders": { 11 | "C:\\Users\\lucas\\.nuget\\packages\\": {} 12 | }, 13 | "project": { 14 | "version": "1.0.0", 15 | "restore": { 16 | "projectUniqueName": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj", 17 | "projectName": "MayorYMenor", 18 | "projectPath": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj", 19 | "packagesPath": "C:\\Users\\lucas\\.nuget\\packages\\", 20 | "outputPath": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\obj\\", 21 | "projectStyle": "PackageReference", 22 | "configFilePaths": [ 23 | "C:\\Users\\lucas\\AppData\\Roaming\\NuGet\\NuGet.Config", 24 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" 25 | ], 26 | "originalTargetFrameworks": [ 27 | "netcoreapp3.1" 28 | ], 29 | "sources": { 30 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, 31 | "https://api.nuget.org/v3/index.json": {} 32 | }, 33 | "frameworks": { 34 | "netcoreapp3.1": { 35 | "targetAlias": "netcoreapp3.1", 36 | "projectReferences": {} 37 | } 38 | }, 39 | "warningProperties": { 40 | "warnAsError": [ 41 | "NU1605" 42 | ] 43 | } 44 | }, 45 | "frameworks": { 46 | "netcoreapp3.1": { 47 | "targetAlias": "netcoreapp3.1", 48 | "imports": [ 49 | "net461", 50 | "net462", 51 | "net47", 52 | "net471", 53 | "net472", 54 | "net48" 55 | ], 56 | "assetTargetFallback": true, 57 | "warn": true, 58 | "frameworkReferences": { 59 | "Microsoft.NETCore.App": { 60 | "privateAssets": "all" 61 | }, 62 | "Microsoft.WindowsDesktop.App.WindowsForms": { 63 | "privateAssets": "none" 64 | } 65 | }, 66 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.203\\RuntimeIdentifierGraph.json" 67 | } 68 | } 69 | } 70 | } -------------------------------------------------------------------------------- /Ejercicio 3 - Número Par/MayorYMenor/obj/project.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "dgSpecHash": "AgFpCzgb3TIEHJKAoETdAFJ/gU/9hMKlYkFtibaPmg8D0EjQBzpda6WGqUdMQnv3VfPB0YGK/43WFcxhuhEqew==", 4 | "success": true, 5 | "projectFilePath": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj", 6 | "expectedPackageFiles": [], 7 | "logs": [] 8 | } -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/.vs/MayorYMenor/v16/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 4 - Números Primos/.vs/MayorYMenor/v16/.suo -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.31229.75 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MayorYMenor", "MayorYMenor\MayorYMenor.csproj", "{3264BB92-D7B3-4BA7-828B-E98A48D62CEF}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {3264BB92-D7B3-4BA7-828B-E98A48D62CEF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {3264BB92-D7B3-4BA7-828B-E98A48D62CEF}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {3264BB92-D7B3-4BA7-828B-E98A48D62CEF}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {3264BB92-D7B3-4BA7-828B-E98A48D62CEF}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {FC0A5B6D-F743-4E7C-9CDD-EAF9CDD0D1F8} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 |  2 | namespace MayorYMenor 3 | { 4 | partial class Form1 5 | { 6 | /// 7 | /// Required designer variable. 8 | /// 9 | private System.ComponentModel.IContainer components = null; 10 | 11 | /// 12 | /// Clean up any resources being used. 13 | /// 14 | /// true if managed resources should be disposed; otherwise, false. 15 | protected override void Dispose(bool disposing) 16 | { 17 | if (disposing && (components != null)) 18 | { 19 | components.Dispose(); 20 | } 21 | base.Dispose(disposing); 22 | } 23 | 24 | #region Windows Form Designer generated code 25 | 26 | /// 27 | /// Required method for Designer support - do not modify 28 | /// the contents of this method with the code editor. 29 | /// 30 | private void InitializeComponent() 31 | { 32 | this.button1 = new System.Windows.Forms.Button(); 33 | this.SuspendLayout(); 34 | // 35 | // button1 36 | // 37 | this.button1.Location = new System.Drawing.Point(449, 130); 38 | this.button1.Name = "button1"; 39 | this.button1.Size = new System.Drawing.Size(75, 23); 40 | this.button1.TabIndex = 6; 41 | this.button1.Text = "Calcular"; 42 | this.button1.UseVisualStyleBackColor = true; 43 | this.button1.Click += new System.EventHandler(this.button1_Click); 44 | // 45 | // Form1 46 | // 47 | this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); 48 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 49 | this.ClientSize = new System.Drawing.Size(800, 450); 50 | this.Controls.Add(this.button1); 51 | this.Name = "Form1"; 52 | this.Text = "Form1"; 53 | this.ResumeLayout(false); 54 | 55 | } 56 | 57 | #endregion 58 | private System.Windows.Forms.Button button1; 59 | } 60 | } 61 | 62 | -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | 11 | namespace MayorYMenor 12 | { 13 | public partial class Form1 : Form 14 | { 15 | public Form1() 16 | { 17 | InitializeComponent(); 18 | } 19 | 20 | private void button1_Click(object sender, EventArgs e) 21 | { 22 | string resultado = ""; 23 | double numero = 2; 24 | int contador = 0; 25 | 26 | while(contador < 100) 27 | { 28 | if (esNumeroPrimo(numero)) 29 | { 30 | resultado = resultado + "," + numero; 31 | contador++; 32 | } 33 | numero++; 34 | } 35 | 36 | 37 | MessageBox.Show(resultado); 38 | 39 | } 40 | 41 | private bool esNumeroPrimo(double numero) 42 | { 43 | bool esPrimo = true; 44 | 45 | for (int i = 2; i < numero; i++) 46 | { 47 | if (numero % i == 0) 48 | { 49 | esPrimo = false; 50 | } 51 | } 52 | return esPrimo; 53 | 54 | } 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/Form1.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | text/microsoft-resx 50 | 51 | 52 | 2.0 53 | 54 | 55 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 56 | 57 | 58 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 59 | 60 | -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/MayorYMenor.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | WinExe 5 | netcoreapp3.1 6 | true 7 | 8 | 9 | -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/MayorYMenor.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Form 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using System.Windows.Forms; 6 | 7 | namespace MayorYMenor 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// The main entry point for the application. 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | Application.SetHighDpiMode(HighDpiMode.SystemAware); 18 | Application.EnableVisualStyles(); 19 | Application.SetCompatibleTextRenderingDefault(false); 20 | Application.Run(new Form1()); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v3.1", 4 | "signature": "" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v3.1": { 9 | "MayorYMenor/1.0.0": { 10 | "runtime": { 11 | "MayorYMenor.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "MayorYMenor/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 4 - Números Primos/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.dll -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 4 - Números Primos/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.exe -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 4 - Números Primos/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.pdb -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\lucas\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\lucas\\.nuget\\packages" 6 | ] 7 | } 8 | } -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/bin/Debug/netcoreapp3.1/MayorYMenor.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp3.1", 4 | "framework": { 5 | "name": "Microsoft.WindowsDesktop.App", 6 | "version": "3.1.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs: -------------------------------------------------------------------------------- 1 | // 2 | using System; 3 | using System.Reflection; 4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")] 5 | -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | using System; 12 | using System.Reflection; 13 | 14 | [assembly: System.Reflection.AssemblyCompanyAttribute("MayorYMenor")] 15 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] 16 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] 17 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] 18 | [assembly: System.Reflection.AssemblyProductAttribute("MayorYMenor")] 19 | [assembly: System.Reflection.AssemblyTitleAttribute("MayorYMenor")] 20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] 21 | 22 | // Generated by the MSBuild WriteCodeFragment class. 23 | 24 | -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 81b2ede79d02dae3943cac3d9a8f178bed2114cc 2 | -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.Form1.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 4 - Números Primos/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.Form1.resources -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 4 - Números Primos/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.assets.cache -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | e32443e949129506fbaacbfb63b3d5f80d85047d 2 | -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.exe 2 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.deps.json 3 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.runtimeconfig.json 4 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.runtimeconfig.dev.json 5 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.dll 6 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\bin\Debug\netcoreapp3.1\MayorYMenor.pdb 7 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.csprojAssemblyReference.cache 8 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.Form1.resources 9 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.csproj.GenerateResource.cache 10 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.AssemblyInfoInputs.cache 11 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.AssemblyInfo.cs 12 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.csproj.CoreCompileInputs.cache 13 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.dll 14 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.pdb 15 | C:\Users\lucas\source\repos\MayorYMenor\MayorYMenor\obj\Debug\netcoreapp3.1\MayorYMenor.genruntimeconfig.cache 16 | -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csproj.GenerateResource.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 4 - Números Primos/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csproj.GenerateResource.cache -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 4 - Números Primos/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.designer.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v3.1", 4 | "signature": "" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v3.1": {} 9 | }, 10 | "libraries": {} 11 | } -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.designer.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp3.1", 4 | "framework": { 5 | "name": "Microsoft.WindowsDesktop.App", 6 | "version": "3.1.0" 7 | }, 8 | "additionalProbingPaths": [ 9 | "C:\\Users\\lucas\\.dotnet\\store\\|arch|\\|tfm|", 10 | "C:\\Users\\lucas\\.nuget\\packages" 11 | ], 12 | "configProperties": { 13 | "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 4 - Números Primos/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.dll -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.genruntimeconfig.cache: -------------------------------------------------------------------------------- 1 | ec90f4bd8d778af74b2be7f45d6906b796abb7be 2 | -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 4 - Números Primos/MayorYMenor/obj/Debug/netcoreapp3.1/MayorYMenor.pdb -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/obj/Debug/netcoreapp3.1/apphost.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 4 - Números Primos/MayorYMenor/obj/Debug/netcoreapp3.1/apphost.exe -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/obj/MayorYMenor.csproj.nuget.dgspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "format": 1, 3 | "restore": { 4 | "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj": {} 5 | }, 6 | "projects": { 7 | "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj": { 8 | "version": "1.0.0", 9 | "restore": { 10 | "projectUniqueName": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj", 11 | "projectName": "MayorYMenor", 12 | "projectPath": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj", 13 | "packagesPath": "C:\\Users\\lucas\\.nuget\\packages\\", 14 | "outputPath": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\obj\\", 15 | "projectStyle": "PackageReference", 16 | "configFilePaths": [ 17 | "C:\\Users\\lucas\\AppData\\Roaming\\NuGet\\NuGet.Config", 18 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" 19 | ], 20 | "originalTargetFrameworks": [ 21 | "netcoreapp3.1" 22 | ], 23 | "sources": { 24 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, 25 | "https://api.nuget.org/v3/index.json": {} 26 | }, 27 | "frameworks": { 28 | "netcoreapp3.1": { 29 | "targetAlias": "netcoreapp3.1", 30 | "projectReferences": {} 31 | } 32 | }, 33 | "warningProperties": { 34 | "warnAsError": [ 35 | "NU1605" 36 | ] 37 | } 38 | }, 39 | "frameworks": { 40 | "netcoreapp3.1": { 41 | "targetAlias": "netcoreapp3.1", 42 | "imports": [ 43 | "net461", 44 | "net462", 45 | "net47", 46 | "net471", 47 | "net472", 48 | "net48" 49 | ], 50 | "assetTargetFallback": true, 51 | "warn": true, 52 | "frameworkReferences": { 53 | "Microsoft.NETCore.App": { 54 | "privateAssets": "all" 55 | }, 56 | "Microsoft.WindowsDesktop.App.WindowsForms": { 57 | "privateAssets": "none" 58 | } 59 | }, 60 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.203\\RuntimeIdentifierGraph.json" 61 | } 62 | } 63 | } 64 | } 65 | } -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/obj/MayorYMenor.csproj.nuget.g.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | True 5 | NuGet 6 | $(MSBuildThisFileDirectory)project.assets.json 7 | $(UserProfile)\.nuget\packages\ 8 | C:\Users\lucas\.nuget\packages\ 9 | PackageReference 10 | 5.9.1 11 | 12 | 13 | 14 | 15 | 16 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 17 | 18 | -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/obj/MayorYMenor.csproj.nuget.g.targets: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 5 | 6 | -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/obj/project.assets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "targets": { 4 | ".NETCoreApp,Version=v3.1": {} 5 | }, 6 | "libraries": {}, 7 | "projectFileDependencyGroups": { 8 | ".NETCoreApp,Version=v3.1": [] 9 | }, 10 | "packageFolders": { 11 | "C:\\Users\\lucas\\.nuget\\packages\\": {} 12 | }, 13 | "project": { 14 | "version": "1.0.0", 15 | "restore": { 16 | "projectUniqueName": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj", 17 | "projectName": "MayorYMenor", 18 | "projectPath": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj", 19 | "packagesPath": "C:\\Users\\lucas\\.nuget\\packages\\", 20 | "outputPath": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\obj\\", 21 | "projectStyle": "PackageReference", 22 | "configFilePaths": [ 23 | "C:\\Users\\lucas\\AppData\\Roaming\\NuGet\\NuGet.Config", 24 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" 25 | ], 26 | "originalTargetFrameworks": [ 27 | "netcoreapp3.1" 28 | ], 29 | "sources": { 30 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, 31 | "https://api.nuget.org/v3/index.json": {} 32 | }, 33 | "frameworks": { 34 | "netcoreapp3.1": { 35 | "targetAlias": "netcoreapp3.1", 36 | "projectReferences": {} 37 | } 38 | }, 39 | "warningProperties": { 40 | "warnAsError": [ 41 | "NU1605" 42 | ] 43 | } 44 | }, 45 | "frameworks": { 46 | "netcoreapp3.1": { 47 | "targetAlias": "netcoreapp3.1", 48 | "imports": [ 49 | "net461", 50 | "net462", 51 | "net47", 52 | "net471", 53 | "net472", 54 | "net48" 55 | ], 56 | "assetTargetFallback": true, 57 | "warn": true, 58 | "frameworkReferences": { 59 | "Microsoft.NETCore.App": { 60 | "privateAssets": "all" 61 | }, 62 | "Microsoft.WindowsDesktop.App.WindowsForms": { 63 | "privateAssets": "none" 64 | } 65 | }, 66 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.203\\RuntimeIdentifierGraph.json" 67 | } 68 | } 69 | } 70 | } -------------------------------------------------------------------------------- /Ejercicio 4 - Números Primos/MayorYMenor/obj/project.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "dgSpecHash": "AgFpCzgb3TIEHJKAoETdAFJ/gU/9hMKlYkFtibaPmg8D0EjQBzpda6WGqUdMQnv3VfPB0YGK/43WFcxhuhEqew==", 4 | "success": true, 5 | "projectFilePath": "C:\\Users\\lucas\\source\\repos\\MayorYMenor\\MayorYMenor\\MayorYMenor.csproj", 6 | "expectedPackageFiles": [], 7 | "logs": [] 8 | } -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/.vs/CarritoDeCompras/v16/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 5 - CarritoDeCompras/.vs/CarritoDeCompras/v16/.suo -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.31229.75 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CarritoDeCompras", "CarritoDeCompras\CarritoDeCompras.csproj", "{888165EA-B65E-40CF-9FD0-2CA26E49EC32}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {888165EA-B65E-40CF-9FD0-2CA26E49EC32}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {888165EA-B65E-40CF-9FD0-2CA26E49EC32}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {888165EA-B65E-40CF-9FD0-2CA26E49EC32}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {888165EA-B65E-40CF-9FD0-2CA26E49EC32}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {6A8BD5AF-FFDC-461B-B722-7425F1D7AADF} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/CarritoDeCompras.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | WinExe 5 | netcoreapp3.1 6 | true 7 | 8 | 9 | -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/CarritoDeCompras.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Form 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/Form1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | 11 | namespace CarritoDeCompras 12 | { 13 | public partial class Form1 : Form 14 | { 15 | public Form1() 16 | { 17 | InitializeComponent(); 18 | } 19 | 20 | private void Form1_Load(object sender, EventArgs e) 21 | { 22 | cboProductos.Items.Add("Pantalón"); 23 | cboProductos.Items.Add("Camisa"); 24 | cboProductos.Items.Add("Zapatos"); 25 | } 26 | 27 | private void btnAgregar_Click(object sender, EventArgs e) 28 | { 29 | string productoSeleccionado = cboProductos.SelectedItem.ToString(); 30 | listCarritoDeCompras.Items.Add(productoSeleccionado); 31 | } 32 | 33 | private void btnCalcular_Click(object sender, EventArgs e) 34 | { 35 | // Pantalon 20 36 | // Camisa 35 37 | // Zapatos 24 38 | double precioFinal = 0; 39 | 40 | int totalProductosCargados = listCarritoDeCompras.Items.Count; 41 | 42 | for (int i = 0; i < totalProductosCargados; i++) 43 | { 44 | string productoElegido = listCarritoDeCompras.Items[i].ToString(); 45 | if (productoElegido == "Pantalón") 46 | { 47 | precioFinal += 20; 48 | } 49 | else if (productoElegido == "Camisa") 50 | { 51 | precioFinal += 35; 52 | } 53 | if (productoElegido == "Zapatos") 54 | { 55 | precioFinal += 24; 56 | } 57 | } 58 | 59 | if (txtCodigoDescuento.Text == "NAVIDAD") 60 | { 61 | precioFinal = precioFinal * 0.9; 62 | } 63 | MessageBox.Show("El precio final es: $" + precioFinal); 64 | } 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/Form1.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | text/microsoft-resx 50 | 51 | 52 | 2.0 53 | 54 | 55 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 56 | 57 | 58 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 59 | 60 | -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using System.Windows.Forms; 6 | 7 | namespace CarritoDeCompras 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// The main entry point for the application. 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | Application.SetHighDpiMode(HighDpiMode.SystemAware); 18 | Application.EnableVisualStyles(); 19 | Application.SetCompatibleTextRenderingDefault(false); 20 | Application.Run(new Form1()); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/bin/Debug/netcoreapp3.1/CarritoDeCompras.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v3.1", 4 | "signature": "" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v3.1": { 9 | "CarritoDeCompras/1.0.0": { 10 | "runtime": { 11 | "CarritoDeCompras.dll": {} 12 | } 13 | } 14 | } 15 | }, 16 | "libraries": { 17 | "CarritoDeCompras/1.0.0": { 18 | "type": "project", 19 | "serviceable": false, 20 | "sha512": "" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/bin/Debug/netcoreapp3.1/CarritoDeCompras.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/bin/Debug/netcoreapp3.1/CarritoDeCompras.dll -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/bin/Debug/netcoreapp3.1/CarritoDeCompras.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/bin/Debug/netcoreapp3.1/CarritoDeCompras.exe -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/bin/Debug/netcoreapp3.1/CarritoDeCompras.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/bin/Debug/netcoreapp3.1/CarritoDeCompras.pdb -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/bin/Debug/netcoreapp3.1/CarritoDeCompras.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\lucas\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\lucas\\.nuget\\packages" 6 | ] 7 | } 8 | } -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/bin/Debug/netcoreapp3.1/CarritoDeCompras.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp3.1", 4 | "framework": { 5 | "name": "Microsoft.WindowsDesktop.App", 6 | "version": "3.1.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/CarritoDeCompras.csproj.nuget.dgspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "format": 1, 3 | "restore": { 4 | "C:\\Users\\lucas\\source\\repos\\CarritoDeCompras\\CarritoDeCompras\\CarritoDeCompras.csproj": {} 5 | }, 6 | "projects": { 7 | "C:\\Users\\lucas\\source\\repos\\CarritoDeCompras\\CarritoDeCompras\\CarritoDeCompras.csproj": { 8 | "version": "1.0.0", 9 | "restore": { 10 | "projectUniqueName": "C:\\Users\\lucas\\source\\repos\\CarritoDeCompras\\CarritoDeCompras\\CarritoDeCompras.csproj", 11 | "projectName": "CarritoDeCompras", 12 | "projectPath": "C:\\Users\\lucas\\source\\repos\\CarritoDeCompras\\CarritoDeCompras\\CarritoDeCompras.csproj", 13 | "packagesPath": "C:\\Users\\lucas\\.nuget\\packages\\", 14 | "outputPath": "C:\\Users\\lucas\\source\\repos\\CarritoDeCompras\\CarritoDeCompras\\obj\\", 15 | "projectStyle": "PackageReference", 16 | "configFilePaths": [ 17 | "C:\\Users\\lucas\\AppData\\Roaming\\NuGet\\NuGet.Config", 18 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" 19 | ], 20 | "originalTargetFrameworks": [ 21 | "netcoreapp3.1" 22 | ], 23 | "sources": { 24 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, 25 | "https://api.nuget.org/v3/index.json": {} 26 | }, 27 | "frameworks": { 28 | "netcoreapp3.1": { 29 | "targetAlias": "netcoreapp3.1", 30 | "projectReferences": {} 31 | } 32 | }, 33 | "warningProperties": { 34 | "warnAsError": [ 35 | "NU1605" 36 | ] 37 | } 38 | }, 39 | "frameworks": { 40 | "netcoreapp3.1": { 41 | "targetAlias": "netcoreapp3.1", 42 | "imports": [ 43 | "net461", 44 | "net462", 45 | "net47", 46 | "net471", 47 | "net472", 48 | "net48" 49 | ], 50 | "assetTargetFallback": true, 51 | "warn": true, 52 | "frameworkReferences": { 53 | "Microsoft.NETCore.App": { 54 | "privateAssets": "all" 55 | }, 56 | "Microsoft.WindowsDesktop.App.WindowsForms": { 57 | "privateAssets": "none" 58 | } 59 | }, 60 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.203\\RuntimeIdentifierGraph.json" 61 | } 62 | } 63 | } 64 | } 65 | } -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/CarritoDeCompras.csproj.nuget.g.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | True 5 | NuGet 6 | $(MSBuildThisFileDirectory)project.assets.json 7 | $(UserProfile)\.nuget\packages\ 8 | C:\Users\lucas\.nuget\packages\ 9 | PackageReference 10 | 5.9.1 11 | 12 | 13 | 14 | 15 | 16 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 17 | 18 | -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/CarritoDeCompras.csproj.nuget.g.targets: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 5 | 6 | -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs: -------------------------------------------------------------------------------- 1 | // 2 | using System; 3 | using System.Reflection; 4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")] 5 | -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/Debug/netcoreapp3.1/CarritoDeCompras.AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | using System; 12 | using System.Reflection; 13 | 14 | [assembly: System.Reflection.AssemblyCompanyAttribute("CarritoDeCompras")] 15 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] 16 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] 17 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] 18 | [assembly: System.Reflection.AssemblyProductAttribute("CarritoDeCompras")] 19 | [assembly: System.Reflection.AssemblyTitleAttribute("CarritoDeCompras")] 20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] 21 | 22 | // Generated by the MSBuild WriteCodeFragment class. 23 | 24 | -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/Debug/netcoreapp3.1/CarritoDeCompras.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | ba9c7275e903187696015b053625f5b08112b00d 2 | -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/Debug/netcoreapp3.1/CarritoDeCompras.Form1.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/Debug/netcoreapp3.1/CarritoDeCompras.Form1.resources -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/Debug/netcoreapp3.1/CarritoDeCompras.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/Debug/netcoreapp3.1/CarritoDeCompras.assets.cache -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/Debug/netcoreapp3.1/CarritoDeCompras.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 2a4b05dba5ef59506da44d68843403477d9e3a03 2 | -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/Debug/netcoreapp3.1/CarritoDeCompras.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\lucas\source\repos\CarritoDeCompras\CarritoDeCompras\bin\Debug\netcoreapp3.1\CarritoDeCompras.exe 2 | C:\Users\lucas\source\repos\CarritoDeCompras\CarritoDeCompras\bin\Debug\netcoreapp3.1\CarritoDeCompras.deps.json 3 | C:\Users\lucas\source\repos\CarritoDeCompras\CarritoDeCompras\bin\Debug\netcoreapp3.1\CarritoDeCompras.runtimeconfig.json 4 | C:\Users\lucas\source\repos\CarritoDeCompras\CarritoDeCompras\bin\Debug\netcoreapp3.1\CarritoDeCompras.runtimeconfig.dev.json 5 | C:\Users\lucas\source\repos\CarritoDeCompras\CarritoDeCompras\bin\Debug\netcoreapp3.1\CarritoDeCompras.dll 6 | C:\Users\lucas\source\repos\CarritoDeCompras\CarritoDeCompras\bin\Debug\netcoreapp3.1\CarritoDeCompras.pdb 7 | C:\Users\lucas\source\repos\CarritoDeCompras\CarritoDeCompras\obj\Debug\netcoreapp3.1\CarritoDeCompras.Form1.resources 8 | C:\Users\lucas\source\repos\CarritoDeCompras\CarritoDeCompras\obj\Debug\netcoreapp3.1\CarritoDeCompras.csproj.GenerateResource.cache 9 | C:\Users\lucas\source\repos\CarritoDeCompras\CarritoDeCompras\obj\Debug\netcoreapp3.1\CarritoDeCompras.AssemblyInfoInputs.cache 10 | C:\Users\lucas\source\repos\CarritoDeCompras\CarritoDeCompras\obj\Debug\netcoreapp3.1\CarritoDeCompras.AssemblyInfo.cs 11 | C:\Users\lucas\source\repos\CarritoDeCompras\CarritoDeCompras\obj\Debug\netcoreapp3.1\CarritoDeCompras.csproj.CoreCompileInputs.cache 12 | C:\Users\lucas\source\repos\CarritoDeCompras\CarritoDeCompras\obj\Debug\netcoreapp3.1\CarritoDeCompras.dll 13 | C:\Users\lucas\source\repos\CarritoDeCompras\CarritoDeCompras\obj\Debug\netcoreapp3.1\CarritoDeCompras.pdb 14 | C:\Users\lucas\source\repos\CarritoDeCompras\CarritoDeCompras\obj\Debug\netcoreapp3.1\CarritoDeCompras.genruntimeconfig.cache 15 | -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/Debug/netcoreapp3.1/CarritoDeCompras.csproj.GenerateResource.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/Debug/netcoreapp3.1/CarritoDeCompras.csproj.GenerateResource.cache -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/Debug/netcoreapp3.1/CarritoDeCompras.designer.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeTarget": { 3 | "name": ".NETCoreApp,Version=v3.1", 4 | "signature": "" 5 | }, 6 | "compilationOptions": {}, 7 | "targets": { 8 | ".NETCoreApp,Version=v3.1": {} 9 | }, 10 | "libraries": {} 11 | } -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/Debug/netcoreapp3.1/CarritoDeCompras.designer.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp3.1", 4 | "framework": { 5 | "name": "Microsoft.WindowsDesktop.App", 6 | "version": "3.1.0" 7 | }, 8 | "additionalProbingPaths": [ 9 | "C:\\Users\\lucas\\.dotnet\\store\\|arch|\\|tfm|", 10 | "C:\\Users\\lucas\\.nuget\\packages" 11 | ], 12 | "configProperties": { 13 | "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/Debug/netcoreapp3.1/CarritoDeCompras.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/Debug/netcoreapp3.1/CarritoDeCompras.dll -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/Debug/netcoreapp3.1/CarritoDeCompras.genruntimeconfig.cache: -------------------------------------------------------------------------------- 1 | 2e412bc1afc2dbe0bdf7253e872d7c324e7f7fd1 2 | -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/Debug/netcoreapp3.1/CarritoDeCompras.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/Debug/netcoreapp3.1/CarritoDeCompras.pdb -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/Debug/netcoreapp3.1/apphost.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/Debug/netcoreapp3.1/apphost.exe -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/project.assets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "targets": { 4 | ".NETCoreApp,Version=v3.1": {} 5 | }, 6 | "libraries": {}, 7 | "projectFileDependencyGroups": { 8 | ".NETCoreApp,Version=v3.1": [] 9 | }, 10 | "packageFolders": { 11 | "C:\\Users\\lucas\\.nuget\\packages\\": {} 12 | }, 13 | "project": { 14 | "version": "1.0.0", 15 | "restore": { 16 | "projectUniqueName": "C:\\Users\\lucas\\source\\repos\\CarritoDeCompras\\CarritoDeCompras\\CarritoDeCompras.csproj", 17 | "projectName": "CarritoDeCompras", 18 | "projectPath": "C:\\Users\\lucas\\source\\repos\\CarritoDeCompras\\CarritoDeCompras\\CarritoDeCompras.csproj", 19 | "packagesPath": "C:\\Users\\lucas\\.nuget\\packages\\", 20 | "outputPath": "C:\\Users\\lucas\\source\\repos\\CarritoDeCompras\\CarritoDeCompras\\obj\\", 21 | "projectStyle": "PackageReference", 22 | "configFilePaths": [ 23 | "C:\\Users\\lucas\\AppData\\Roaming\\NuGet\\NuGet.Config", 24 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" 25 | ], 26 | "originalTargetFrameworks": [ 27 | "netcoreapp3.1" 28 | ], 29 | "sources": { 30 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, 31 | "https://api.nuget.org/v3/index.json": {} 32 | }, 33 | "frameworks": { 34 | "netcoreapp3.1": { 35 | "targetAlias": "netcoreapp3.1", 36 | "projectReferences": {} 37 | } 38 | }, 39 | "warningProperties": { 40 | "warnAsError": [ 41 | "NU1605" 42 | ] 43 | } 44 | }, 45 | "frameworks": { 46 | "netcoreapp3.1": { 47 | "targetAlias": "netcoreapp3.1", 48 | "imports": [ 49 | "net461", 50 | "net462", 51 | "net47", 52 | "net471", 53 | "net472", 54 | "net48" 55 | ], 56 | "assetTargetFallback": true, 57 | "warn": true, 58 | "frameworkReferences": { 59 | "Microsoft.NETCore.App": { 60 | "privateAssets": "all" 61 | }, 62 | "Microsoft.WindowsDesktop.App.WindowsForms": { 63 | "privateAssets": "none" 64 | } 65 | }, 66 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.203\\RuntimeIdentifierGraph.json" 67 | } 68 | } 69 | } 70 | } -------------------------------------------------------------------------------- /Ejercicio 5 - CarritoDeCompras/CarritoDeCompras/obj/project.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "dgSpecHash": "HvH42riUcjUlSo/YSkv2AaxLklVrGa1ibNYIq3oQe0EHTu4jJNR0XfSFQT8HkQNIuJXM43GIlTnRKCyaE5HmVg==", 4 | "success": true, 5 | "projectFilePath": "C:\\Users\\lucas\\source\\repos\\CarritoDeCompras\\CarritoDeCompras\\CarritoDeCompras.csproj", 6 | "expectedPackageFiles": [], 7 | "logs": [] 8 | } -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/.vs/CursoProgramacion/DesignTimeBuild/.dtbcache.v2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Sistema de Clientes con MySql/.vs/CursoProgramacion/DesignTimeBuild/.dtbcache.v2 -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/.vs/CursoProgramacion/v16/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Sistema de Clientes con MySql/.vs/CursoProgramacion/v16/.suo -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.31229.75 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CursoProgramacion", "CursoProgramacion\CursoProgramacion.csproj", "{C44FB7EB-74E7-43F8-807D-D6C5AB5A3F0C}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {C44FB7EB-74E7-43F8-807D-D6C5AB5A3F0C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {C44FB7EB-74E7-43F8-807D-D6C5AB5A3F0C}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {C44FB7EB-74E7-43F8-807D-D6C5AB5A3F0C}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {C44FB7EB-74E7-43F8-807D-D6C5AB5A3F0C}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {C6FB9394-605E-4320-A039-A4EE106A6DCD} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/CursoProgramacion.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | WinExe 5 | netcoreapp3.1 6 | true 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/CursoProgramacion.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Form 6 | 7 | 8 | Form 9 | 10 | 11 | -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using System.Windows.Forms; 6 | 7 | namespace CursoProgramacion 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// The main entry point for the application. 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | Application.SetHighDpiMode(HighDpiMode.SystemAware); 18 | Application.EnableVisualStyles(); 19 | Application.SetCompatibleTextRenderingDefault(false); 20 | Application.Run(new Menu()); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/BouncyCastle.Crypto.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/BouncyCastle.Crypto.dll -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/CursoProgramacion.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/CursoProgramacion.dll -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/CursoProgramacion.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/CursoProgramacion.exe -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/CursoProgramacion.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/CursoProgramacion.pdb -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/CursoProgramacion.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\lucas\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\lucas\\.nuget\\packages" 6 | ] 7 | } 8 | } -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/CursoProgramacion.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp3.1", 4 | "framework": { 5 | "name": "Microsoft.WindowsDesktop.App", 6 | "version": "3.1.0" 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/Google.Protobuf.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/Google.Protobuf.dll -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/K4os.Compression.LZ4.Streams.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/K4os.Compression.LZ4.Streams.dll -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/K4os.Compression.LZ4.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/K4os.Compression.LZ4.dll -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/K4os.Hash.xxHash.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/K4os.Hash.xxHash.dll -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/MySql.Data.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/MySql.Data.dll -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/Ubiety.Dns.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/Ubiety.Dns.Core.dll -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/Zstandard.Net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Sistema de Clientes con MySql/CursoProgramacion/bin/Debug/netcoreapp3.1/Zstandard.Net.dll -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/dao/ClienteDao.cs: -------------------------------------------------------------------------------- 1 | using MySql.Data.MySqlClient; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Text; 5 | 6 | namespace CursoProgramacion.dao 7 | { 8 | class ClienteDao 9 | { 10 | public MySqlConnection Conectar() 11 | { 12 | string servidor = "localhost"; 13 | string usuario = "root"; 14 | string password = ""; 15 | string baseDeDatos = "clientes"; 16 | 17 | string cadenaConexion = "Database=" + baseDeDatos + "; Data Source=" 18 | + servidor + "; User Id=" + usuario + "; Password=" + password + ""; 19 | 20 | MySqlConnection conexionDb = new MySqlConnection(cadenaConexion); 21 | conexionDb.Open(); 22 | 23 | return conexionDb; 24 | } 25 | 26 | public List ObtenerListadoDeClientes() 27 | { 28 | List lista = new List(); 29 | 30 | string consulta = "SELECT * FROM `clientes`"; 31 | MySqlCommand comando = new MySqlCommand(consulta); 32 | comando.Connection = Conectar(); 33 | MySqlDataReader lectura = comando.ExecuteReader(); 34 | 35 | while (lectura.Read()) 36 | { 37 | Cliente cliente = new Cliente(); 38 | cliente.Id = lectura.GetString("id"); 39 | cliente.Nombre = lectura.GetString("nombre"); 40 | cliente.Apellido = lectura.GetString("apellido"); 41 | cliente.Telefono = lectura.GetString("telefono"); 42 | cliente.TarjetaDeCredito = lectura.GetString("tarjeta_de_credito"); 43 | lista.Add(cliente); 44 | } 45 | comando.Connection.Close(); 46 | 47 | return lista; 48 | } 49 | 50 | public void Guardar(Cliente cliente) 51 | { 52 | if (cliente.Id == null) 53 | { 54 | insert(cliente); 55 | } else 56 | { 57 | update(cliente); 58 | } 59 | } 60 | 61 | private void insert(Cliente cliente) 62 | { 63 | string consulta = "INSERT INTO `clientes` (`id`, `nombre`, `apellido`, `telefono`, `tarjeta_de_credito`) VALUES (NULL, '" 64 | + cliente.Nombre + "', '" + cliente.Apellido + "', '" + cliente.Telefono + "', '" + cliente.TarjetaDeCredito + "');"; 65 | MySqlCommand comando = new MySqlCommand(consulta); 66 | comando.Connection = Conectar(); 67 | comando.ExecuteNonQuery(); 68 | 69 | comando.Connection.Close(); 70 | } 71 | 72 | private void update(Cliente cliente) 73 | { 74 | string consulta = "UPDATE `clientes` SET `nombre` = '" + cliente.Nombre + "', `apellido` = '" + cliente.Apellido + "', `telefono` = '" 75 | + cliente.Telefono +"', `tarjeta_de_credito` = '" + cliente.TarjetaDeCredito 76 | + "' WHERE `clientes`.`id` = " + cliente.Id + ";"; 77 | 78 | MySqlCommand comando = new MySqlCommand(consulta); 79 | comando.Connection = Conectar(); 80 | comando.ExecuteNonQuery(); 81 | 82 | comando.Connection.Close(); 83 | } 84 | 85 | public void Eliminar(Cliente cliente) 86 | { 87 | string consulta = "DELETE FROM `clientes` WHERE `clientes`.`id` = " + cliente.Id + ";"; 88 | MySqlCommand comando = new MySqlCommand(consulta); 89 | comando.Connection = Conectar(); 90 | comando.ExecuteNonQuery(); 91 | 92 | comando.Connection.Close(); 93 | } 94 | } 95 | 96 | } 97 | -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/forms/GestionClientes.cs: -------------------------------------------------------------------------------- 1 | using CursoProgramacion.dao; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.ComponentModel; 5 | using System.Data; 6 | using System.Drawing; 7 | using System.Text; 8 | using System.Windows.Forms; 9 | 10 | namespace CursoProgramacion 11 | { 12 | public partial class GestionClientes : Form 13 | { 14 | public GestionClientes() 15 | { 16 | InitializeComponent(); 17 | } 18 | 19 | private void GestionClientes_Load(object sender, EventArgs e) 20 | { 21 | actualizarLista(); 22 | } 23 | 24 | private void actualizarLista() 25 | { 26 | ClienteDao baseDeDatos = new ClienteDao(); 27 | List listaDb = baseDeDatos.ObtenerListadoDeClientes(); 28 | 29 | listClientes.Items.Clear(); 30 | for (int i = 0; i < listaDb.Count; i++) 31 | { 32 | Cliente cliente = listaDb[i]; 33 | listClientes.Items.Add(cliente); 34 | } 35 | } 36 | 37 | private void btnGuardar_Click(object sender, EventArgs e) 38 | { 39 | Cliente cliente = new Cliente(); 40 | cliente.Nombre = txtNombre.Text; 41 | cliente.Apellido = txtApellido.Text; 42 | cliente.TarjetaDeCredito = txtTarjetaDeCredito.Text; 43 | cliente.Telefono = txtTelefono.Text; 44 | 45 | if (lblId.Text != "") 46 | { 47 | cliente.Id = lblId.Text; 48 | } 49 | 50 | ClienteDao baseDeDatos = new ClienteDao(); 51 | baseDeDatos.Guardar(cliente); 52 | actualizarLista(); 53 | limpiarInputs(); 54 | } 55 | 56 | private void btnEliminar_Click(object sender, EventArgs e) 57 | { 58 | Cliente cliente = (Cliente) listClientes.SelectedItem; 59 | 60 | ClienteDao baseDeDatos = new ClienteDao(); 61 | baseDeDatos.Eliminar(cliente); 62 | actualizarLista(); 63 | limpiarInputs(); 64 | } 65 | 66 | private void button1_Click(object sender, EventArgs e) 67 | { 68 | } 69 | 70 | private void btnEditar_Click(object sender, EventArgs e) 71 | { 72 | Cliente cliente = (Cliente)listClientes.SelectedItem; 73 | txtNombre.Text = cliente.Nombre; 74 | txtApellido.Text = cliente.Apellido; 75 | txtTelefono.Text = cliente.Telefono; 76 | txtTarjetaDeCredito.Text = cliente.TarjetaDeCredito; 77 | lblId.Text = cliente.Id; 78 | } 79 | 80 | private void btnAgregar_Click(object sender, EventArgs e) 81 | { 82 | limpiarInputs(); 83 | } 84 | 85 | private void limpiarInputs() 86 | { 87 | 88 | lblId.Text = ""; 89 | txtNombre.Text = ""; 90 | txtApellido.Text = ""; 91 | txtTelefono.Text = ""; 92 | txtTarjetaDeCredito.Text = ""; 93 | } 94 | } 95 | } 96 | -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/forms/GestionClientes.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | text/microsoft-resx 50 | 51 | 52 | 2.0 53 | 54 | 55 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 56 | 57 | 58 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 59 | 60 | -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/forms/Menu.Designer.cs: -------------------------------------------------------------------------------- 1 |  2 | namespace CursoProgramacion 3 | { 4 | partial class Menu 5 | { 6 | /// 7 | /// Required designer variable. 8 | /// 9 | private System.ComponentModel.IContainer components = null; 10 | 11 | /// 12 | /// Clean up any resources being used. 13 | /// 14 | /// true if managed resources should be disposed; otherwise, false. 15 | protected override void Dispose(bool disposing) 16 | { 17 | if (disposing && (components != null)) 18 | { 19 | components.Dispose(); 20 | } 21 | base.Dispose(disposing); 22 | } 23 | 24 | #region Windows Form Designer generated code 25 | 26 | /// 27 | /// Required method for Designer support - do not modify 28 | /// the contents of this method with the code editor. 29 | /// 30 | private void InitializeComponent() 31 | { 32 | this.button1 = new System.Windows.Forms.Button(); 33 | this.SuspendLayout(); 34 | // 35 | // button1 36 | // 37 | this.button1.Location = new System.Drawing.Point(218, 24); 38 | this.button1.Name = "button1"; 39 | this.button1.Size = new System.Drawing.Size(75, 49); 40 | this.button1.TabIndex = 1; 41 | this.button1.Text = "Gestionar Clientes"; 42 | this.button1.UseVisualStyleBackColor = true; 43 | this.button1.Click += new System.EventHandler(this.button1_Click); 44 | // 45 | // Menu 46 | // 47 | this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); 48 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 49 | this.ClientSize = new System.Drawing.Size(344, 218); 50 | this.Controls.Add(this.button1); 51 | this.Name = "Menu"; 52 | this.Text = "Form1"; 53 | this.ResumeLayout(false); 54 | 55 | } 56 | 57 | #endregion 58 | private System.Windows.Forms.Button button1; 59 | } 60 | } 61 | 62 | -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/forms/Menu.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Threading.Tasks; 9 | using System.Windows.Forms; 10 | 11 | namespace CursoProgramacion 12 | { 13 | public partial class Menu : Form 14 | { 15 | public Menu() 16 | { 17 | InitializeComponent(); 18 | } 19 | 20 | private void button1_Click(object sender, EventArgs e) 21 | { 22 | 23 | GestionClientes ventanaGestionClientes = new GestionClientes(); 24 | ventanaGestionClientes.ShowDialog(); 25 | 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/forms/Menu.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | text/microsoft-resx 50 | 51 | 52 | 2.0 53 | 54 | 55 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 56 | 57 | 58 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 59 | 60 | -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/models/Cliente.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace CursoProgramacion 6 | { 7 | class Cliente 8 | { 9 | 10 | public string Id { get; set; } 11 | public string Nombre { get; set; } 12 | public string Apellido { get; set; } 13 | public string Telefono { get; set; } 14 | public string TarjetaDeCredito { get; set; } 15 | 16 | public string NombreCompleto 17 | { 18 | get { return Nombre + " " + Apellido; } 19 | } 20 | 21 | public override string ToString() 22 | { 23 | return NombreCompleto; 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/obj/CursoProgramacion.csproj.nuget.dgspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "format": 1, 3 | "restore": { 4 | "C:\\Users\\lucas\\source\\repos\\CursoProgramacion\\CursoProgramacion\\CursoProgramacion.csproj": {} 5 | }, 6 | "projects": { 7 | "C:\\Users\\lucas\\source\\repos\\CursoProgramacion\\CursoProgramacion\\CursoProgramacion.csproj": { 8 | "version": "1.0.0", 9 | "restore": { 10 | "projectUniqueName": "C:\\Users\\lucas\\source\\repos\\CursoProgramacion\\CursoProgramacion\\CursoProgramacion.csproj", 11 | "projectName": "CursoProgramacion", 12 | "projectPath": "C:\\Users\\lucas\\source\\repos\\CursoProgramacion\\CursoProgramacion\\CursoProgramacion.csproj", 13 | "packagesPath": "C:\\Users\\lucas\\.nuget\\packages\\", 14 | "outputPath": "C:\\Users\\lucas\\source\\repos\\CursoProgramacion\\CursoProgramacion\\obj\\", 15 | "projectStyle": "PackageReference", 16 | "configFilePaths": [ 17 | "C:\\Users\\lucas\\AppData\\Roaming\\NuGet\\NuGet.Config", 18 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" 19 | ], 20 | "originalTargetFrameworks": [ 21 | "netcoreapp3.1" 22 | ], 23 | "sources": { 24 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, 25 | "https://api.nuget.org/v3/index.json": {} 26 | }, 27 | "frameworks": { 28 | "netcoreapp3.1": { 29 | "targetAlias": "netcoreapp3.1", 30 | "projectReferences": {} 31 | } 32 | }, 33 | "warningProperties": { 34 | "warnAsError": [ 35 | "NU1605" 36 | ] 37 | } 38 | }, 39 | "frameworks": { 40 | "netcoreapp3.1": { 41 | "targetAlias": "netcoreapp3.1", 42 | "dependencies": { 43 | "MySql.Data": { 44 | "target": "Package", 45 | "version": "[8.0.25, )" 46 | } 47 | }, 48 | "imports": [ 49 | "net461", 50 | "net462", 51 | "net47", 52 | "net471", 53 | "net472", 54 | "net48" 55 | ], 56 | "assetTargetFallback": true, 57 | "warn": true, 58 | "frameworkReferences": { 59 | "Microsoft.NETCore.App": { 60 | "privateAssets": "all" 61 | }, 62 | "Microsoft.WindowsDesktop.App.WindowsForms": { 63 | "privateAssets": "none" 64 | } 65 | }, 66 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.203\\RuntimeIdentifierGraph.json" 67 | } 68 | } 69 | } 70 | } 71 | } -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/obj/CursoProgramacion.csproj.nuget.g.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | True 5 | NuGet 6 | $(MSBuildThisFileDirectory)project.assets.json 7 | $(UserProfile)\.nuget\packages\ 8 | C:\Users\lucas\.nuget\packages\ 9 | PackageReference 10 | 5.9.1 11 | 12 | 13 | 14 | 15 | 16 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 17 | 18 | -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/obj/CursoProgramacion.csproj.nuget.g.targets: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 5 | 6 | -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs: -------------------------------------------------------------------------------- 1 | // 2 | using System; 3 | using System.Reflection; 4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")] 5 | -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | using System; 12 | using System.Reflection; 13 | 14 | [assembly: System.Reflection.AssemblyCompanyAttribute("CursoProgramacion")] 15 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] 16 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] 17 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] 18 | [assembly: System.Reflection.AssemblyProductAttribute("CursoProgramacion")] 19 | [assembly: System.Reflection.AssemblyTitleAttribute("CursoProgramacion")] 20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] 21 | 22 | // Generated by the MSBuild WriteCodeFragment class. 23 | 24 | -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 4be40b1bcec0701f616af718541eb43fc607ad25 2 | -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.GestionClientes.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.GestionClientes.resources -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.Menu.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.Menu.resources -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.assets.cache -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.csproj.CopyComplete: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.csproj.CopyComplete -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | a887cdb74de8d00031206267213fb26bdfbb123c 2 | -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\bin\Debug\netcoreapp3.1\CursoProgramacion.exe 2 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\bin\Debug\netcoreapp3.1\CursoProgramacion.deps.json 3 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\bin\Debug\netcoreapp3.1\CursoProgramacion.runtimeconfig.json 4 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\bin\Debug\netcoreapp3.1\CursoProgramacion.runtimeconfig.dev.json 5 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\bin\Debug\netcoreapp3.1\CursoProgramacion.dll 6 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\bin\Debug\netcoreapp3.1\CursoProgramacion.pdb 7 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\obj\Debug\netcoreapp3.1\CursoProgramacion.csprojAssemblyReference.cache 8 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\obj\Debug\netcoreapp3.1\CursoProgramacion.csproj.GenerateResource.cache 9 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\obj\Debug\netcoreapp3.1\CursoProgramacion.AssemblyInfoInputs.cache 10 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\obj\Debug\netcoreapp3.1\CursoProgramacion.AssemblyInfo.cs 11 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\obj\Debug\netcoreapp3.1\CursoProgramacion.csproj.CoreCompileInputs.cache 12 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\obj\Debug\netcoreapp3.1\CursoProgramacion.dll 13 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\obj\Debug\netcoreapp3.1\CursoProgramacion.pdb 14 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\obj\Debug\netcoreapp3.1\CursoProgramacion.genruntimeconfig.cache 15 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\obj\Debug\netcoreapp3.1\CursoProgramacion.GestionClientes.resources 16 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\obj\Debug\netcoreapp3.1\CursoProgramacion.Menu.resources 17 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\bin\Debug\netcoreapp3.1\BouncyCastle.Crypto.dll 18 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\bin\Debug\netcoreapp3.1\Google.Protobuf.dll 19 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\bin\Debug\netcoreapp3.1\K4os.Compression.LZ4.dll 20 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\bin\Debug\netcoreapp3.1\K4os.Compression.LZ4.Streams.dll 21 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\bin\Debug\netcoreapp3.1\K4os.Hash.xxHash.dll 22 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\bin\Debug\netcoreapp3.1\MySql.Data.dll 23 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\bin\Debug\netcoreapp3.1\Ubiety.Dns.Core.dll 24 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\bin\Debug\netcoreapp3.1\Zstandard.Net.dll 25 | C:\Users\lucas\source\repos\CursoProgramacion\CursoProgramacion\obj\Debug\netcoreapp3.1\CursoProgramacion.csproj.CopyComplete 26 | -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.csproj.GenerateResource.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.csproj.GenerateResource.cache -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.designer.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp3.1", 4 | "framework": { 5 | "name": "Microsoft.WindowsDesktop.App", 6 | "version": "3.1.0" 7 | }, 8 | "additionalProbingPaths": [ 9 | "C:\\Users\\lucas\\.dotnet\\store\\|arch|\\|tfm|", 10 | "C:\\Users\\lucas\\.nuget\\packages" 11 | ], 12 | "configProperties": { 13 | "Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.dll -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.genruntimeconfig.cache: -------------------------------------------------------------------------------- 1 | 2c4300cbbf5d941b56230d8a7ab688d8cf14e91b 2 | -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/CursoProgramacion.pdb -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/apphost.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasmoy-dev/Curso-de-C-Sharp/52d9fcfc1708f6a1287967019eb50b4c4d12879a/Sistema de Clientes con MySql/CursoProgramacion/obj/Debug/netcoreapp3.1/apphost.exe -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/CursoProgramacion/obj/project.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "dgSpecHash": "qjEjca2GXrvApxyZifbZASqtdvlre0RriNENd4Px6kLMyWMj3ziDIOdiiQBvflpIG+2zC5tnxB+bzwva1pDf8Q==", 4 | "success": true, 5 | "projectFilePath": "C:\\Users\\lucas\\source\\repos\\CursoProgramacion\\CursoProgramacion\\CursoProgramacion.csproj", 6 | "expectedPackageFiles": [ 7 | "C:\\Users\\lucas\\.nuget\\packages\\bouncycastle.netcore\\1.8.5\\bouncycastle.netcore.1.8.5.nupkg.sha512", 8 | "C:\\Users\\lucas\\.nuget\\packages\\google.protobuf\\3.14.0\\google.protobuf.3.14.0.nupkg.sha512", 9 | "C:\\Users\\lucas\\.nuget\\packages\\k4os.compression.lz4\\1.1.11\\k4os.compression.lz4.1.1.11.nupkg.sha512", 10 | "C:\\Users\\lucas\\.nuget\\packages\\k4os.compression.lz4.streams\\1.1.11\\k4os.compression.lz4.streams.1.1.11.nupkg.sha512", 11 | "C:\\Users\\lucas\\.nuget\\packages\\k4os.hash.xxhash\\1.0.6\\k4os.hash.xxhash.1.0.6.nupkg.sha512", 12 | "C:\\Users\\lucas\\.nuget\\packages\\microsoft.netcore.platforms\\3.1.0\\microsoft.netcore.platforms.3.1.0.nupkg.sha512", 13 | "C:\\Users\\lucas\\.nuget\\packages\\microsoft.win32.systemevents\\4.7.0\\microsoft.win32.systemevents.4.7.0.nupkg.sha512", 14 | "C:\\Users\\lucas\\.nuget\\packages\\mysql.data\\8.0.25\\mysql.data.8.0.25.nupkg.sha512", 15 | "C:\\Users\\lucas\\.nuget\\packages\\system.buffers\\4.5.1\\system.buffers.4.5.1.nupkg.sha512", 16 | "C:\\Users\\lucas\\.nuget\\packages\\system.configuration.configurationmanager\\4.4.1\\system.configuration.configurationmanager.4.4.1.nupkg.sha512", 17 | "C:\\Users\\lucas\\.nuget\\packages\\system.drawing.common\\4.7.0\\system.drawing.common.4.7.0.nupkg.sha512", 18 | "C:\\Users\\lucas\\.nuget\\packages\\system.memory\\4.5.3\\system.memory.4.5.3.nupkg.sha512", 19 | "C:\\Users\\lucas\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\4.5.2\\system.runtime.compilerservices.unsafe.4.5.2.nupkg.sha512", 20 | "C:\\Users\\lucas\\.nuget\\packages\\system.security.accesscontrol\\4.7.0\\system.security.accesscontrol.4.7.0.nupkg.sha512", 21 | "C:\\Users\\lucas\\.nuget\\packages\\system.security.cryptography.protecteddata\\4.4.0\\system.security.cryptography.protecteddata.4.4.0.nupkg.sha512", 22 | "C:\\Users\\lucas\\.nuget\\packages\\system.security.permissions\\4.7.0\\system.security.permissions.4.7.0.nupkg.sha512", 23 | "C:\\Users\\lucas\\.nuget\\packages\\system.security.principal.windows\\4.7.0\\system.security.principal.windows.4.7.0.nupkg.sha512", 24 | "C:\\Users\\lucas\\.nuget\\packages\\system.text.encoding.codepages\\4.4.0\\system.text.encoding.codepages.4.4.0.nupkg.sha512", 25 | "C:\\Users\\lucas\\.nuget\\packages\\system.windows.extensions\\4.7.0\\system.windows.extensions.4.7.0.nupkg.sha512" 26 | ], 27 | "logs": [] 28 | } -------------------------------------------------------------------------------- /Sistema de Clientes con MySql/base de datos.sql: -------------------------------------------------------------------------------- 1 | -- phpMyAdmin SQL Dump 2 | -- version 5.1.0 3 | -- https://www.phpmyadmin.net/ 4 | -- 5 | -- Host: 127.0.0.1 6 | -- Generation Time: May 23, 2021 at 02:09 PM 7 | -- Server version: 10.4.18-MariaDB 8 | -- PHP Version: 7.3.27 9 | 10 | SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; 11 | START TRANSACTION; 12 | SET time_zone = "+00:00"; 13 | 14 | 15 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; 16 | /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; 17 | /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; 18 | /*!40101 SET NAMES utf8mb4 */; 19 | 20 | -- 21 | -- Database: `clientes` 22 | -- 23 | 24 | -- -------------------------------------------------------- 25 | 26 | -- 27 | -- Table structure for table `clientes` 28 | -- 29 | 30 | CREATE TABLE `clientes` ( 31 | `id` int(11) NOT NULL, 32 | `nombre` varchar(100) COLLATE utf8_bin NOT NULL, 33 | `apellido` varchar(100) COLLATE utf8_bin NOT NULL, 34 | `telefono` varchar(40) COLLATE utf8_bin NOT NULL, 35 | `tarjeta_de_credito` varchar(30) COLLATE utf8_bin NOT NULL 36 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; 37 | 38 | -- 39 | -- Dumping data for table `clientes` 40 | -- 41 | 42 | INSERT INTO `clientes` (`id`, `nombre`, `apellido`, `telefono`, `tarjeta_de_credito`) VALUES 43 | (2, 'Pabloerer', 'Gonzalez', '234234', '7567567567'), 44 | (5, 'test', 'asdas', 'asd', 'asdasd'); 45 | 46 | -- 47 | -- Indexes for dumped tables 48 | -- 49 | 50 | -- 51 | -- Indexes for table `clientes` 52 | -- 53 | ALTER TABLE `clientes` 54 | ADD PRIMARY KEY (`id`); 55 | 56 | -- 57 | -- AUTO_INCREMENT for dumped tables 58 | -- 59 | 60 | -- 61 | -- AUTO_INCREMENT for table `clientes` 62 | -- 63 | ALTER TABLE `clientes` 64 | MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; 65 | COMMIT; 66 | 67 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; 68 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; 69 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; 70 | --------------------------------------------------------------------------------