If you don't know about the RegionsVS2008 add-in
http://www.codeproject.com/KB/macros/RegionsAddIn.aspx Very very cool Region wrangler.
>>>>
>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?
Charles Hankey
Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy
Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.
-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin
Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.