mineeventargs.cs
来自「网通网关Cngp」· CS 代码 · 共 31 行
CS
31 行
using System;
using Pierce.AttributeClass;
namespace Cngp
{
/// <summary>
/// MtchangeEventArgs:记录Mt的EventArgs
/// </summary>
public class MtchangeEventArgs:EventArgs
{
/// <summary>
/// Mt的值
/// </summary>
private uint mtcount;
/// <summary>
/// 构造函数,把收到的参数付给类内变量
/// </summary>
/// <param name="mtcount">mt的数量</param>
public MtchangeEventArgs(uint mtcount)
{
this.mtcount=mtcount;
}
/// <summary>
/// 属性,只读,返回Mt的值
/// </summary>
public uint Mtcount
{
get{return mtcount;}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?