newchatargs.cs
来自「Gibphone is CSharp Program, it can tell 」· CS 代码 · 共 41 行
CS
41 行
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 + =
减小字号Ctrl + -
显示快捷键?