Draw a border around the form


/ Published in: C#
Save to your folder(s)

Draw a border around the form.
Add to the paint event handler.


Copy this code and paste it in your HTML
  1. e.Graphics.DrawRectangle(Pens.Black, new Rectangle(0, 0, Width - 1, Height - 1));

Report this snippet


Comments


You need to login to view comments.