- Joined
- Mar 18, 2008
- Messages
- 12
- Reaction score
- 0
Ok herse my problem i whana do a program starter/stoper
i alredy have the starting part
But how do i close this program whonse i have it runing?
sory for my eng
i alredy have the starting part
Code:
using System;
using System.Diagnostics;
namespace csharp_station.howto
{
/// <summary>
/// Demonstrates how to start another program from C#
/// </summary>
class ProcessStart
{
static void Main(string[] args)
{
Process notePad = new Process();
notePad.StartInfo.FileName = "notepad.exe";
notePad.StartInfo.Arguments = "ProcessStart.cs";
notePad.Start();
}
}
}
But how do i close this program whonse i have it runing?
sory for my eng