📄 defaultvb.aspx.vb
字号:
Imports System
Imports System.Collections
Imports System.ComponentModel
Imports System.Data
Imports System.Drawing
Imports System.Web
Imports System.Web.SessionState
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.Web.UI.HtmlControls
Imports Telerik.QuickStart
Imports Telerik.WebControls
Namespace Telerik.WindowExamplesVB.KeyboardSupport
'/ <summary>
'/ Summary description for _Default.
'/ </summary>
Public Class DefaultVB
Inherits XhtmlPage
Protected Singleton As Telerik.WebControls.RadWindowManager
Private Sub Page_Load(sender As Object, e As System.EventArgs) Handles MyBase.Load
If Not Page.IsPostBack Then
'Default "built-in shortcuts"
'"FocusNextWindow" => "CTRL+TAB"
'"MinimizeAll" => "CTRL+F2"
'"EscapeActiveWindow" => "ESC"
'Additional shortcuts
Singleton.Shortcuts.Add(New WindowShortcut("MinimizeAll", "ALT+F2"))
Singleton.Shortcuts.Add(New WindowShortcut("RestoreAll", "ALT+F3"))
Singleton.Shortcuts.Add(New WindowShortcut("CloseActiveWindow", "CTRL+F5"))
Singleton.Shortcuts.Add(New WindowShortcut("MinimizeActiveWindow", "CTRL+F9"))
Singleton.Shortcuts.Add(New WindowShortcut("ToggleMaximizeActiveWindow", "CTRL+F10"))
End If
End Sub 'Page_Load
Protected Overrides Sub OnInit(e As EventArgs)
'
' CODEGEN: This call is required by the ASP.NET Web Form Designer.
'
InitializeComponent()
MyBase.OnInit(e)
End Sub 'OnInit
'/ Required method for Designer support - do not modify
'/ the contents of this method with the code editor.
'/ </summary>
Private Sub InitializeComponent()
End Sub 'InitializeComponent
End Class 'DefaultVB
End Namespace 'Telerik.WindowExamplesVB.KeyboardSupport
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -