コード例 #1
0
        private void Meal_Selector_Button_Click(object sender, RoutedEventArgs e)
        {
            //Open Meal Selector on click
            MealSelectorMain mealSelectorMain = new MealSelectorMain();

            this.NavigationService.Navigate(mealSelectorMain);
        }
コード例 #2
0
        private void Meal_Selector_Button_Click(object sender, RoutedEventArgs e)
        {
            MealSelectorMain mealSelectorMain = new MealSelectorMain();

            this.MainProgramArea.Navigate(mealSelectorMain);
            MealSelectorButton.IsEnabled = false;
            menuButtonLogic.EnableOtherButtons("MealSelectorButton");
        }