ACAT.Lib.Core.TalkWindowManagement.TalkWindowBase.OnShown C# (CSharp) Method

OnShown() protected method

Called when the window is shown
protected OnShown ( EventArgs e ) : void
e EventArgs event arg
return void
        protected override void OnShown(EventArgs e)
        {
            Log.Debug();

            base.OnShown(e);
            User32Interop.SetForegroundWindow(this.Handle);

            if (_talkWindowTextBox != null)
            {
                ActiveControl = _talkWindowTextBox;
                _talkWindowTextBox.Select();
            }
        }