Hai
i am working with winforms using C# 2005. i need to have Rounded Corner textbox control without any thirdparty dlls.
Thanks and Regards
Vinay Kumar
Printable View
Hai
i am working with winforms using C# 2005. i need to have Rounded Corner textbox control without any thirdparty dlls.
Thanks and Regards
Vinay Kumar
Then you're going to have to inherit the Button class and handle the drawing yourself. You're going to have to do some research on authoring and drawing your own controls. This is a far from simple topic because to do it properly you will have to implement visual styles. My guess is that this is one of the many cases of a beginner being more concerned with their application looking fancy than actually learning the basics of programming. I think that your time could be much better spent, but what you do is obviously up to you.
or you can use CreateRoundRectRgn API for the same.