Source/AdvTree/TreeCellEventArgs.cs

(完整代码) 806B

using System;

namespace DevComponents.AdvTree
{
	/// <summary>
	/// Provides data for AdvTree Cell events.
	/// </summary>
	public class AdvTreeCellEventArgs:EventArgs
	{
		/// <summary>
		/// Default constructor for event data.
		/// </summary>
		/// <param name="action">Type of the action event is raised for.</param>
		/// <param name="cell">Cell that event is raised for.</param>
		public AdvTreeCellEventArgs(eTreeAction action, Cell cell)
		{
			this.Action=action;
			this.Cell=cell;
		}

		/// <summary>
		/// Indicates the type of the action performed on a cell.
		/// </summary>
		public eTreeAction Action=eTreeAction.Code;
		/// <summary>
		/// Indicates the cell that action is performed on.
		/// </summary>
		public DevComponents.AdvTree.Cell Cell=null;
	}
}

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

AI 解读 AI

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

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