public void AddMessage(string type, string message) { OutputPanel outputPanel = (OutputPanel)mMainWindow.GetToolWindow(typeof(OutputPanel)); outputPanel.Invoke(new MethodInvoker(delegate() { outputPanel.AddMessage(type, message); })); }
public void ShowMessages(string type) { OutputPanel outputPanel = (OutputPanel)mMainWindow.GetToolWindow(typeof(OutputPanel)); outputPanel.Invoke(new MethodInvoker(delegate() { outputPanel.ShowLog(type); outputPanel.Show(mMainWindow.DockPanel); })); }