Beispiel #1
0
        private void lblForgot_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            pnlRoot.IsEnabled = false;

            InstanceUserService(true);

            try
            {
                var recover = new ForgotPasswordWindow(_userService);
                recover.ShowDialog();
            }
            catch
            {
                MessageBox.Show("Falha inesperada, por favor contate um administrador de sistema", "Atenção", MessageBoxButton.OK, MessageBoxImage.Warning);
            }
            pnlRoot.IsEnabled = true;
        }
		private void hl_forgotPassword_Click(object sender, RoutedEventArgs e)
		{
			ForgotPasswordWindow forgotPass = new ForgotPasswordWindow();
			forgotPass.ShowDialog();
		}