/// <summary> /// Display register window. /// </summary> /// <param name="sender">send.</param> /// <param name="e">e.</param> private void Button_Click_1(object sender, RoutedEventArgs e) { RegisterWindow regWindow = new RegisterWindow(); regWindow.Show(); this.Close(); }
private void Register_Click(object sender, RoutedEventArgs e) //Register button was clicked { RegisterWindow reg = new RegisterWindow(vm); reg.Show(); this.Close(); }
public void Register() { var reg = new RegisterWindow(Controller); reg.ShowDialog(); }