[dba-VB] Using Regions?

Charlotte Foust cfoust at infostatsystems.com
Tue Mar 16 12:57:20 CDT 2010


Regions are #Region ... #End Region blocks that enclose routines.  They are strictly for readability and convenience and don't affect the code itself in any way.  Just make it easier to organize.  You can collapse regions just as you can collapse routines, and you can nest regions for tidiness.

Charlotte Foust

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Drew Wutka
Sent: Tuesday, March 16, 2010 10:55 AM
To: dwaters at usinternet.com; Discussion concerning Visual Basic and related programming issues.
Subject: Re: [dba-VB] Using Regions?

Other then the 'region' where I didn't really use classes, and the
'region' when I started too, no....

LOL (ok, had to post, cause I'm curious what it is....)

Drew

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Dan Waters
Sent: Tuesday, March 16, 2010 10:00 AM
To: 'Discussion concerning Visual Basic and related programming issues.'
Subject: [dba-VB] Using Regions?

Does anyone use Regions to organize your code?

Pros?  Cons?

Thanks!
Dan




_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com

The information contained in this transmission is intended only for the person or entity 
to which it is addressed and may contain II-VI Proprietary and/or II-VI Business 
Sensitive material. If you are not the intended recipient, please contact the sender 
immediately and destroy the material in its entirety, whether electronic or hard copy. 
You are notified that any review, retransmission, copying, disclosure, dissemination, 
or other use of, or taking of any action in reliance upon this information by persons 
or entities other than the intended recipient is prohibited.


_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com





More information about the dba-VB mailing list