加几个控件

This commit is contained in:
2026-03-26 20:13:29 +08:00
parent 2c2f93c982
commit 2c2ee0f1de
8 changed files with 427 additions and 4 deletions

18
Gui/UILib/TreeNode.cs Normal file
View File

@@ -0,0 +1,18 @@
using System.Collections.Generic;
namespace CMLeonOS.Gui.UILib
{
internal class TreeNode
{
internal TreeNode(string text, object tag = null)
{
Text = text;
Tag = tag;
}
internal string Text { get; set; }
internal object Tag { get; set; }
internal bool Expanded { get; set; } = false;
internal List<TreeNode> Children { get; } = new List<TreeNode>();
}
}