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

📄 openconversationreceivedeventargs.cs

📁 该源代码用 C# 写成
💻 CS
字号:
using System;

namespace Org.InteliIM.Activities.Conversations
{
	/// <summary>
	/// 为 OpenConversationReceived 事件提供数据
	/// </summary>
	public class OpenConversationReceivedEventArgs
		: EventArgs
	{
		private string from;

		/// <summary>
		/// 发送者用户名
		/// </summary>
		public string From
		{
			get
			{
				return this.from;
			}
			set
			{
				this.from = value;
			}
		}

		private Conversation conversation;

		/// <summary>
		/// 相关联的谈话对象编号
		/// </summary>
		public Conversation Conversation
		{
			get
			{
				return this.conversation;
			}
			set
			{
				this.conversation = value;
			}
		}

		/// <summary>
		/// 构造函数
		/// </summary>
		/// <param name="from"></param>
		/// <param name="conversation"></param>
		public OpenConversationReceivedEventArgs(string from, Conversation conversation)
		{
			this.From = from;
			this.Conversation = conversation;
		}
	}
}

⌨️ 快捷键说明

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