|
1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- using BPASmartClient.FoodStationTest.ViewModel;
- using System.Windows;
- using System.Windows.Controls;
-
- namespace BPASmartClient.FoodStationTest.View
- {
- /// <summary>
- /// RecipeControlView.xaml 的交互逻辑
- /// </summary>
- public partial class RecipeControlView : UserControl
- {
- public RecipeControlView()
- {
- InitializeComponent();
- RadioButtonWait_Click(null, null);
- }
-
-
-
-
- private void RadioButtonCompelete_Click(object sender, RoutedEventArgs e)
- {
- repiceList.ItemsSource = RecipeControlViewModel.UserTreeCompelete;
- repiceList.Visibility = Visibility.Visible;
- repiceListMaking.Visibility = Visibility.Hidden;
-
-
- }
-
- private void RadioButtonWait_Click(object sender, RoutedEventArgs e)
- {
- repiceList.ItemsSource = RecipeControlViewModel.UserTreeWait;
- repiceList.Visibility = Visibility.Visible;
- repiceListMaking.Visibility = Visibility.Hidden;
- }
-
- private void RadioButtonMaking_Click(object sender, RoutedEventArgs e)
- {
- repiceListMaking.Visibility = Visibility.Visible;
- repiceList.Visibility = Visibility.Hidden;
-
- }
- }
- }
|