示例#1
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;
 }
示例#2
0
 private void LoginButton_Click(object sender, RoutedEventArgs e)
 {
     LoginRegistrationWindow loginWindow = new LoginRegistrationWindow();
     loginWindow.Show();
 }