>>>>>>
>I have two projects. Both are for a desktop project. In each, I have a form. In each, I have some code in the .vb file related to it. In one, I see a Region that I can expand or collapse. In the other, I do not have that section. Does anyone know what controls the display of that section in the .vb file?>>>>>>
>>>>>>The IDE-generated stuff plugs in #region/#endregion in various places. Perhaps it's not consistent in where it generates it. Personally, I love these things and use them everywhere in my code.
>>>>>>
>>>>>>~~Bonnie
>>>>>
>>>>>
>>>>>
>>>>>#region m_myNumber Member
>>>>>private int m_myNumber;
>>>>>#endregion
>>>>>
>>>>>
>>>>>;-)
>>>>
>>>>My general practice is to divide into regions:
>>>>
>>>>Properties
>>>>Methods
>>>>Event Handlers
>>>>
>>>>In the case of the MVP pattern, there will be a region for view members subdivided into Properties and Methods as well.
>>>>etc
>>>
>>>MVP or MVC?
>>
>>MVP (Model View Presenter)
>
>OK, I guess it's been renamed. It used to be called Model View Controller.
>
>Uh, what is the difference between view and presenter?
For the MVP pattern here is a basic overview and an example:
http://blog.vuscode.com/malovicn/archive/2006/10/10/Model-View-Presenter-_2800_MVP_2900_-pattern.aspxHere is a great podcast with examples (really the best I've seen):
http://polymorphicpodcast.com/shows/mv-patterns/I like these for a simple explanation of the difference between MVP and MVC (although I've seen a lot of different comparisons):
http://ameleta.spaces.live.com/blog/cns!5F6316345A821420!163.entryhttp://www.mvcsharp.org/Basics_of_MVC_and_MVP/Default.aspx
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"