简体   繁体   中英

Shortcut key visible on button in Windows CE 6.0 .NET application

I'm developing a sample application for a Windows CE 6.0 project and 1 of the requirements is having keys mapped to a button with the shortcut key visible as text in the upper corner of the button.

Example

This isn't something I've seen in the standard .NET controls.

Is there a way of doing this using the .NET controls or is it something I need a custom control for?

Thanks

For that you need to create a custum control or subclass the standard window forms button. See subclass example with picture button here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM