alert.cs

来自「这个版本(InteliIM Open Kernel Release 2)是目前最」· CS 代码 · 共 50 行

CS
50
字号
#region Using Directives

using System;
using Org.InteliIM.Applications.Messenger.Conversations;

#endregion

namespace Org.InteliIM.Applications.Messenger.Alert
{
	/// <summary>
	/// Represents an alert message.
	/// </summary>
	public class Alert
	{
		private string comment;

		/// <summary>
		/// Gets or sets the comment.
		/// </summary>
		public string Comment
		{
			get
			{
				if (this.comment == null)
					this.comment = "";

				return this.comment;
			}
			set 
			{
				this.comment = value; 
			}
		}

		/// <summary>
		/// Initializes a new instance of the Alert class.
		/// </summary>
		public Alert() : this("")
		{
		}

		/// <summary>
		/// Initializes a new instance of the Alert class.
		/// </summary>
		public Alert(string comment)
		{
			this.Comment = comment;
		}
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?