📄 chateditdropeventargs.cs
字号:
namespace Imps.Client.Pc.BizControls
{
using Imps.Client.Core;
using System;
public class ChatEditDropEventArgs : EventArgs
{
private Imps.Client.Core.Contact _contact;
private ChatEditDropType _eventType;
private string[] _files;
private string _text;
public ChatEditDropEventArgs(string[] files)
{
this._files = files;
this._eventType = ChatEditDropType.FILE;
}
public ChatEditDropEventArgs(Imps.Client.Core.Contact contact)
{
this._contact = contact;
this._eventType = ChatEditDropType.Contact;
}
public ChatEditDropEventArgs(string text)
{
this._text = text;
this._eventType = ChatEditDropType.TEXT;
}
public Imps.Client.Core.Contact Contact
{
get
{
return this._contact;
}
}
public ChatEditDropType EventType
{
get
{
return this._eventType;
}
}
public string[] Files
{
get
{
return this._files;
}
}
public string Text
{
get
{
return this._text;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -