Exemplo n.º 1
0
 private void btnDeleteIngredient_Click(object sender, EventArgs e)
 {
     rsStorage.DeleteIngredient(currentRecipe.Items[lbxIngedients.SelectedIndex].Ingredient);
     currentRecipe.deleteIngredient(currentRecipe.Items[lbxIngedients.SelectedIndex]);
     init();
 }