By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,686 Members | 1,558 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,686 IT Pros & Developers. It's quick & easy.

Disappearing layout

P: n/a
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).

Nov 15 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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
"Lev Elbert" <el*******@hotmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
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).

Nov 16 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.