Draw rectangle using C# and I need to draw the arc in every edges first of all I draw rectangle and then I need click button it will draw the arc at edges, how can I do it?<
Everything above works for drawing but if you want to convert your graphics path to custom control's region i think you should use CreateRoundRectRgn function (from gdi32) for proper curve for top right, bottom left and bottom right edges (top left edge has been drawn correctly according to radius). Take a quick look at http://pages.citebite.com/e1u2t5b7t4bih (site from instanceofTom's answer)