|
-
Feb 4th, 2004, 02:04 PM
#1
Thread Starter
Frenzied Member
grouping routines as #region [RESOLVED]
If you have a LOT of code in the FORM_LOAD event, how can you fix it like #region / #end region? I know you can't use region/end region within a sub. I would just like to be able to minimize each sub-section in the _load event cause mine usually has a LOT of code to initialize parameters and such.
Any ideas?
Last edited by Andy; Feb 11th, 2004 at 09:33 PM.
-
Feb 4th, 2004, 05:05 PM
#2
You could break out parts of the code you normally run in Load into their own method then stick that in a region and just call it from Load.
-
Feb 4th, 2004, 08:37 PM
#3
Sleep mode
C# can do that as well .
-
Feb 4th, 2004, 08:52 PM
#4
Thread Starter
Frenzied Member
c# can do What I'mwanting? neat. Maybe I sould statlearning hat as well.
-
Feb 4th, 2004, 08:55 PM
#5
Sleep mode
Yes , it does. And a lot of new changes in the next version for C# only .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|