private void newMenu_Click(object sender, RoutedEventArgs e) { MenuMaker menuMaker = FindResource("menuMaker") as MenuMaker; menuMaker.UpdateMenu(); }
private void newMenu_Click(object sender, RoutedEventArgs e) { menuMaker.UpdateMenu(); }