ProjectForm.xaml.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. using CollaborativePlatformMain.DFEntity;
  2. using CollaborativePlatformMain.Form.UserControlForm;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Collections.ObjectModel;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows;
  10. using System.Windows.Controls;
  11. using System.Windows.Data;
  12. using System.Windows.Documents;
  13. using System.Windows.Input;
  14. using System.Windows.Media;
  15. using System.Windows.Media.Imaging;
  16. using System.Windows.Shapes;
  17. namespace CollaborativePlatformMain.Form
  18. {
  19. /// <summary>
  20. /// ProjectForm.xaml 的交互逻辑
  21. /// </summary>
  22. public partial class ProjectForm : Window
  23. {
  24. public ObservableCollection<TreeViewBind> TreeViewDatas;
  25. private HomepageForm HomepageForm;
  26. public ProjectForm(HomepageForm homepageForm, ObservableCollection<TreeViewBind> treeViewDatas)
  27. {
  28. InitializeComponent();
  29. TreeViewDatas = treeViewDatas;
  30. HomepageForm = homepageForm;
  31. sp_pro.Children.Add(new ProjectControls(treeViewDatas));
  32. }
  33. private void ProjectForm_OnClosed(object sender, EventArgs e)
  34. {
  35. }
  36. }
  37. }