private void passwordButton_Click(object sender, RoutedEventArgs e) { ChangePasswordWindow window = new ChangePasswordWindow(); window.Show(); }
/// <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(ChangePasswordWindow window) { this.parentWindow = window; }