private void editSelectedRecipe(object sender, RoutedEventArgs e) { recipes.setEditing(true); Frame.Navigate((typeof(RecipeForm)), recipes); }