Пример #1
0
        public void AddMessage(string type, string message)
        {
            OutputPanel outputPanel = (OutputPanel)mMainWindow.GetToolWindow(typeof(OutputPanel));

            outputPanel.Invoke(new MethodInvoker(delegate() { outputPanel.AddMessage(type, message); }));
        }
Пример #2
0
        public void ShowMessages(string type)
        {
            OutputPanel outputPanel = (OutputPanel)mMainWindow.GetToolWindow(typeof(OutputPanel));

            outputPanel.Invoke(new MethodInvoker(delegate() { outputPanel.ShowLog(type); outputPanel.Show(mMainWindow.DockPanel); }));
        }