Exemple #1
0
 private void ListBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     viewModel.setCurrentRecipe((sender as ListBox).SelectedItem);
 }