📄 openconversationreceivedeventargs.cs
字号:
#region Using Directives
using System;
#endregion
namespace Org.InteliIM.Applications.Messenger.Conversations
{
/// <summary>
/// Provides data for the OpenConversationReceived event.
/// </summary>
public class OpenConversationReceivedEventArgs
: EventArgs
{
/// <summary>
/// Initializes a new instance of the OpenConversationReceivedEventArgs class.
/// </summary>
/// <param name="from"></param>
/// <param name="conversation"></param>
public OpenConversationReceivedEventArgs(string from, Conversation conversation)
{
this.From = from;
this.Conversation = conversation;
}
private string from;
/// <summary>
/// Gets or sets the sender.
/// </summary>
public string From
{
get
{
if (this.from == null)
this.from = "";
return this.from;
}
set
{
this.from = value;
}
}
private Conversation conversation;
/// <summary>
/// Gets or sets the conversation object.
/// </summary>
public Conversation Conversation
{
get
{
if (this.conversation == null)
this.conversation = new Conversation();
return this.conversation;
}
set
{
this.conversation = value;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -