I've created a custom control that can show a separator line with optional caption text in a 3D-ish look (full code shown below.)
Design-time I add it to a Form and set the anchor of the custom control to both left and right, and everything works and looks fine.
However, at run-time it looks strange when the Form is resized, like it doesn't redraw all of the line correctly.
Does anybody know how to solve this?
public partial class Separator : Control
private Pen _lightPen = new Pen(SystemColors.ControlLightLight);
private Pen _darkPen =
View Complete Post