المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : ControlPaint.DrawBorder



C# Programming
12-30-2009, 08:10 PM
I am currently using ControlPain.DrawBorder. it has 2 overloades.

DrawBorder(Graphics, Rectangle, Color, Int32, ButtonBorderStyle,
Color, Int32, ButtonBorderStyle, Color, Int32, ButtonBorderStyle,
Color, Int32, ButtonBorderStyle)
DrawBorder(Graphics, Rectangle, Color, ButtonBorderStyle)

With first overload, each size can be set a line width. However the second overload it doesn't. Is this a always constant? if not how can I programaticly acquire this info?