OnWindowlessGotFocus() protected method

protected OnWindowlessGotFocus ( WindowlessControlHost sender, EventArgs e ) : void
sender WindowlessControlHost
e System.EventArgs
return void
Exemplo n.º 1
0
        protected override void OnGotFocus(EventArgs e)
        {
            WindowlessControlHost host = this;

            while (host != null)
            {
                host.OnWindowlessGotFocus(this, e);
                host = host.Parent as WindowlessControlHost;
            }

            base.OnGotFocus(e);
        }