|
|
|
using System.Diagnostics;
|
|
|
|
|
|
|
|
namespace AplicacionAbrirIDEs
|
|
|
|
{
|
|
|
|
public partial class Form1 : Form
|
|
|
|
{
|
|
|
|
Process miProceso;
|
|
|
|
Process miProceso2;
|
|
|
|
Process miProceso3;
|
|
|
|
public Form1()
|
|
|
|
{
|
|
|
|
InitializeComponent();
|
|
|
|
}
|
|
|
|
|
|
|
|
private void button1_Click(object sender, EventArgs e)
|
|
|
|
{
|
|
|
|
miProceso = new Process();
|
|
|
|
miProceso.StartInfo.FileName = "C:\\Program Files\\JetBrains\\IntelliJ IDEA 2023.2.2\\bin\\idea64.exe";
|
|
|
|
miProceso.StartInfo.Arguments = ParamVC.Text;
|
|
|
|
miProceso.Start();
|
|
|
|
}
|
|
|
|
|
|
|
|
private void button2_Click(object sender, EventArgs e)
|
|
|
|
{
|
|
|
|
miProceso.Kill();
|
|
|
|
}
|
|
|
|
|
|
|
|
private void button3_Click(object sender, EventArgs e)
|
|
|
|
{
|
|
|
|
miProceso2 = new Process();
|
|
|
|
miProceso2.StartInfo.FileName = "C:\\Users\\rusvi\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe";
|
|
|
|
miProceso2.Start();
|
|
|
|
}
|
|
|
|
|
|
|
|
private void button4_Click(object sender, EventArgs e)
|
|
|
|
{
|
|
|
|
miProceso2.Kill();
|
|
|
|
}
|
|
|
|
|
|
|
|
private void button5_Click(object sender, EventArgs e)
|
|
|
|
{
|
|
|
|
miProceso3 = new Process();
|
|
|
|
miProceso3.StartInfo.FileName = "C:\\Program Files\\JetBrains\\PyCharm 2023.2.1\\bin\\pycharm64.exe";
|
|
|
|
miProceso3.Start();
|
|
|
|
}
|
|
|
|
|
|
|
|
private void button6_Click(object sender, EventArgs e)
|
|
|
|
{
|
|
|
|
miProceso3.Kill();
|
|
|
|
}
|
|
|
|
<<<<<<< HEAD
|
|
|
|
|
|
|
|
private void ParamVC_TextChanged(object sender, EventArgs e)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
=======
|
|
|
|
>>>>>>> a4dd96264ec5232f6833f5f495abb13081f76735
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|