Exemple #1
0
        void OnValidPassword()
        {
            // this runs on the network thread

            if (m_PWPrompt == null)
            {
                return;
            }

            m_PWPrompt.PasswordValidationResult(true);

            this.BeginInvoke((MethodInvoker) delegate { this.SetLoginButtonStatus(m_CurrentlySelectedRemoteSystem); });
            this.BeginInvoke((MethodInvoker) delegate { this.SetCurrentHostGridTableStatusCellLoginStatus(); });

            Thread.Sleep(2000);
            ClosePWPrompt();
        }
Exemple #2
0
        void SetPasswordPromptResult(bool result)
        {
            if (result == true) // we are logged in
            {
            }

            if (m_PWPrompt == null)
            {
                return;
            }


            m_PWPrompt.PasswordValidationResult(result);
        }