Control
control = (Control)sender;_OriginalLoc = control.PointToScreen(
new Point(e.X, e.Y));
The in the MouseMove event I have the following:
ControlPaint
.DrawReversibleFrame(Rectangle, Color.Black, FrameStyle.Thick); Point endPoint = this.PointToScreen(new Point(e.X, e.Y)); int width = endPoint.X - _OriginalLoc.X; int height = endPoint.Y - _OriginalLoc.Y;Rectangle =
new Rectangle(_OriginalLoc.X, _OriginalLoc.Y, width, height); ControlPaint.DrawReversibleFrame(Rectangle, Color.Black, FrameStyle.Thick);It draws fine, but it appears behind the actual form, instead of on the top. Any ideas