Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Regions in code
Message
 
 
To
19/03/2008 13:36:30
Dave Nantais
Light speed database solutions
Ontario, Canada
General information
Forum:
ASP.NET
Category:
Other
Title:
Environment versions
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01303445
Message ID:
01303515
Views:
18
>>My question is how exactly they are inserted? Manually by developer after he/she organizes the code or >automatically by IDE - if yes, how?
>
>you would just type directly into the code editor `#region SampleRegionTitle` on one line
>
>then a few lines down enter into the code editor the phrase `#endregion`.
>
>this allows the developer to set up and organize their code the way they like.
>try entering in the examples you were provided in the other posts and watch the Visual Studio IDE do its magic.
>
>Incidentally that SampleRegionTitle is not a program variable and is not used for any functional purpose in the .exe file. It simply allows you to identify areas of your code with a title of your choosing...
>
>Regions are really cool.
>
>I wonder if VFP 10 will have regions?
>O ya... there won't be a VFP 10
>:)

I just reorganized my whole page with regions, very nice.

However, somewhere along the lines I broke the already working code, so now I have to debug to find out what did I do wrong.

I also manually moved related code pieces together to have grid code in the same region, button's code in the same region, user functions in the same region, etc.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform