⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clines.cs

📁 苏金明编写的《用VB.NET和VC#.NET开发交互式CAD系统》一书的源代码
💻 CS
字号:
using System;

namespace foreach2
{
	/// <summary>
	/// CLines 的摘要说明。
	/// </summary>
	public class CLines:System.Collections.DictionaryBase
	{
        
		public CLines()
		{
		}
		
		public void Add(CLine aLine)
		{
			this.Dictionary.Add(aLine.ID, aLine);
		}

		public void Remove(int aID)
		{
			this.Dictionary.Remove(aID);
		}

		public CLine this[int aID]
		{
			get
			{
				if (this.Dictionary.Contains(aID))
				{
					return checked((CLine)((this.Dictionary[aID])));
				}
				else
				{
					return null;
				}
			}
		}


	}
}

⌨️ 快捷键说明

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