Microsoft.Identity.Client.WindowsFormsWebAuthenticationDialog.FormShownHandler C# (CSharp) Method

FormShownHandler() private method

private FormShownHandler ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void FormShownHandler(object sender, EventArgs e)
        {
            // If we don't have an owner we need to make sure that the pop up browser 
            // window is on top of other windows.  Activating the window will accomplish this.
            if (null == this.Owner)
            {
                this.Activate();
            }
        }