/// <summary> /// open the next window (adding mother window) /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Click_addMother(object sender, RoutedEventArgs e) { Window nextWindow = new AddMotherWindow(); this.Close(); nextWindow.ShowDialog(); }
private void Button_Click_AddMother(object sender, RoutedEventArgs e) { AddMotherWindow addmotherwindow = new AddMotherWindow(); addmotherwindow.ShowDialog(); }