mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
Renamed linenum_rtf.cs
This commit is contained in:
parent
7c33fb4372
commit
353951cad7
1 changed files with 6 additions and 10 deletions
|
|
@ -1,19 +1,14 @@
|
|||
using Microsoft.VisualBasic;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Drawing2D;
|
||||
|
||||
using System.Diagnostics;
|
||||
using System.Windows.Forms;
|
||||
|
||||
|
||||
namespace LineNumbers
|
||||
{
|
||||
[System.ComponentModel.DefaultProperty("ParentRichTextBox")]
|
||||
public class LineNumbers_For_RichTextBox : System.Windows.Forms.Control
|
||||
[System.ComponentModel.DefaultProperty("ParentRichTextBox")]
|
||||
public class LineNumbers: Control
|
||||
{
|
||||
|
||||
private class LineNumberItem
|
||||
|
|
@ -22,8 +17,8 @@ private class LineNumberItem
|
|||
internal Rectangle Rectangle;
|
||||
internal LineNumberItem(int zLineNumber, Rectangle zRectangle)
|
||||
{
|
||||
this.LineNumber = zLineNumber;
|
||||
this.Rectangle = zRectangle;
|
||||
LineNumber = zLineNumber;
|
||||
Rectangle = zRectangle;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -130,7 +125,7 @@ private Timer zTimer
|
|||
private int zParentInMe = 0;
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
public LineNumbers_For_RichTextBox()
|
||||
public LineNumbers()
|
||||
{
|
||||
{
|
||||
this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
|
||||
|
|
@ -1114,5 +1109,6 @@ private void zParent_Disposed(object sender, System.EventArgs e)
|
|||
this.Invalidate();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue