public void ErrorsOccurred(params Exception[] exs) { ErrorsDockContent.AddErrors(exs); foreach (Exception ex in exs) { ConsoleDockContent.Write(ex); } }
private void ToolStripConsoleButton_OnClicked(object sender, EventArgs e) { if (ConsoleDockContent.IsHidden) { ConsoleDockContent.Show(MainDockPanel); } else { ConsoleDockContent.Activate(); } }
private void HandleError(Exception ex) { try { if (ErrorsDockContent != null) { ErrorsDockContent.AddErrors(ex); } if (ConsoleDockContent != null) { ConsoleDockContent.Write(ex); } } catch { } }
public void WriteConsole(string text, params object[] args) { ConsoleDockContent.Write(text, args); }