Answer to Question #6384 in C# for burraak

Question #6384
How can I draw a custom shaped rectangle in C#

like this
http://imageshack.us/photo/my-images/59/rectanglei.jpg/
1
Expert's answer
2012-02-07T15:43:10-0500
Rectangle can be drawn.
Graphics graph = this.CreateGraphics();
Pen pen = new Pen(Color.Black,5); //Color black,line& width = 5
graph.DrawRectangle(pen, 10, 10, 100, 100); // draw rectangle

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS