You can also create regions within regions. For example:
#region "Public Methods"
#region "some methods"
#endregion
#region "more methods"
#endregion
#endregion
You can't however, create regions inside methods.
>I just found this goody today, did any body else know this???
>
>you can use
>#region
>#endregion
>
>to block code to be used in the outlining...
>
>i.e.
>
>#region All_Click_Events
>#Endregion
>
>so i can minimize the code for the clicks if i am done working with the click events.
>
>then i can make another
>#region Common Button Calls
>#enregion
>
>ALSO works for the Variable decalrations
>#region Variables and Declarations
>
>private System.Windows.Forms.TabPage pgEdit;
>private Clients oClients;
>private DataSet dsClients;
>
>#endregion
>
>this trims down to one line when collapsed - called Variables and Declarations
>
>
>A GREAT way to organize code!!!
Hector Correa