private void bgThread_GetProcesses(object sender, DoWorkEventArgs e) { e.Result = RemoteProcess.GetProcesses(); }