Quote:
Originally Posted by
Rouxlas
Process myprocess;
myprocess = Process.Start(working directory and filename);
myprocess.CloseMainWindow();
myprocess.Close();
myprocess.WaitForExit();
It looks like that.
But have many lines of code each one of the start/stop buttons
you don't need to have "many" lines of code
just assign to all start/stop button 1 procedure, a make a selection by sender.
Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (5 Days Ago); точное время не сохранилось. Открыть источник.