Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
The textbox controll doesn't get Paint event, so how can i draw over it?
Add this string to TextBox constructor: this.SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.UserPaint, true); Best regards, Alexey.
this.SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.UserPaint, true);
yes but where is the textbox Paint event?
In TextBoxBase class. Best regards, Alexey.