Windows Develop Bookmark and Share   
 index > Windows Forms Designer > cannot delete controls ! :-O
 

cannot delete controls ! :-O

my visual studio 2005 prof. is acting strange.

i cannot delete anymore the controls on the main form (the controls are buttons and panels nothing strange) of one of my projects.

can someone help me troubleshooting that beahaviour?

 

thanks a lot

Roberto79  Monday, January 02, 2006 10:50 AM
Its difficult to diagnose a problem without more information. What happens when you try to delete them? Is it just on that form? Is that form special in any way? Did you make any particular changes to it before you started having the problem?
CommonGenius.com  Monday, January 02, 2006 2:10 PM
Just to be sure, but you weren't running the app at the time, were you?
Jelle van der Beek2  Monday, January 02, 2006 6:43 PM

Hello!

Just yesterday i have had the same problem, but in vs2003. The answer was simple (in that case) -- errors in c# text (i edited the text manually) made it impossible for designer to treat the objects defined in the text as consistent controls.

A simple check is to compile the form. If there are errors in sensible parts of the program (component declarations and deserialization), they must be fixed first.

HTH,

draiko

DRaiko  Tuesday, January 03, 2006 8:53 AM

You can use google to search for other answers

Custom Search

More Threads

• designer bugs
• Building controls at runtime in VB.NET
• Want Image Editor Source code in C# windows application whose work like MS Paint
• Detecting DesignTime vs Runtime issues
• Drawing at design time.
• ControlPaint.DrawCaptionButton
• Why BackgroundImageLayout::center don't act like PictureBoxSizeMode::CenterImage
• Datagrid or user control
• Image issue
• How do I flag a property as not serializable