private void Forgot_Click(object sender, MouseButtonEventArgs e) { Close(); var forgotWindow = new ForgotWindow(); forgotWindow.ShowDialog(StaticMainWindow.Window); }