ProjectControls.xaml.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. using CollaborativePlatformProject.CollaborationPlatform.Entity;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Collections.ObjectModel;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using System.Windows;
  9. using System.Windows.Controls;
  10. using System.Windows.Data;
  11. using System.Windows.Documents;
  12. using System.Windows.Input;
  13. using System.Windows.Media;
  14. using System.Windows.Media.Imaging;
  15. using System.Windows.Navigation;
  16. using System.Windows.Shapes;
  17. namespace CollaborativePlatformProject.FormLibrary.Project
  18. {
  19. /// <summary>
  20. /// ProjectControls.xaml 的交互逻辑
  21. /// </summary>
  22. public partial class ProjectControls : UserControl
  23. {
  24. public string pro_Name;
  25. /// <summary>
  26. /// 树状图数据
  27. /// </summary>
  28. public ObservableCollection<TreeViewBind> TreeViewDatas;
  29. public ProjectControls(ObservableCollection<TreeViewBind> treeViewDatas)
  30. {
  31. InitializeComponent();
  32. TreeViewDatas = treeViewDatas;
  33. this.tv_building.ItemsSource = TreeViewDatas;
  34. }
  35. }
  36. }