开发者

ToolstripTextBox customisation

I would like to develop a custom Toolstrip control. The control would be like a ToolStrip but with the following features :

I guess to implement this then a user drawn control would be required. Does anyone know of any resources available on the web to get me started on this.


First you should compose your usercontrol with label, textbox and buttons, exposing all the necessary Properties.

Here's a MSDN WalkThrough for UserControls creation

Then, use this answer (or this MSDN example) to create the custom ToolStripItem, just replace the TrackBar with you custom control.

P.S.
If you don't want to create a ToolStripItem, but just a popup showing your custom control, you can use this other example, replacing the ListBox with your control.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜