I am using VS2012 VB.net and am having the following situation:
Whenever I click on a menuItem, in ANY of my forms, either a menuItem or a contextMenu, for some reason, the startup form is shown. By this I mean that the focus is set to this form. If I then set the focus back to the previous form, then click a second time on the menuItem, the menuItem is shown correctly.
If I close a form, then show it again, the same situation happens. Also, if I click a menuItem on the startup form, I have to click twice.
Why would this be happening? More importantly, how can I fix this?
Whenever I click on a menuItem, in ANY of my forms, either a menuItem or a contextMenu, for some reason, the startup form is shown. By this I mean that the focus is set to this form. If I then set the focus back to the previous form, then click a second time on the menuItem, the menuItem is shown correctly.
If I close a form, then show it again, the same situation happens. Also, if I click a menuItem on the startup form, I have to click twice.
Why would this be happening? More importantly, how can I fix this?