How to put red color border on picturebox.???
-
Hi, Can any one tell how to put red border on picturebox control in C# when i click button
Regards Chintan www.visharadsoft.com (I am thinking to change humans to computer, but unfortunately GOD will not give me the source code)
-
Hi, Can any one tell how to put red border on picturebox control in C# when i click button
Regards Chintan www.visharadsoft.com (I am thinking to change humans to computer, but unfortunately GOD will not give me the source code)
The simplest way i can think of is to have another picture box / anything that you can give a background colour, make it slightly larger than your picture box, pand place it behind your picture box. Set the back colour to Red, and set its visible property to false. Then when you click the button set the visible property to true. Alternatively you can override the onPaint event and add in the border yourself.