Popular Posts

Sunday, February 20, 2011

Code Snippet to paint a panel border with a specific color.

e.Graphics.DrawRectangle(Pens.Green, 0, 0, ((Panel)sender).Width - 1, ((Panel)sender).Height - 1); base.OnPaint(e);

No comments:

Post a Comment