alertreceivedeventargs.cs
来自「这个版本(InteliIM Open Kernel Release 2)是目前最」· CS 代码 · 共 60 行
CS
60 行
#region Using Directives
using System;
#endregion
namespace Org.InteliIM.Applications.Messenger.Alert
{
/// <summary>
/// Provides data for the AlertReceived event.
/// </summary>
public class AlertReceivedEventArgs : EventArgs
{
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 Alert alert;
/// <summary>
/// Gets or sets the alert.
/// </summary>
public Alert Alert
{
get
{
return this.alert;
}
set
{
this.alert = value;
}
}
/// <summary>
/// Initializes a new instance of the AlertReceivedEventArgs class.
/// </summary>
public AlertReceivedEventArgs(string from, Alert alert)
{
this.From = from;
this.Alert = alert;
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?