Обновление до .NET 9
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using Pf2eViewer.EntityTreeViewer;
|
||||
|
||||
namespace Pf2eViewer.EntityTreeViewer;
|
||||
@@ -11,6 +12,7 @@ public sealed partial class EntityTreeViewerControl : UserControl
|
||||
|
||||
private int _depthSize = 20;
|
||||
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
|
||||
public int ItemHeight
|
||||
{
|
||||
get => _itemHeight;
|
||||
@@ -21,6 +23,7 @@ public sealed partial class EntityTreeViewerControl : UserControl
|
||||
}
|
||||
}
|
||||
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
|
||||
public EntityView? EntityView
|
||||
{
|
||||
get => _entityView;
|
||||
@@ -31,6 +34,7 @@ public sealed partial class EntityTreeViewerControl : UserControl
|
||||
}
|
||||
}
|
||||
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
|
||||
public int DepthSize
|
||||
{
|
||||
get => _depthSize;
|
||||
@@ -41,6 +45,7 @@ public sealed partial class EntityTreeViewerControl : UserControl
|
||||
}
|
||||
}
|
||||
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
||||
public int NameWidth { get; private set; } = 200;
|
||||
|
||||
private readonly List<StructureField> _rows = [];
|
||||
|
||||
Reference in New Issue
Block a user