Visual Studio快捷键

Ctrl+M+O:折叠所有方法

Ctrl+M+L:展开所有方法

Ctrl+M+M:折叠或者展开当前方法

原文地址:https://www.cnblogs.com/avin/p/6305714.html