Yesterday, I played a problem, I suddenly discovered a problem, which is about MAINMENU.
Question Symptom:
Create a Windows Form, then drag a MainMenu inside, then delete it, drag it into it, then edit an item, which means to write something, at this time, when you run, you will find No Menu, what is going on?
problem causes:
It turns out that when Windows is dragging the first mainmenu, it adds a sentence.
THIS.MENU = this. Your menu name;
When deleted, I deleted this, but when I was dragging it for the second time, I won't write this sentence so that Form and MainMenu were separated, so you can't see Menu in Form.
Solution:
Manual addition
This.Menu = this. Your menu name; just fine, there is no way.
I don't know if anyone discovered, don't joke me ...