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

RecipeControlView.xaml.cs 1.6 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. using BPASmartClient.DosingHKProject.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.DosingHKProject.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. }