终端一体化运控平台
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 

45 wiersze
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. }