Hi
I have some questions.
I have hunch that there must be templates for C# Forms.
I mean most have the file, edit, window etc upper menus and are really similar.
Are there some sites like there are for HTML/CSS?
If you know any places then suggest them.
The other question is about debugging.
Guessing isn't really good here, one time I accidentally saw the objects inside a list.
I haven't found a way to reproduce this.
Looked at the Object browser but there isn't any info about instanted objects, only about classes.
Any good material about debugging using the IDE is welcome.
Thanks
JurePosted Oct 17, 2010, 10:43 AM
About debugging, if you're using VS, then you're probably talking about "Autos" and "Locals" list. Try to find them somewhere under view if they're not showing. Then just insert breakpoints where you want in your code (click at the left side of the line-numbers). Your program will stop at inserted breakpoints and you'll be able to see values of various objects.
Sam HobbsPosted Oct 17, 2010, 4:18 PM
There are not templates for forms in the manner you are thinking; note that HTML is not compiled but forms are. Therefore HTML forms can exist as templates in source format. For forms, the equivalent often is "Controls"; there are many controls, both in .Net and available from many other sources. Many controls have other controls in them. It is inconsistent with the design of .Net for there to be form and/or control templates existing as source code.