use enter alternate to key press in C#.Net -


i'm designing login windows desktop app, how can use "enter" key alternate login button_click let user enter application after verifying credentials ?

to make click event fire on pressing enter key, need make button default button.

if using winforms set login button form.acceptbutton property. http://msdn.microsoft.com/en-us/library/system.windows.forms.form.acceptbutton%28v=vs.100%29.aspx

if using wpf set buttons button's isdefault property true.


Comments

Popular posts from this blog

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -