终端一体化运控平台
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

57 řádky
1.6 KiB

  1. using BPASmartClient.JXJFoodSmallStation.ViewModel;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using System.Windows;
  8. using System.Windows.Controls;
  9. using System.Windows.Data;
  10. using System.Windows.Documents;
  11. using System.Windows.Input;
  12. using System.Windows.Media;
  13. using System.Windows.Media.Imaging;
  14. using System.Windows.Navigation;
  15. using System.Windows.Shapes;
  16. namespace BPASmartClient.JXJFoodSmallStation.View
  17. {
  18. /// <summary>
  19. /// RecipeControlView.xaml 的交互逻辑
  20. /// </summary>
  21. public partial class RecipeControlView : UserControl
  22. {
  23. public RecipeControlView()
  24. {
  25. InitializeComponent();
  26. RadioButtonWait_Click(null,null);
  27. }
  28. private void RadioButtonCompelete_Click(object sender, RoutedEventArgs e)
  29. {
  30. repiceList.ItemsSource = RecipeControlViewModel.UserTreeCompelete;
  31. repiceList.Visibility = Visibility.Visible;
  32. repiceListMaking.Visibility = Visibility.Hidden;
  33. }
  34. private void RadioButtonWait_Click(object sender, RoutedEventArgs e)
  35. {
  36. repiceList.ItemsSource = RecipeControlViewModel.UserTreeWait;
  37. repiceList.Visibility = Visibility.Visible;
  38. repiceListMaking.Visibility = Visibility.Hidden;
  39. }
  40. private void RadioButtonMaking_Click(object sender, RoutedEventArgs e)
  41. {
  42. repiceListMaking.Visibility = Visibility.Visible;
  43. repiceList.Visibility = Visibility.Hidden;
  44. }
  45. }
  46. }