📄 newchatargs.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
namespace GPCore.Args
{
/// <summary>
/// An EventArgs for when a new chatroom is created.
/// </summary>
public class NewChatArgs : EventArgs
{
private int chatid;
/// <summary>
/// The uniqueID of the chat.
/// </summary>
public int ChatID
{
get { return chatid; }
}
private string name;
/// <summary>
/// The Name of the new chatroom.
/// </summary>
public string Name
{
get { return name; }
}
/// <summary>
/// Creates a new NewChatArgs
/// </summary>
/// <param name="chatid">The unique ID of the chat.</param>
/// <param name="name">The name of the chatroom.</param>
public NewChatArgs(int chatid, string name)
{
this.chatid = chatid;
this.name = name;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -