开发者

Is it possible to design a control of my own in c#

I would like to de开发者_StackOverflow中文版sign a richTextBox control of my own with rounded rectangular edges or liek some other is it possible to customize this


Yes it is.

Add a new UserControl and then inherit from the existing RichTextBox. You will have to override the onPaint method to create a richtextbox with rounded corners.

This article here may help you. It is based on a TextBox control (in VB) rather than a RichTextBox Control.


yes by using the user Control you can also inherits an existing control and changing it

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜