leavewordreceivedeventargs.cs

来自「该源代码用 C# 写成」· CS 代码 · 共 56 行

CS
56
字号
using System;

namespace Org.InteliIM.Activities.LeaveWord
{
	public class LeaveWordReceivedEventArgs : EventArgs
	{
		public LeaveWordReceivedEventArgs(string from, string to, LeaveWord leaveWord)
		{
			this.From = from;
			this.To = to;
			this.LeaveWord = leaveWord;
		}

		private string from;

		public string From
		{
			get
			{
				return this.from;
			}
			set
			{
				this.from = value;
			}
		}

		private string to;

		public string To
		{
			get
			{
				return this.to;
			}
			set
			{
				this.to = value;
			}
		}

		private LeaveWord leaveWord;

		public LeaveWord LeaveWord
		{
			get
			{
				if (this.leaveWord == null)
					this.leaveWord = new LeaveWord();

				return this.leaveWord;
			}
			set { this.leaveWord = value; }
		}
	}
}

⌨️ 快捷键说明

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