ProjectInfoPage.xaml.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. using CollaborativePlatformMain.DFEntity.MessageSubUtil;
  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.Shapes;
  15. namespace CollaborativePlatformMain.Form.MessageSubPage.Project
  16. {
  17. /// <summary>
  18. /// ProjectInfoPage.xaml 的交互逻辑
  19. /// </summary>
  20. public partial class ProjectInfoPage : Page
  21. {
  22. public ProjectEntity ProjectEntity;
  23. public ProjectInfoPage(ProjectEntity projectEntity)
  24. {
  25. InitializeComponent();
  26. ProjectEntity = projectEntity;
  27. }
  28. /// <summary>
  29. /// 窗体初始化
  30. /// </summary>
  31. /// <param name="sender"></param>
  32. /// <param name="e"></param>
  33. private void Page_Loaded(object sender, RoutedEventArgs e)
  34. {
  35. tb_name.Text = ProjectEntity.ProjectName;
  36. tb_Business.Text = ProjectEntity.BusinessName;
  37. tb_path.Text = ProjectEntity.ProjectPath;
  38. }
  39. /// <summary>
  40. /// 项目名称修改
  41. /// </summary>
  42. /// <param name="sender"></param>
  43. /// <param name="e"></param>
  44. private void bt_name_Click(object sender, RoutedEventArgs e)
  45. {
  46. }
  47. /// <summary>
  48. /// 项目业态修改
  49. /// </summary>
  50. /// <param name="sender"></param>
  51. /// <param name="e"></param>
  52. private void bt_Business_Click(object sender, RoutedEventArgs e)
  53. {
  54. }
  55. /// <summary>
  56. /// 项目地址修改
  57. /// </summary>
  58. /// <param name="sender"></param>
  59. /// <param name="e"></param>
  60. private void bt_path_Click(object sender, RoutedEventArgs e)
  61. {
  62. }
  63. }
  64. }