问题
I want to know the shortcut keys to access from Code-Behind to aspx and aspx to Code-Behind pages.
回答1:
A rather clear reply
From .ASPX page to code behind press F7
From CodeBehind to ASPX Page press Shift+F7
When .aspx page is shown, Designer view is shown by default. To see the source code, click "source" tab at bottom. Or use Ctrl+PageUp/PageDown keys to cycle through source, split and designer view.
回答2:
From code behind, Create a Macro (Ctrl Shift R)
Press Shift F7 Press Ctrl PgUp
Finish Your Macro (Ctrl Shift R)
Test your Macro (Ctrl Shift P)
Assign a shortcut.
来源:https://stackoverflow.com/questions/17094504/visual-studio-2012-shortcut-keys-from-aspx-to-code-behind-and-code-behind-to-asp