quick way to expand the tree

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a class which has 10-20 methods. I can show/hide the method code by
clicking '+' or '-' on each one of them. but is their a way that i can hide
all of them using a single click rather than doing then individually.

TIA
nafri
 
nafri said:
I have a class which has 10-20 methods. I can show/hide the method code by
clicking '+' or '-' on each one of them. but is their a way that i can hide
all of them using a single click rather than doing then individually.

TIA
nafri

Do you mean Region tags

#Region "My Region "
<..> My Code
#End Region

If so just look at the default code in a windows form. It does it
everytime.

#Region " Windows Form Designer generated code "

Richard
 
nafri said:
I have a class which has 10-20 methods. I can show/hide the method code by
clicking '+' or '-' on each one of them. but is their a way that i can hide
all of them using a single click rather than doing then individually.

TIA
nafri
rightmouseclick in your code and then choose the option you need from
the outlining menu.
 
thanks Rinze for the answer that i wanted and thanks Richard for your comments
cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top