Source/AdvTree/CommandButtonEventArgs.cs

(完整代码) 755B

using System;

namespace DevComponents.AdvTree
{
	/// <summary>
	/// Provides event arguments for command button events.
	/// </summary>
	public class CommandButtonEventArgs:EventArgs
	{
		/// <summary>
		/// Default constructor.
		/// </summary>
		/// <param name="action">Action type.</param>
		/// <param name="node">Context node.</param>
		public CommandButtonEventArgs(eTreeAction action, Node node)
		{
			this.Action=action;
			this.Node=node;
		}
		
		/// <summary>
		/// Indicates the action type that caused the event.
		/// </summary>
		public eTreeAction Action=eTreeAction.Code;
		/// <summary>
		/// Indicates the node action is peformed on.
		/// </summary>
		public DevComponents.AdvTree.Node Node=null;
	}
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。