/// <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; }
public void ShowLoginForm() { LoginRegistrationWindow loginWindow = new LoginRegistrationWindow(); loginWindow.Show(); }