I have two WinForms called form1 and form2.form2 has contextMenuStrip assigned in Constructor via InitializeComponent().form1 is my start up form.----Edit:-----///form1 can open form2 on button click using form2.Show()Sorry, form1 can open form2 on menustrip subitem click using form2.Show().----------Now I start my small program and click on my button on form1 to open form2.Then I make a right click on form2 to show up the contextmenustrip.Now I have some strange behaviours:1). The active form2 is send back the form1 and keeps active.2). On first right click on form2 contextmenustrip is not shown. (ContextMenuStrip Opening and Closing events are fired)I do not have these behaviours when using ContextMenu.
Visual Studio/Team Foundation Server/.NET Framework Tooling Version
What category (if any) best represents this feedback?
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results
Locale
Please wait...