📄 buddyiconeventargs.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
namespace GPCore.Args
{
/// <summary>
/// This is an event args class for when you recieve a buddy icon.
/// </summary>
public class BuddyIconEventArgs : EventArgs
{
private Image img;
/// <summary>
/// The Buddy Icon.
/// </summary>
public Image Icon
{
get { return img; }
}
private string bud;
/// <summary>
/// The Username of the buddy who owns this icon.
/// </summary>
public string Username
{
get { return bud; }
}
/// <summary>
/// Creates a new ImageEventArgs.
/// </summary>
/// <param name="img">The image to send through this event.</param>
/// <param name="username">The username associated with this BuddyIcon</param>
public BuddyIconEventArgs(Image img, string username)
{
this.img = img;
this.bud = username;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -