Click here to Skip to main content
15,895,777 members
Articles / Desktop Programming / Windows Forms

Numbering lines of RichTextBox in .NET 2.0

Rate me:
Please Sign up or sign in to vote.
4.67/5 (43 votes)
3 Nov 20053 min read 286.4K   12.2K   104  
The standard RichTextBox does not allow numbering of lines. This user control does.
//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50215.44
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------

[assembly: global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "NumberedTextBox.Properties.Settings.get_Default():NumberedTextBox.Properties.Settings")]

namespace NumberedTextBox.Properties
{


    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
    {

        private static Settings defaultInstance = new Settings();

        public static Settings Default
        {
            get
            {
                return defaultInstance;
            }
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Czech Republic Czech Republic
Petr Minarik is currently studying at Czech Technical University Prague. He is interested in C# programming, Direct3D and graphics generally and he develops his own realtime 3D scene editor. He likes fun, beer and good people.

You can visit him at his homepage.

Comments and Discussions