Esempio n. 1
0
        public static void InvokeControlCustomMethod3(Control argsControl, MethodCallCaller aoCustomMethod, object[] args)
        {
            CallerParameter parameter = new CallerParameter();

            parameter.Control  = argsControl;
            parameter.In_value = args;
            new ControlCaller(parameter.Control).Invoke(aoCustomMethod, parameter);
        }
Esempio n. 2
0
        public static void InvokeControlCustomMethod(Control argsControl, MethodCallCaller aoCustomMethod)
        {
            CallerParameter args = new CallerParameter();

            args.Control  = argsControl;
            args.In_value = aoCustomMethod;
            new ControlCaller(args.Control).Invoke(new MethodCallCaller(ThreadUiController._InvokeControlCustomMethod), args);
        }