终端一体化运控平台
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.
 
 
 

51 rivejä
1.9 KiB

  1. using BPASmartClient.Academy.ViewModel;
  2. using System.Windows;
  3. using System.Windows.Controls;
  4. namespace BPASmartClient.Academy.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. //this.Wait.ItemsSource = ExcuteControl.GetInstance.UserTreeCompelete;
  22. CookingGrid.Visibility = Visibility.Collapsed;
  23. WaitOrCompleteGrid.Visibility = Visibility.Visible;
  24. this.Wait.Visibility = Visibility.Visible;
  25. }
  26. private void RadioButtonWait_Click(object sender, RoutedEventArgs e)
  27. {
  28. //repiceList.ItemsSource = RecipeControlViewModel.UserTreeWait;
  29. //repiceList.Visibility = Visibility.Visible;
  30. //repiceListMaking.Visibility = Visibility.Hidden;
  31. //this.Wait.ItemsSource = ExcuteControl.GetInstance.UserTreeWait;
  32. CookingGrid.Visibility = Visibility.Collapsed;
  33. WaitOrCompleteGrid.Visibility = Visibility.Visible;
  34. this.Wait.Visibility = Visibility.Visible;
  35. }
  36. private void RadioButtonMaking_Click(object sender, RoutedEventArgs e)
  37. {
  38. //repiceListMaking.Visibility = Visibility.Visible;
  39. //repiceList.Visibility = Visibility.Hidden;
  40. WaitOrCompleteGrid.Visibility = Visibility.Collapsed;
  41. this.Wait.Visibility = Visibility.Collapsed;
  42. CookingGrid.Visibility = Visibility.Visible;
  43. }
  44. }
  45. }