private void LoginButton_Click(object sender, RoutedEventArgs e)
        {
            LoginRegistrationWindow loginWindow = new LoginRegistrationWindow();

            loginWindow.Show();
        }
Exemple #2
0
 /// <summary>
 /// Sets the parent window for the current <see cref="LoginForm"/>.
 /// </summary>
 /// <param name="window">The window to use as the parent.</param>
 public void SetParentWindow(LoginRegistrationWindow window)
 {
     this.parentWindow = window;
 }