Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The Region section
Message
De
15/01/2009 20:35:15
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Visual Studio
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01373351
Message ID:
01374251
Vues:
16
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform