1

I have created a windows form on a Windows Mobile 6.5 application. This screen has a username and password field and a login menu button. After clicking the button, it takes my click event for the login button 6 or 7 seconds to reach the first line of code (an alert). It takes that long to reach the breakpoint as well.

I've tried:

  1. changing the menu button to a login button
  2. using AddHandler in my formLoad event

...and have still not gotten a fast response. What else could be slowing this down?

4

1 回答 1

0

This delay seemed to happen the first time any button was clicked on the application. The only way I could get this delay to not occur was to force a dummy button click of the login button on load of the application. The delay causes the application to load a little bit longer, but at least that delay won't occur when the user clicks the button.

于 2012-10-09T14:24:44.850 回答