public static object executeOnAscxSync(string ascxToExecuteMethod, string targetMethod, string[] methodParameters) { var o2Message = KM_GUIAction.executeOnAscx(ascxToExecuteMethod, targetMethod, methodParameters); DI.o2MessageQueue.sendMessageSync(o2Message); return(o2Message.returnData); }
public static Thread getAscx(string ascxToGet, Action <object> actionReturnData) { return(DI.o2MessageQueue.sendMessage(KM_GUIAction.getGuiAscx(ascxToGet, actionReturnData))); }
public static Control openControlInGUISync(Type controlType, O2DockState o2DockState, string controlName) { DI.o2MessageQueue.sendMessageSync(KM_GUIAction.openControlInGui(controlType, o2DockState, controlName)); return(getAscxSync(controlName)); }
public static void openControlInGUI(Type controlType, O2DockState o2DockState, string controlName) { DI.o2MessageQueue.sendMessage(KM_GUIAction.openControlInGui(controlType, o2DockState, controlName)); }
public static void closeAscxParent(string ascxControlName) { DI.o2MessageQueue.sendMessage(KM_GUIAction.closeAscxParent(ascxControlName)); }
public static Thread executeOnAscx(string ascxToExecuteMethod, string targetMethod, string[] methodParameters) { return(DI.o2MessageQueue.sendMessage(KM_GUIAction.executeOnAscx(ascxToExecuteMethod, targetMethod, methodParameters))); }
public static object setAscxDockStateAndOpenIfNotAvailable(string typeOfControl, O2DockState o2DockState, string controlName) { return(DI.o2MessageQueue.sendMessage(KM_GUIAction.setAscxDockStateAndOpenIfNotAvailable(typeOfControl, o2DockState, controlName))); }