When I delete resource files from my C# project all the menustrip, toolstrip and status strips items are removed from their respective strips.
These lines of code are deleted everytime it happens.
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fileToolStripMenuItem,
this.processToolStripMenuItem,
this.toolStripMenuItem1,
this.windowsToolStripMenuItem,
this.adminToolStripMenuItem,
this.helpToolStripMenuItem1});
Is there:
a) a way to stop this?
b) a reason why it does this?