Compare commits

...

No commits in common. 'main' and 'master' have entirely different histories.
main ... master

63
.gitattributes vendored

@ -0,0 +1,63 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp
###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary
###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary
###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain

363
.gitignore vendored

@ -0,0 +1,363 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
# User-specific files
*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Mono auto generated files
mono_crash.*
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Oo]ut/
[Ll]og/
[Ll]ogs/
# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# Visual Studio 2017 auto generated files
Generated\ Files/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUnit
*.VisualState.xml
TestResult.xml
nunit-*.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# Benchmark Results
BenchmarkDotNet.Artifacts/
# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
# ASP.NET Scaffolding
ScaffoldingReadMe.txt
# StyleCop
StyleCopReport.xml
# Files built by Visual Studio
*_i.c
*_p.c
*_h.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# Visual Studio Trace Files
*.e2e
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json
# Coverlet is a free, cross platform Code Coverage Tool
coverage*.json
coverage*.xml
coverage*.info
# Visual Studio code coverage results
*.coverage
*.coveragexml
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
# NuGet Packages
*.nupkg
# NuGet Symbol Packages
*.snupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx
*.appxbundle
*.appxupload
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!?*.[Cc]ache/
# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs
# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak
# SQL Server files
*.mdf
*.ldf
*.ndf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser
*- [Bb]ackup.rdl
*- [Bb]ackup ([0-9]).rdl
*- [Bb]ackup ([0-9][0-9]).rdl
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
.paket/paket.exe
paket-files/
# FAKE - F# Make
.fake/
# CodeRush personal settings
.cr/personal
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config
# Tabs Studio
*.tss
# Telerik's JustMock configuration file
*.jmconfig
# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs
# OpenCover UI analysis results
OpenCover/
# Azure Stream Analytics local run output
ASALocalRun/
# MSBuild Binary and Structured Log
*.binlog
# NVidia Nsight GPU debugger configuration file
*.nvuser
# MFractors (Xamarin productivity tool) working folder
.mfractor/
# Local History for Visual Studio
.localhistory/
# BeatPulse healthcheck temp database
healthchecksdb
# Backup folder for Package Reference Convert tool in Visual Studio 2017
MigrationBackup/
# Ionide (cross platform F# VS Code tools) working folder
.ionide/
# Fody - auto-generated XML schema
FodyWeavers.xsd

202
Form1.Designer.cs generated

@ -1,202 +0,0 @@
namespace _01_IntroProcesos
{
partial class Form1
{
/// <summary>
/// Variable del diseñador necesaria.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpiar los recursos que se estén usando.
/// </summary>
/// <param name="disposing">true si los recursos administrados se deben desechar; false en caso contrario.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Código generado por el Diseñador de Windows Forms
/// <summary>
/// Método necesario para admitir el Diseñador. No se puede modificar
/// el contenido de este método con el editor de código.
/// </summary>
private void InitializeComponent()
{
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.button4 = new System.Windows.Forms.Button();
this.button5 = new System.Windows.Forms.Button();
this.button6 = new System.Windows.Forms.Button();
this.button7 = new System.Windows.Forms.Button();
this.button8 = new System.Windows.Forms.Button();
this.button9 = new System.Windows.Forms.Button();
this.button10 = new System.Windows.Forms.Button();
this.button11 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(23, 156);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(201, 54);
this.button1.TabIndex = 0;
this.button1.Text = "iniciar Proceso";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.Button1_Click);
//
// button2
//
this.button2.Location = new System.Drawing.Point(23, 231);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(201, 52);
this.button2.TabIndex = 1;
this.button2.Text = "eliminar Proceso";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.Button2_Click);
//
// button3
//
this.button3.Location = new System.Drawing.Point(255, 156);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(147, 54);
this.button3.TabIndex = 2;
this.button3.Text = "listar Procesos";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.Button3_Click);
//
// comboBox1
//
this.comboBox1.FormattingEnabled = true;
this.comboBox1.Location = new System.Drawing.Point(451, 156);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(224, 21);
this.comboBox1.TabIndex = 3;
//
// button4
//
this.button4.Location = new System.Drawing.Point(255, 231);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(147, 52);
this.button4.TabIndex = 4;
this.button4.Text = "listar Chrome";
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.Button4_Click);
//
// button5
//
this.button5.Location = new System.Drawing.Point(255, 304);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(147, 52);
this.button5.TabIndex = 5;
this.button5.Text = "matar Chrome";
this.button5.UseVisualStyleBackColor = true;
this.button5.Click += new System.EventHandler(this.Button5_Click);
//
// button6
//
this.button6.Location = new System.Drawing.Point(23, 12);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(201, 54);
this.button6.TabIndex = 6;
this.button6.Text = "inicio Proceso simple";
this.button6.UseVisualStyleBackColor = true;
this.button6.Click += new System.EventHandler(this.button6_Click);
//
// button7
//
this.button7.Location = new System.Drawing.Point(244, 12);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(201, 54);
this.button7.TabIndex = 7;
this.button7.Text = "inicio Proceso ProcessStartInfo";
this.button7.UseVisualStyleBackColor = true;
this.button7.Click += new System.EventHandler(this.button7_Click);
//
// button8
//
this.button8.Location = new System.Drawing.Point(463, 12);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(201, 54);
this.button8.TabIndex = 8;
this.button8.Text = "Propiedades";
this.button8.UseVisualStyleBackColor = true;
this.button8.Click += new System.EventHandler(this.button8_Click);
//
// button9
//
this.button9.Location = new System.Drawing.Point(23, 304);
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(201, 52);
this.button9.TabIndex = 9;
this.button9.Text = "waitForExit()";
this.button9.UseVisualStyleBackColor = true;
this.button9.Click += new System.EventHandler(this.button9_Click);
//
// button10
//
this.button10.Location = new System.Drawing.Point(23, 78);
this.button10.Name = "button10";
this.button10.Size = new System.Drawing.Size(201, 54);
this.button10.TabIndex = 10;
this.button10.Text = "Redirigir salida";
this.button10.UseVisualStyleBackColor = true;
this.button10.Click += new System.EventHandler(this.button10_Click);
//
// button11
//
this.button11.Location = new System.Drawing.Point(244, 78);
this.button11.Name = "button11";
this.button11.Size = new System.Drawing.Size(201, 54);
this.button11.TabIndex = 11;
this.button11.Text = "Enviar texto a Notepad";
this.button11.UseVisualStyleBackColor = true;
this.button11.Click += new System.EventHandler(this.button11_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.button11);
this.Controls.Add(this.button10);
this.Controls.Add(this.button9);
this.Controls.Add(this.button8);
this.Controls.Add(this.button7);
this.Controls.Add(this.button6);
this.Controls.Add(this.button5);
this.Controls.Add(this.button4);
this.Controls.Add(this.comboBox1);
this.Controls.Add(this.button3);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.Name = "Form1";
this.Text = "Form1";
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Button button5;
private System.Windows.Forms.Button button6;
private System.Windows.Forms.Button button7;
private System.Windows.Forms.Button button8;
private System.Windows.Forms.Button button9;
private System.Windows.Forms.Button button10;
private System.Windows.Forms.Button button11;
}
}

@ -1,132 +0,0 @@
using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace _01_IntroProcesos {
public partial class Form1 : Form {
Process miProceso;
public Form1() {
InitializeComponent();
}
private void Button1_Click(object sender, EventArgs e) {
//referencia https://docs.microsoft.com/es-es/dotnet/api/system.diagnostics.process?view=netframework-4.8
miProceso = new Process();
miProceso.StartInfo.FileName = "Notepad";
//miProceso.StartInfo.FileName = @"C:\Program Files\LibreOffice\program\swriter.exe";
//miProceso.StartInfo.FileName = @"C:\Program Files(x86)\Microsoft Office\Office16\WINWORD.exe";
//miProceso.StartInfo.WindowStyle = ProcessWindowStyle.Maximized;
miProceso.Start();
}
private void Button2_Click(object sender, EventArgs e) {
miProceso.Kill();
}
private void Button3_Click(object sender, EventArgs e) {
Process[] misProcesos = Process.GetProcesses();
this.comboBox1.Items.Clear();
foreach (Process mp in misProcesos) {
this.comboBox1.Items.Add(mp.ProcessName);
}
}
private void Button4_Click(object sender, EventArgs e) {
Process[] misProcesos = Process.GetProcessesByName("chrome");
this.comboBox1.Items.Clear();
foreach (Process mp in misProcesos) {
this.comboBox1.Items.Add(mp.ProcessName);
}
}
private void Button5_Click(object sender, EventArgs e) {
Process[] misProcesos = Process.GetProcessesByName("Chrome");
foreach (Process mp in misProcesos) {
mp.Kill();
}
}
private void button6_Click(object sender, EventArgs e) {
try {
Process.Start(@"C:\Windows\System32\notepad.exe");
Process.Start("calc");
Process.Start("MiDocumento.pdf");
Process.Start("https:\\www.marcombo.com");
Process.Start("C:\\");
}
catch (Exception ex) {
Debug.WriteLine(ex.Message);
}
}
private void button7_Click(object sender, EventArgs e) {
ProcessStartInfo psi = new ProcessStartInfo();
psi.FileName = "ping";
psi.CreateNoWindow = false;
psi.UseShellExecute = true;
psi.WindowStyle = ProcessWindowStyle.Maximized;
psi.Arguments = "www.marcombo.com" + " -n 10";
try {
Process.Start(psi);
}
catch (Exception ex) {
Debug.WriteLine(ex.Message);
}
}
private void button8_Click(object sender, EventArgs e) {
//iniciamos un proceso
miProceso = new Process();
miProceso.StartInfo.FileName = "Notepad";
miProceso.Start();
//consultamos alguna propiedad y alteramos alguna otra
Debug.WriteLine( miProceso.StartTime.ToString());
miProceso.PriorityClass = ProcessPriorityClass.BelowNormal;
}
private void button9_Click(object sender, EventArgs e) {
//se debe ejecutar previamente a la creación de un proceso
String nombre = miProceso.ProcessName;
Debug.WriteLine(miProceso.HasExited.ToString());
miProceso.WaitForExit(); //método síncrono=>línea bloqueante
Debug.WriteLine(miProceso.HasExited.ToString());
Debug.WriteLine(miProceso.ExitCode.ToString());
Debug.WriteLine("El proceso " + nombre + "ha terminado");
}
private void button10_Click(object sender, EventArgs e) {
ProcessStartInfo psi = new ProcessStartInfo();
psi.FileName = "cmd.exe";
psi.Arguments = "/c dir";
psi.UseShellExecute = false;
psi.CreateNoWindow = true;
psi.RedirectStandardOutput = true;
Process p = Process.Start(psi);
StreamReader reader = p.StandardOutput;
string datos = reader.ReadToEnd();
Debug.WriteLine(datos);
}
[DllImport("user32.dll", EntryPoint = "FindWindowEx")]
public static extern IntPtr FindWindowEx(IntPtr hwndParent, IntPtr hwndChildAfter, string lpszClass, string lpszWindow);
[DllImport("User32.dll")]
public static extern int SendMessage(IntPtr hWnd, int uMsg, int wParam, string lParam);
private void button11_Click(object sender, EventArgs e) {
Process[] processes = Process.GetProcessesByName("notepad");
//Console.WriteLine(processes[0].MainWindowHandle.ToString());
if (processes.Length == 0) return;
if (processes[0] != null) {
IntPtr child = FindWindowEx(processes[0].MainWindowHandle, new IntPtr(0), "Edit", null);
SendMessage(child, 0x000C, 0, "hola");
}
}
}
}

@ -0,0 +1,166 @@
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProjectGuid>{2697971D-49D5-40D9-908D-0BA7196DF97B}</ProjectGuid>
<OutputType>WinExe</OutputType>
<NoStandardLibraries>false</NoStandardLibraries>
<AssemblyName>WindowsApplication</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<RootNamespace>Hilo1</RootNamespace>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Data" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="System.Xml.Linq" />
</ItemGroup>
<ItemGroup>
<None Include=".vs\Hilo1\FileContentIndex\6d519b9f-3f94-4b4f-9fc5-08f395fb9133.vsidx" />
<None Include=".vs\Hilo1\v17\.suo" />
<None Include="app.config" />
<None Include="csharp\HolaMundo\.vs\HolaMundo\DesignTimeBuild\.dtbcache.v2" />
<None Include="csharp\HolaMundo\.vs\HolaMundo\FileContentIndex\8f66285c-0c5a-4e0b-bf9a-ca6d282cc404.vsidx" />
<None Include="csharp\HolaMundo\.vs\HolaMundo\v17\.futdcache.v2" />
<None Include="csharp\HolaMundo\.vs\HolaMundo\v17\.suo" />
<None Include="csharp\HolaMundo\.vs\ProjectEvaluation\holamundo.metadata.v7.bin" />
<None Include="csharp\HolaMundo\.vs\ProjectEvaluation\holamundo.projects.v7.bin" />
<None Include="csharp\HolaMundo\HolaMundo\bin\Debug\net6.0\HolaMundo.deps.json" />
<None Include="csharp\HolaMundo\HolaMundo\bin\Debug\net6.0\HolaMundo.runtimeconfig.json" />
<None Include="csharp\HolaMundo\HolaMundo\HolaMundo.csproj" />
<None Include="csharp\HolaMundo\HolaMundo\obj\Debug\net6.0\HolaMundo.AssemblyInfoInputs.cache" />
<None Include="csharp\HolaMundo\HolaMundo\obj\Debug\net6.0\HolaMundo.assets.cache" />
<None Include="csharp\HolaMundo\HolaMundo\obj\Debug\net6.0\HolaMundo.csproj.BuildWithSkipAnalyzers" />
<None Include="csharp\HolaMundo\HolaMundo\obj\Debug\net6.0\HolaMundo.csproj.CoreCompileInputs.cache" />
<None Include="csharp\HolaMundo\HolaMundo\obj\Debug\net6.0\HolaMundo.GeneratedMSBuildEditorConfig.editorconfig" />
<None Include="csharp\HolaMundo\HolaMundo\obj\Debug\net6.0\HolaMundo.genruntimeconfig.cache" />
<None Include="csharp\HolaMundo\HolaMundo\obj\HolaMundo.csproj.nuget.dgspec.json" />
<None Include="csharp\HolaMundo\HolaMundo\obj\HolaMundo.csproj.nuget.g.props" />
<None Include="csharp\HolaMundo\HolaMundo\obj\HolaMundo.csproj.nuget.g.targets" />
<None Include="csharp\HolaMundo\HolaMundo\obj\project.assets.json" />
<None Include="csharp\HolaMundo\HolaMundo\obj\project.nuget.cache" />
<None Include="csharp\WindowsFormsApp1\.vs\slnx.sqlite" />
<None Include="csharp\WindowsFormsApp1\.vs\VSWorkspaceState.json" />
<None Include="csharp\WindowsFormsApp1\.vs\WindowsFormsApp1\FileContentIndex\0d7ddbdc-5883-4869-b685-8100ac369aa4.vsidx" />
<None Include="csharp\WindowsFormsApp1\.vs\WindowsFormsApp1\FileContentIndex\3b040faa-6504-4dc2-bcb8-365c2e4aa950.vsidx" />
<None Include="csharp\WindowsFormsApp1\.vs\WindowsFormsApp1\FileContentIndex\6cae50ba-90f2-4f7b-aec6-28e5ec82bfa8.vsidx" />
<None Include="csharp\WindowsFormsApp1\.vs\WindowsFormsApp1\v17\.suo" />
<None Include="csharp\WindowsFormsApp1\.vs\WindowsFormsApp1\v17\.wsuo" />
<None Include="csharp\WindowsFormsApp1\WindowsFormsApp1\App.config" />
<None Include="csharp\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\DesignTimeResolveAssemblyReferences.cache" />
<None Include="csharp\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache" />
<None Include="csharp\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.AssemblyReference.cache" />
<None Include="csharp\WindowsFormsApp1\WindowsFormsApp1\obj\Release\WindowsFormsApp1.csproj.AssemblyReference.cache" />
<None Include="csharp\WindowsFormsApp1\WindowsFormsApp1\Properties\Settings.settings" />
<None Include="csharp\WindowsFormsApp1\WindowsFormsApp1\WindowsFormsApp1.csproj" />
<None Include="HiloCS1\01-IntroProcesos.csproj" />
<None Include="HiloCS1\App.config" />
<None Include="HiloCS1\bin\Debug\01-IntroProcesos.exe.config" />
<None Include="HiloCS1\obj\Debug\01-IntroProcesos.csproj.AssemblyReference.cache" />
<None Include="HiloCS1\obj\Debug\01-IntroProcesos.csproj.CoreCompileInputs.cache" />
<None Include="HiloCS1\obj\Debug\01-IntroProcesos.csproj.GenerateResource.cache" />
<None Include="HiloCS1\obj\Release\01-IntroProcesos.csproj.AssemblyReference.cache" />
<None Include="HiloCS1\Properties\Settings.settings" />
<None Include="HiloCS1\README.md" />
</ItemGroup>
<ItemGroup>
<Content Include="csharp\HolaMundo\HolaMundo.sln" />
<Content Include="csharp\HolaMundo\HolaMundo\bin\Debug\net6.0\HolaMundo.dll" />
<Content Include="csharp\HolaMundo\HolaMundo\bin\Debug\net6.0\HolaMundo.exe" />
<Content Include="csharp\HolaMundo\HolaMundo\bin\Debug\net6.0\HolaMundo.pdb" />
<Content Include="csharp\HolaMundo\HolaMundo\obj\Debug\net6.0\apphost.exe" />
<Content Include="csharp\HolaMundo\HolaMundo\obj\Debug\net6.0\HolaMundo.csproj.FileListAbsolute.txt" />
<Content Include="csharp\HolaMundo\HolaMundo\obj\Debug\net6.0\HolaMundo.dll" />
<Content Include="csharp\HolaMundo\HolaMundo\obj\Debug\net6.0\HolaMundo.pdb" />
<Content Include="csharp\HolaMundo\HolaMundo\obj\Debug\net6.0\refint\HolaMundo.dll" />
<Content Include="csharp\HolaMundo\HolaMundo\obj\Debug\net6.0\ref\HolaMundo.dll" />
<Content Include="csharp\WindowsFormsApp1\WindowsFormsApp1.sln" />
<Content Include="HiloCS1\bin\Debug\01-IntroProcesos.exe" />
<Content Include="HiloCS1\bin\Debug\01-IntroProcesos.pdb" />
<Content Include="HiloCS1\obj\Debug\01-IntroProcesos.csproj.FileListAbsolute.txt" />
<Content Include="HiloCS1\obj\Debug\01-IntroProcesos.exe" />
<Content Include="HiloCS1\obj\Debug\01-IntroProcesos.pdb" />
</ItemGroup>
<ItemGroup>
<Compile Include="csharp\HolaMundo\HolaMundo\obj\Debug\net6.0\.NETCoreApp,Version=v6.0.AssemblyAttributes.cs" />
<Compile Include="csharp\HolaMundo\HolaMundo\obj\Debug\net6.0\HolaMundo.AssemblyInfo.cs" />
<Compile Include="csharp\HolaMundo\HolaMundo\obj\Debug\net6.0\HolaMundo.GlobalUsings.g.cs" />
<Compile Include="csharp\HolaMundo\HolaMundo\Program.cs" />
<Compile Include="csharp\WindowsFormsApp1\WindowsFormsApp1\Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="csharp\WindowsFormsApp1\WindowsFormsApp1\Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="csharp\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\.NETFramework,Version=v4.7.2.AssemblyAttributes.cs" />
<Compile Include="csharp\WindowsFormsApp1\WindowsFormsApp1\obj\Release\.NETFramework,Version=v4.7.2.AssemblyAttributes.cs" />
<Compile Include="csharp\WindowsFormsApp1\WindowsFormsApp1\Program.cs" />
<Compile Include="csharp\WindowsFormsApp1\WindowsFormsApp1\Properties\AssemblyInfo.cs" />
<Compile Include="csharp\WindowsFormsApp1\WindowsFormsApp1\Properties\Resources.Designer.cs" />
<Compile Include="csharp\WindowsFormsApp1\WindowsFormsApp1\Properties\Settings.Designer.cs" />
<Compile Include="HiloCS1\Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="HiloCS1\Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="HiloCS1\obj\Debug\.NETFramework,Version=v4.7.2.AssemblyAttributes.cs" />
<Compile Include="HiloCS1\obj\Release\.NETFramework,Version=v4.7.2.AssemblyAttributes.cs" />
<Compile Include="HiloCS1\Program.cs" />
<Compile Include="HiloCS1\Properties\AssemblyInfo.cs" />
<Compile Include="HiloCS1\Properties\Resources.Designer.cs" />
<Compile Include="HiloCS1\Properties\Settings.Designer.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="csharp\WindowsFormsApp1\WindowsFormsApp1\Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="csharp\WindowsFormsApp1\WindowsFormsApp1\Properties\Resources.resx" />
<EmbeddedResource Include="HiloCS1\Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="HiloCS1\obj\Debug\_01_IntroProcesos.Form1.resources" />
<EmbeddedResource Include="HiloCS1\obj\Debug\_01_IntroProcesos.Properties.Resources.resources" />
<EmbeddedResource Include="HiloCS1\Properties\Resources.resx" />
</ItemGroup>
<ItemGroup>
<Folder Include="csharp\WindowsFormsApp1\WindowsFormsApp1\bin\Debug\" />
<Folder Include="csharp\WindowsFormsApp1\WindowsFormsApp1\bin\Release\" />
<Folder Include="csharp\WindowsFormsApp1\WindowsFormsApp1\obj\Debug\TempPE\" />
<Folder Include="HiloCS1\bin\Release\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSHARP.Targets" />
<ProjectExtensions>
<VisualStudio AllowExistingFolder="true" />
</ProjectExtensions>
</Project>

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.7.34031.279
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hilo1", "Hilo1.csproj", "{2697971D-49D5-40D9-908D-0BA7196DF97B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2697971D-49D5-40D9-908D-0BA7196DF97B}.Debug|x86.ActiveCfg = Debug|x86
{2697971D-49D5-40D9-908D-0BA7196DF97B}.Debug|x86.Build.0 = Debug|x86
{2697971D-49D5-40D9-908D-0BA7196DF97B}.Release|x86.ActiveCfg = Release|x86
{2697971D-49D5-40D9-908D-0BA7196DF97B}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {8293EAC2-BDDA-4F6C-99E8-7FF9EDECAFF5}
EndGlobalSection
EndGlobal

@ -1 +1 @@
## Creación de un hilo asociado a un método y ejecución en paralelo con el hilo principal.
# repos

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.7.34009.444
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HolaMundo", "HolaMundo\HolaMundo.csproj", "{8D2C590F-43EE-48CB-8BDC-C0224F2753A5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8D2C590F-43EE-48CB-8BDC-C0224F2753A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8D2C590F-43EE-48CB-8BDC-C0224F2753A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8D2C590F-43EE-48CB-8BDC-C0224F2753A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8D2C590F-43EE-48CB-8BDC-C0224F2753A5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {1272A85F-12E6-421D-AD7E-5B3FAEAFB7B5}
EndGlobalSection
EndGlobal

@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

@ -0,0 +1,7 @@
internal class Program
{
private static void Main(string[] args)
{
Console.WriteLine("Hello, https://programacion-servicios-procesos.fp.edu.es/");
}
}

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.7.34031.279
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsFormsApp1", "WindowsFormsApp1\WindowsFormsApp1.csproj", "{A4D0A6CF-1338-439F-BB76-1C916E0B42E0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A4D0A6CF-1338-439F-BB76-1C916E0B42E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A4D0A6CF-1338-439F-BB76-1C916E0B42E0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A4D0A6CF-1338-439F-BB76-1C916E0B42E0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A4D0A6CF-1338-439F-BB76-1C916E0B42E0}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {65D61C7B-F818-4136-9EAB-96BA8CE4A39B}
EndGlobalSection
EndGlobal

@ -0,0 +1,40 @@
namespace WindowsFormsApp1
{
partial class Form1
{
/// <summary>
/// Variable del diseñador necesaria.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpiar los recursos que se estén usando.
/// </summary>
/// <param name="disposing">true si los recursos administrados se deben desechar; false en caso contrario.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Código generado por el Diseñador de Windows Forms
/// <summary>
/// Método necesario para admitir el Diseñador. No se puede modificar
/// el contenido de este método con el editor de código.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Text = "Form1";
}
#endregion
}
}

@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApp1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
}
}

@ -4,9 +4,9 @@ using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace _01_IntroProcesos
namespace WindowsFormsApp1
{
static class Program
internal static class Program
{
/// <summary>
/// Punto de entrada principal para la aplicación.

@ -5,12 +5,12 @@ using System.Runtime.InteropServices;
// La información general de un ensamblado se controla mediante el siguiente
// conjunto de atributos. Cambie estos valores de atributo para modificar la información
// asociada con un ensamblado.
[assembly: AssemblyTitle("01-IntroProcesos")]
[assembly: AssemblyTitle("WindowsFormsApp1")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("01-IntroProcesos")]
[assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyProduct("WindowsFormsApp1")]
[assembly: AssemblyCopyright("Copyright © 2023")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@ -20,7 +20,7 @@ using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
// El siguiente GUID sirve como id. de typelib si este proyecto se expone a COM.
[assembly: Guid("afe3b6be-a35e-466e-affe-1be73de7fcac")]
[assembly: Guid("a4d0a6cf-1338-439f-bb76-1c916e0b42e0")]
// La información de versión de un ensamblado consta de los cuatro valores siguientes:
//

@ -8,7 +8,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace _01_IntroProcesos.Properties
namespace WindowsFormsApp1.Properties
{
@ -44,7 +44,7 @@ namespace _01_IntroProcesos.Properties
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("_01_IntroProcesos.Properties.Resources", typeof(Resources).Assembly);
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WindowsFormsApp1.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;

@ -8,7 +8,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace _01_IntroProcesos.Properties
namespace WindowsFormsApp1.Properties
{

@ -4,10 +4,10 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{AFE3B6BE-A35E-466E-AFFE-1BE73DE7FCAC}</ProjectGuid>
<ProjectGuid>{A4D0A6CF-1338-439F-BB76-1C916E0B42E0}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>_01_IntroProcesos</RootNamespace>
<AssemblyName>01-IntroProcesos</AssemblyName>
<RootNamespace>WindowsFormsApp1</RootNamespace>
<AssemblyName>WindowsFormsApp1</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
@ -54,9 +54,6 @@
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>

@ -1,4 +0,0 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
Loading…
Cancel
Save

Powered by Informatica FP.