Disappearing layout

  • Thread starter Thread starter Lev Elbert
  • Start date Start date
L

Lev Elbert

Hi!

Problem description:

I designed a form in c# and placed a few controls on it (nothing fancy
- labels and textboxes). Then I exited the IDE. When I opened the
project next time ALL CONTORLS WERE GONE. In the .cs file all the
generated code still exists (as far as I can tell).

Do not know if this is relevant:

The "problem child" form is derived from some base form, which has 3
buttons and a panel. The missing controls are placed in the derived
form in the base form panel (container).

I'm sure this happened to a lot of vs2003 users, but I could not find
the answer how to recover, witought redoing the job).
 
This is the first time I heard of it. Anyway, is your Control code still in
your cs file such as:

private System.Windows.Forms.StatusStrip statusStrip1;

private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;

private System.Windows.Forms.Button button1;

private System.Windows.Forms.MenuStrip menuStrip1;

private System.Windows.Forms.RichTextBox richTextBox1;

private WindowsControlLibrary1.UserControl1 userControl11;

private System.Windows.Forms.Button button2;

If it does exist then you rebuild it should be fine.

chanmm
 
Back
Top