public MainForm() { InitializeComponent(); OnTick.Start(); string procTxt = "skype.exe"; if (!Backend.ProcessTools.IsOpened(procTxt)) { MessageBox.Show("Process is not valid"); return; } Proc = new Backend.Proc(procTxt); }
private void SelectProcess(object sender, EventArgs e) { string procTxt = Desktop_Capture_Process.Text; if (!Backend.ProcessTools.IsOpened(procTxt)) { MessageBox.Show("Process is not valid"); return; } Proc = new Backend.Proc(procTxt); }