protected override void OnLoad(EventArgs e) { TextBoxAppender.SetTextBox(txtConsole); //HACK to force a write of buffered logs LoggingService.Info("Console Initialized"); base.OnLoad(e); }