// Button is used to open the Forgot Credentials window private void Button_ForgetPassword_Click(object sender, RoutedEventArgs e) { ForgotCredentials forgetpassword = new ForgotCredentials(this); forgetpassword.Visibility = System.Windows.Visibility.Visible; this.Visibility = System.Windows.Visibility.Hidden; }
// This button is used to open the Forgot Credentials window private void Button_Forgot_Click(object sender, RoutedEventArgs e) { ForgotCredentials forgot = new ForgotCredentials(this); forgot.Show(); }