这是一个 C# 的组件,用来在 Richtext 编辑器中显示行号,如下图所示:
from: http://www.codeproject.com/Articles/38858/Line-Numbers-for-RichText-Control-in-C using Microsoft.VisualBasic; using System; using System.Collections; using System.Collections.Generic; using Syst