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

MainControlView.xaml.cs 987 B

преди 2 години
преди 2 години
преди 2 години
преди 2 години
преди 2 години
преди 2 години
преди 2 години
преди 2 години
12345678910111213141516171819202122232425262728293031323334353637
  1. using BPASmartClient.MilkWithTea.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.MilkWithTea.View
  17. {
  18. /// <summary>
  19. /// MainControlView.xaml 的交互逻辑
  20. /// </summary>
  21. public partial class MainControlView : UserControl
  22. {
  23. public MainControlView()
  24. {
  25. InitializeComponent();
  26. }
  27. private void ListBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
  28. {
  29. if((sender as ListBox).SelectedItem is LocalRecipe config)
  30. {
  31. recipeList.ItemsSource = config.localMaterails;
  32. }
  33. }
  34. }
  35. }