Bloom.Edit.ConfigurationDialog.On_Activated C# (CSharp) Method

On_Activated() private method

private On_Activated ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void On_Activated(object sender, EventArgs e)
        {
            /* The problem this solves is that when you're switching between this dialog and some
             * other application (don't know why, but people did it)... when you come back, the browser would
             * be all confused and sometimes you couldn't type at all.
             * So now, when we come back to Bloom (this activated event), we *deselect* the browser, then reselect it, and it's happy.
             */

            _okButton.Select();
            _browser.Select();
        }