public ResetWithQuestionDialog(string url, string application, string user)
        {
            InitializeComponent();

            m_Url                  = url;
            m_Application          = application;
            m_UserNameTextBox.Text = user;

            m_PasswordManager = UserManagerProviderFactory.CreatePasswordManager(); // new AspNetSqlProviderService(m_Url);
            m_PasswordQuestionTextBox.Text = m_PasswordManager.GetPasswordQuestion(application, user);
        }
        public ResetWithQuestionDialog(string url,string application,string user)
        {
            InitializeComponent();

             m_Url = url;
             m_Application = application;
             m_UserNameTextBox.Text = user;

             m_PasswordManager = UserManagerProviderFactory.CreatePasswordManager(); // new AspNetSqlProviderService(m_Url);
             m_PasswordQuestionTextBox.Text = m_PasswordManager.GetPasswordQuestion(application,user);
        }
        public ChangePasswordDialog(string url, string application, string user)
        {
            InitializeComponent();

            m_Url                  = url;
            m_Application          = application;
            m_UserNameTextBox.Text = user;

            m_PasswordManager = UserManagerProviderFactory.CreatePasswordManager(); // new AspNetSqlProviderService(m_Url);
            m_PasswordQuestionTextBox.Text = m_PasswordManager.GetPasswordQuestion(application, user);

            m_PasswordAnswerTextBox.Enabled = m_PasswordManager.RequiresQuestionAndAnswer(application);
        }