private void button_Click(object sender, RoutedEventArgs e) { var nanny = new NannyWindow(); Close(); nanny.ShowDialog(); }
private void NannyButton_Click(object sender, RoutedEventArgs e) { Window nannyWindow = new NannyWindow(); nannyWindow.Show(); }
/// <summary> /// Event: when clicking on the button - go to the asked window. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void goToNannyPage(object sender, RoutedEventArgs e) { Window nannyPage = new NannyWindow(); nannyPage.ShowDialog(); }
private void Nanny_Click(object sender, RoutedEventArgs e) { Window Nanny = new NannyWindow(); Nanny.Show(); }