Ejemplo n.º 1
0
        private void btn_Nagyitas_Click(object sender, RoutedEventArgs e)
        {
            if (dataGrid.SelectedIndex == -1)
            {
                System.Windows.MessageBox.Show("Nagyító: Nincs recept kiválasztva.");
                return;
            }

            string recipeId = recipeIds[dataGrid.SelectedIndex];
            FullScreenFoodDetails w = new FullScreenFoodDetails(recipeId);
            w.Show();
        }
Ejemplo n.º 2
0
        private void btn_Magnifying_Click(object sender, RoutedEventArgs e)
        {
            if (dataGrid.SelectedIndex == -1)
            {
                System.Windows.MessageBox.Show(LanguageManager.TranslateFromDictionary("133"));
                return;
            }

            string recipeId = recipeIds[dataGrid.SelectedIndex];
            FullScreenFoodDetails w = new FullScreenFoodDetails(recipeId);
            w.Show();
        }
 private void btn_Magnifying_Click(object sender, RoutedEventArgs e)
 {
     string recipeId = recipeIds[currentRecipeIndex];
     FullScreenFoodDetails w = new FullScreenFoodDetails(recipeId);
     w.Show();
 }