Method | Description | |
---|---|---|
CustomPaintTextBox ( |
||
Dispose ( ) : void | ||
ForcePaint ( ) : void |
The textbox is not redrawn much, so this will force the textbox to call the custom paint function. Otherwise, text can be entered and no wavy red lines will appear
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void | ||
WndProc ( System &m ) : void |
This is called when the textbox is being redrawn. When it is, for the textbox to get refreshed, call its default paint method and then call our method
|
Method | Description | |
---|---|---|
CustomPaint ( ) : void |
Gets the ranges of chars that represent the spelling errors and then draw a wavy red line underneath them.
|
|
DrawWave ( Point start, Point end ) : void |
Draws the wavy red line given a starting point and an ending point
|
|
GetOffsets ( |
Determines the X and Y offsets to use based on font height last letter width
|
|
TextBoxBase_ClientSizeChanged ( object sender, System e ) : void |
When the TextBoxBase is resized, this will reset the objects that are used to draw the wavy, red line. Without this, anything outside of the original bounds will not be drawn
|
|
TextBoxBase_HandleCreated ( object sender, System e ) : void |
Reassign this classes handle and the graphics object anytime the textbox's handle is changed
|
public CustomPaintTextBox ( |
||
clientTextBox | ||
speller | SpellCheckHelper | |
return | System |
protected WndProc ( System &m ) : void | ||
m | System | The windows message |
return | void |