protected override void OnShown(EventArgs e) { Log.Debug(); base.OnShown(e); User32Interop.SetForegroundWindow(this.Handle); if (_talkWindowTextBox != null) { ActiveControl = _talkWindowTextBox; _talkWindowTextBox.Select(); } }