Reputation: 53
Hi I've added a contextMenuStrip on a dataGrid in WindowsForm, but first time after right click, form minimize. I re-open it and now right click show me contexMenuStrip. Can you give me a solution? Regards.
EDIT: I've added another contexMenuStrip to another dataGrid and I see that first click minimize form (but not if I use .showDialog() command), but all the other works, why?
Upvotes: 0
Views: 133
Reputation: 13043
Search for FormWindowState.Minimized
in your whole project, set break point there, run debugger and look, if your program runs there.
Upvotes: 1