终端一体化运控平台
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

RecipeControlView.xaml.cs 1.2 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. }