Esempio n. 1
0
 public static KM_GUIAction isAscxGuiAvailable()
 {
     var kmGuiAction = new KM_GUIAction
     {
         GuiAction = IM_GUIActions.isAscxGuiAvailable                
     };
     return kmGuiAction;            
 }
Esempio n. 2
0
 internal static KM_GUIAction closeAscxParent(string targetAscxControl)
 {
     var kmGuiAction = new KM_GUIAction
     {
         GuiAction = IM_GUIActions.closeAscxParent,
         controlName = targetAscxControl,                
     };
     return kmGuiAction;  
 }
        public static KM_GUIAction isAscxGuiAvailable()
        {
            var kmGuiAction = new KM_GUIAction
            {
                GuiAction = IM_GUIActions.isAscxGuiAvailable
            };

            return(kmGuiAction);
        }
Esempio n. 4
0
 public static KM_GUIAction getGuiAscx(string ascxToGet, Action<object> _returnDataCallback)
 {
     var kmGuiAction = new KM_GUIAction
                           {
                               GuiAction = IM_GUIActions.getGuiAscx,
                               controlName = ascxToGet,
                                 returnDataCallback = _returnDataCallback
                           };
     return kmGuiAction;
 }
        internal static KM_GUIAction closeAscxParent(string targetAscxControl)
        {
            var kmGuiAction = new KM_GUIAction
            {
                GuiAction   = IM_GUIActions.closeAscxParent,
                controlName = targetAscxControl,
            };

            return(kmGuiAction);
        }
Esempio n. 6
0
 internal static KM_GUIAction executeOnAscx(string ascxToExecuteMethod, string targetMethod, string[] methodParameters)
 {
     var kmGuiAction = new KM_GUIAction
     {
         GuiAction = IM_GUIActions.executeOnAscx,
         controlName = ascxToExecuteMethod,
         targetMethod = targetMethod,
         methodParameters = methodParameters
     };
     return kmGuiAction;  
 }
        public static KM_GUIAction getGuiAscx(string ascxToGet, Action <object> _returnDataCallback)
        {
            var kmGuiAction = new KM_GUIAction
            {
                GuiAction          = IM_GUIActions.getGuiAscx,
                controlName        = ascxToGet,
                returnDataCallback = _returnDataCallback
            };

            return(kmGuiAction);
        }
        internal static KM_GUIAction executeOnAscx(string ascxToExecuteMethod, string targetMethod, string[] methodParameters)
        {
            var kmGuiAction = new KM_GUIAction
            {
                GuiAction        = IM_GUIActions.executeOnAscx,
                controlName      = ascxToExecuteMethod,
                targetMethod     = targetMethod,
                methodParameters = methodParameters
            };

            return(kmGuiAction);
        }
        internal static KM_GUIAction setAscxDockStateAndOpenIfNotAvailable(string typeOfControl, O2DockState _o2DockState, string _controlName)
        {
            var kmGuiAction = new KM_GUIAction
            {
                GuiAction         = IM_GUIActions.setAscxDockStateAndOpenIfNotAvailable,
                controlTypeString = typeOfControl,
                o2DockState       = _o2DockState,
                controlName       = _controlName
            };

            return(kmGuiAction);
        }
Esempio n. 10
0
 public static KM_GUIAction openControlInGui(Type _controlType, O2DockState _o2DockState, string _controlName)
 {
     var kmGuiAction = new KM_GUIAction
                           {
                               GuiAction = IM_GUIActions.openControlInGui,
                               messageGUID = new Guid(),
                               messageText = "KM_OpenControlInGUI",
                               controlType = _controlType,
                               o2DockState = _o2DockState,
                               controlName = _controlName
                           };
     return kmGuiAction;
 }
        public static KM_GUIAction openControlInGui(Type _controlType, O2DockState _o2DockState, string _controlName)
        {
            var kmGuiAction = new KM_GUIAction
            {
                GuiAction   = IM_GUIActions.openControlInGui,
                messageGUID = new Guid(),
                messageText = "KM_OpenControlInGUI",
                controlType = _controlType,
                o2DockState = _o2DockState,
                controlName = _controlName
            };

            return(kmGuiAction);
        }
Esempio n. 12
0
 internal static KM_GUIAction setAscxDockStateAndOpenIfNotAvailable(string typeOfControl, O2DockState _o2DockState, string _controlName)
 {
     var kmGuiAction = new KM_GUIAction
                           {
                               GuiAction = IM_GUIActions.setAscxDockStateAndOpenIfNotAvailable,
                               controlTypeString = typeOfControl,
                               o2DockState = _o2DockState,
                               controlName = _controlName
     };
     return kmGuiAction;  
 }