private void ExecuteRequest() { if (_Request == null) { _MainLog.LogWarning("Create a request before executing!"); return; } if (rbExecInprocess.Checked) { ThreadPool.QueueUserWorkItem(BackgroundWorker, _Request); _Request = null; } else if (rbExecAssignToWorker.Checked) { RequestBase.DispatchToWorker(_ClientRef.Target, _Request, txtWorkerComputer.Text, txtWorkerInstance.Text); _Request = null; } else if (rbExecSendToManager.Checked) { RequestBase.DispatchToManager(_ClientRef.Target, _Request); _Request = null; } else { _MainLog.LogWarning("No request handling option chosen!"); } }