Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The Region section
Message
 
 
À
15/01/2009 10:04:33
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:
01374071
Vues:
19
>>>>>>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform