I can't find any button control to add to a form in my mobile application. It's a standard mobile application with mobile emulator 6.0.
How开发者_运维技巧 can I add a button?
Check out this code project article.
Perhaps the questioner can clarify, but there are two different SDKs for Windows Mobile 6: Standard (for phones without touchscreens), and Professional (for phones with touchscreens). In Standard, there is no button control as it is not supported.
However, custom controls are supported, and you can still create a button (IMHO it's needed, as you can still use one with a D-pad). Go here for an example on how to create one.
精彩评论