private void AppendTrace(string message) { TraceTextBox.AppendText(message + Environment.NewLine); TraceTextBox.ScrollToEnd(); }
/// <summary> /// Logs the specified message. Called by the CallbackLogger. /// </summary> /// <param name="message">The message.</param> /// <param name="category">The category.</param> public void Log(string message, Category category) { TraceTextBox.AppendText(string.Format(CultureInfo.CurrentUICulture, "[{0}] {1}\r\n", category, message)); }