protected override void OnLoad(System.EventArgs args)
        {
            base.OnLoad(args);

            if (!base.DesignMode)
            {
                this.MinimizeBox   = true;
                this.MaximizeBox   = false;
                this.ShowInTaskbar = true;
                GlobalWindowManager.HideAllWindows();

                this.AcceptButton = this.buttonOK;
                this.CancelButton = this.buttonCancel;

                this.textLoginName.ReadOnly    = true;
                this.textLoginName.Text        = Account.CurrentAccount.UserName;
                this.textPassword.PasswordChar = '*';
                this.textPassword.Focus( );

                this.Icon                = WindowsUtils.DefaultAppIcon;
                this.Text                = SafePassResource.LockedWindowCaption;
                this.buttonOK.Text       = SafePassResource.ButtonOK;
                this.buttonCancel.Text   = SafePassResource.ButtonExitApp;
                this.groupOptions.Text   = SafePassResource.LoginWindowOptions;
                this.labelLoginName.Text = SafePassResource.LoginWindowUserName;
                this.labelPassword.Text  = SafePassResource.LoginWindowPassword;
            }
        }