>>>>>>>
>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.aspx>
>Here 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.entry>
http://www.mvcsharp.org/Basics_of_MVC_and_MVP/Default.aspxThanks.
I see the UT is still painfully slow. Probably a good day to study offline ;-)