/// <summary>
        /// Shows the DiagnosticsConsole form.
        /// </summary>
        /// <param name="title">The title of the DiagnosticsConsole.</param>
        public void ShowDiagnosticsConsole(string title)
        {
#if DEBUG
            lock (this)
            {
                DiagnosticsConsole diagnosticsConsole = new DiagnosticsConsole(bufferingTraceListener, title);
                diagnosticsConsole.Run();
            }
#endif
        }
        /// <summary>
        /// Shows the DiagnosticsConsole form.
        /// </summary>
        /// <param name="title">The title of the DiagnosticsConsole.</param>
        public void ShowDiagnosticsConsole(string title)
        {
#if DEBUG
            lock (this)
            {
                DiagnosticsConsole diagnosticsConsole = new DiagnosticsConsole(bufferingTraceListener, title);
                diagnosticsConsole.Run();
            }
#endif
        }