ProjectControls.xaml.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. using CollaborativePlatformMain.DFEntity;
  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.Shapes;
  16. namespace CollaborativePlatformMain.Form.UserControlForm
  17. {
  18. /// <summary>
  19. /// ProjectControls.xaml 的交互逻辑
  20. /// </summary>
  21. public partial class ProjectControls : UserControl
  22. {
  23. public string pro_Name;
  24. /// <summary>
  25. /// 树状图数据
  26. /// </summary>
  27. public ObservableCollection<TreeViewBind> TreeViewDatas;
  28. public ProjectControls(ObservableCollection<TreeViewBind> treeViewDatas)
  29. {
  30. InitializeComponent();
  31. TreeViewDatas = treeViewDatas;
  32. this.tv_building.ItemsSource = TreeViewDatas;
  33. }
  34. }
  35. }