
In the below code, I created one method called: DrawRoundedRectangle() that makes rectangle with rounded corners. Call this method from form's Paint event. I used FillPath() method to fill rectangle, you can use DrawPath() method to just draw rectangle. FillPath() contains parameter like first object of Brush and second object of GraphicsPath. DrawPath()...