Underscore in button text property does not show up

In my C# WinForms programs I have some buttons and I have assigned some shourtcuts to them. the shortcuts work fine, but the underscore in the button's text property does not show up until the user hits ALT key. How can I change this default behaviour?

Well this is my underscore

Button1.Text = "&EDIT";

Thanks.

5
задан Saeid Yazdani 5 August 2013 в 09:10
поделиться