开发者

How to create custom C# widgets?

What is the best approach and/or tool? The trackBar in the MS Visual Studio 2008 Toolbox is inadequate. It needs to be optimized for an 800x480 touch screen in extreme environmental conditions. T开发者_如何学编程he button on the trackBar needs to be larger so it is easier for the user to move the control using a finger. Its possible with the existing widget, but difficult since the button is small. I am using C# in MS Visual Studio 2008, but don't know if it is WinForms or WPF (this is my 1st C# project). The target is an old windows-ce tablet. It would be great if step-by-step instructions on how to create a custom control already exist. An alternative would be a tool I could purchase.


Here are a couple tutorials on creating custom controls:

Using Winforms

http://blogs.msdn.com/b/jfoscoding/archive/2004/12/06/275505.aspx http://msmvps.com/blogs/deborahk/archive/2009/10/13/winforms-user-controls-101.aspx

Using WPF

http://msdn.microsoft.com/en-us/library/cc295235.aspx http://www.wpftutorial.net/HowToCreateACustomControl.html

It might be a good idea to read up on the basics, then ask more specific questions that you have regarding the nuances of creating a custom control.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜