终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

45 regels
1.2 KiB

  1. using BPASmartClient.FoodStationTest.ViewModel;
  2. using System.Windows;
  3. using System.Windows.Controls;
  4. namespace BPASmartClient.FoodStationTest.View
  5. {
  6. /// <summary>
  7. /// RecipeControlView.xaml 的交互逻辑
  8. /// </summary>
  9. public partial class RecipeControlView : UserControl
  10. {
  11. public RecipeControlView()
  12. {
  13. InitializeComponent();
  14. RadioButtonWait_Click(null, null);
  15. }
  16. private void RadioButtonCompelete_Click(object sender, RoutedEventArgs e)
  17. {
  18. repiceList.ItemsSource = RecipeControlViewModel.UserTreeCompelete;
  19. repiceList.Visibility = Visibility.Visible;
  20. repiceListMaking.Visibility = Visibility.Hidden;
  21. }
  22. private void RadioButtonWait_Click(object sender, RoutedEventArgs e)
  23. {
  24. repiceList.ItemsSource = RecipeControlViewModel.UserTreeWait;
  25. repiceList.Visibility = Visibility.Visible;
  26. repiceListMaking.Visibility = Visibility.Hidden;
  27. }
  28. private void RadioButtonMaking_Click(object sender, RoutedEventArgs e)
  29. {
  30. repiceListMaking.Visibility = Visibility.Visible;
  31. repiceList.Visibility = Visibility.Hidden;
  32. }
  33. }
  34. }