From c09478fe73685a87de0c48f9b300008f06408dd8 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期三, 20 十一月 2024 15:15:51 +0800 Subject: [PATCH] 核心界面 --- WinFrmUI/Yw.WinFrmUI.Hydro.Core/10-working/05-tree/HydroWorkingTreeViewModel.cs | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/10-working/05-tree/HydroWorkingTreeViewModel.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/10-working/05-tree/HydroWorkingTreeViewModel.cs index b25b2c5..ca32576 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/10-working/05-tree/HydroWorkingTreeViewModel.cs +++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/10-working/05-tree/HydroWorkingTreeViewModel.cs @@ -5,6 +5,25 @@ /// </summary> public class HydroWorkingTreeViewModel { + /// <summary> + /// + /// </summary> + public HydroWorkingTreeViewModel() { } + + /// <summary> + /// + /// </summary> + public HydroWorkingTreeViewModel(HydroWorkingVmo rhs) + { + this.Id = rhs.ID.ToString(); + this.ParentId = string.Empty; + this.Name = rhs.Name; + this.ImageIndex = -1; + this.Checked = false; + this.SortCode = rhs.SortCode; + this.Description = rhs.Description; + this.Vmo = rhs; + } /// <summary> /// Id -- Gitblit v1.9.3