public DebugForm(TeaseForm teaseForm) { this.teaseForm = teaseForm; InitializeComponent(); var traceListener = new TextBoxTraceListener(tracingTextBox); Trace.Listeners.Add(traceListener); }