From b802ec252a6c1f9c1ac593842f793e520673dc2c Mon Sep 17 00:00:00 2001 From: ww-rm Date: Sun, 20 Apr 2025 13:20:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E6=88=90=E5=B1=9E=E6=80=A7=E6=9A=B4?= =?UTF-8?q?=E9=9C=B2=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SpineViewer/Controls/SkelFileListBox.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SpineViewer/Controls/SkelFileListBox.cs b/SpineViewer/Controls/SkelFileListBox.cs index ed41523..a5a1f14 100644 --- a/SpineViewer/Controls/SkelFileListBox.cs +++ b/SpineViewer/Controls/SkelFileListBox.cs @@ -17,13 +17,14 @@ namespace SpineViewer.Controls public SkelFileListBox() { InitializeComponent(); - Items = listBox.Items; } /// /// ListBox.Items /// - public readonly ListBox.ObjectCollection Items; + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] + [Browsable(false)] + public ListBox.ObjectCollection Items { get => listBox.Items; } /// /// 从路径列表添加