public void Invoke(ThreadUiController.MethodCallCaller invoker, ThreadUiController.CallerParameter args) { this.argumentInvokeList.Enqueue(new MethodCall(invoker, args)); try { this.control.Invoke(new EventHandler(this.ControlInvoke)); } catch (Exception exception) { string message = exception.Message; } }
public MethodCall(ThreadUiController.MethodCallCaller invoker, ThreadUiController.CallerParameter args) { this.invoker = invoker; this.args = args; }