⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stringeventhandler.cs

📁 WJ Communications RFID example code
💻 CS
字号:
using System;

namespace WJ.Util
{
	/// <summary>
	/// For events that pass strings
	/// </summary>
	public delegate void StringEventHandler(object sender, StringEventArgs se);

	/// <summary>
	/// Arguments to Status Events (ie Events that require a string as an argument)
	/// </summary>
	public class StringEventArgs : EventArgs
	{
		/// <summary>
		/// Construct a StatusEventArgs with the given string as its argument.
		/// </summary>
		/// <param name="status">The string argument.</param>
		public StringEventArgs (string status)
		{
			this.message = status;
		}

		private string message;

		/// <summary>
		/// The Tag argument of the event.
		/// </summary>
		public string Message { get { return message; } }
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -