downloadresponsereceivedeventargs.cs
来自「这个版本(InteliIM Open Kernel Release 2)是目前最」· CS 代码 · 共 81 行
CS
81 行
using System;
namespace Org.InteliIM.Applications.Messenger.FileSharing
{
/// <summary>
/// Provides data for the
/// DownloadResponseReceived event.
/// </summary>
public class DownloadResponseReceivedEventArgs
: EventArgs
{
/// <summary>
/// Initializes a new instance of the
/// DownloadResponseReceivedEventArgs class.
/// </summary>
public DownloadResponseReceivedEventArgs(
string from, Asset asset, bool ok)
{
this.From = from;
this.Asset = asset;
this.Ok = ok;
}
private string from;
/// <summary>
/// Gets or sets the sender.
/// </summary>
public string From
{
get
{
if (this.from == null)
this.from = "";
return from;
}
set
{
from = value;
}
}
private Asset asset;
/// <summary>
/// Gets or sets the asset.
/// </summary>
public Asset Asset
{
get
{
if (this.asset == null)
this.asset = new Asset();
return this.asset;
}
set
{
this.asset = value;
}
}
private bool ok = false;
/// <summary>
/// Gets or sets a value indicating whether ok or not.
/// </summary>
public bool Ok
{
get
{
return this.ok;
}
set
{
this.ok = value;
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?