private void Row_Click(object sender, MouseButtonEventArgs e) { Nanny nanny = (Nanny)Grouping.SelectedItem; NannyDetails nannyWindow = new NannyDetails(bl, nanny); nannyWindow.Topmost = true; nannyWindow.Show(); }
private void NannyWindows(object sender, RoutedEventArgs e) { NannyDetails NannyDetail = new NannyDetails(); NannyDetail.ShowDialog(); }