[Tip]#Region Usage

#Region is useful to organize code. Some tips to use it:

1. Ctrl+K,s to choose #region to insert it for you.

2. Right click in the source file (.cs for example), choose outlining submenu, you will find all wanted. like expanding all, collapsing all, etc:

  a. Ctrl + M, M: toggle one region's display

  b. Toggle all outlining.

 

posted @ 2010-04-11 17:18  能巴  阅读(192)  评论(0编辑  收藏  举报