📄 broadcastreceivedeventargs.cs
字号:
namespace Org.InteliIM.Applications.Messenger.LeaveWord
{
/// <summary>
/// Provides data for the BroadcastReceived event.
/// </summary>
public class BroadcastReceivedEventArgs
{
/// <summary>
/// Initializes a new instance of the BroadcastReceivedEventArgs class.
/// </summary>
/// <param name="from">sender</param>
/// <param name="subject">subject</param>
/// <param name="content">content</param>
public BroadcastReceivedEventArgs
(string from, string subject, string content)
{
this.From = from;
this.Subject = subject;
this.Content = content;
}
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 string subject;
/// <summary>
/// Gets or sets the subject.
/// </summary>
public string Subject
{
get
{
if (this.subject == null)
this.subject = "";
return this.subject;
}
set
{
this.subject = value;
}
}
private string content;
/// <summary>
/// Gets or sets the content.
/// </summary>
public string Content
{
get
{
if (this.content == null)
this.content = "";
return this.content;
}
set
{
this.content = value;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -