|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Debugging "form designer" code,Hi,
I have a problem with my code (somewhere in the InitialiseComponent) preventing any of my controls being visible in form design mode, although everything is ok at runtime. No errors are produced when I view the form in the designer; it just presents me with a blank form. Some of the controls are listed in the properties list, others aren't. What kind of things can cause this effect and how can I debug it, given that the VS form designer is "executing" the new() and InitialiseComponent() on my object, rather than the debugger? Thanks, Robin "Robin Tucker" <idontwanttobespammedanymore@reallyidont.com> schrieb: Make sure that all controls are added to the form's 'Controls' collection or > I have a problem with my code (somewhere in the InitialiseComponent) > preventing any of my controls being visible in form design mode, although > everything is ok at runtime. No errors are produced when I view the form > in the designer; it just presents me with a blank form. Some of the > controls are listed in the properties list, others aren't. What kind of > things can cause this effect and how can I debug it, given that the VS > form designer is "executing" the new() and InitialiseComponent() on my > object, rather than the debugger? containers' 'Controls' collections in 'InitializeComponent' ('*.Controls.Add'/'*.Controls.AddRange'). -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
Datagrid and arraylist
Screen Mate Creation Using The NativeWindow Class To Draw A GDI Type Circle On Top Of A DataGrid Possibly In The Override String.Split versus Strings.Split How do you put a hyperlinked text on a blank form CSV-Datei einlesen XML Schema SELECT Statement Windowless application, pls help. How to debug application? |
|||||||||||||||||||||||