Ejemplo n.º 1
0
        public void runCommands(string[] commands, string[] errDsp)
        {
            IBMi.runCommands(commands);
            if (Main.commandWindow != null)
            {
                Main.commandWindow.loadNewCommands();
            }

            if (errDsp != null)
            {
                ErrorHandle.getErrors(errDsp[0], errDsp[1]);
                if (Main.errorWindow != null)
                {
                    Main.errorWindow.publishErrors();
                    Win32.SendMessage(PluginBase.nppData._nppHandle, NppMsg.NPPM_DMMSHOW, 0, Main.errorWindow.Handle);
                }
            }
        }