开发者

C# Menu strip is gone in .cs [design]

All my items in my menu strip disapp开发者_如何学Ceared and is blank. Yet all the Code in the Designer portion is there. Is there any way to restore it? Or do I have to manually add it all back in?

Thanks!


I got it back I just went back into the designer.cs part of the code and re-referenced the original components... ie:
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem});


Try closing the design, recompile, and open the designer again to see if that helps - solved my problem one time.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜