📄 defaultvb.aspx.vb
字号:
Imports System
Namespace Telerik.CalendarExamplesVBNET.Calendar.Examples.Design.Sunny
'/ <summary>
'/ Summary description for DefaultCS.
'/ </summary>
Public Class DefaultVB
Inherits Telerik.QuickStart.XhtmlPage
Protected RadDatePicker1 As Telerik.WebControls.RadDatePicker
Protected RadDatePicker2 As Telerik.WebControls.RadDatePicker
Protected StartCity As System.Web.UI.WebControls.DropDownList
Protected DestinationCity As System.Web.UI.WebControls.DropDownList
Protected ReservationButton As System.Web.UI.WebControls.Button
Private Sub Page_Load(sender As Object, e As System.EventArgs) Handles MyBase.Load
If Not Page.IsPostBack Then
Dim cityNames() As String = {"New York", "Paris", "Perth", "Amsterdam", "Houston", "Philadelphia", "Indianapolis", "Phoenix", "Prague", "Rio de Janeiro", "Jerusalem", "Athens", "Johannesburg", "Rome"}
StartCity.DataSource = cityNames
StartCity.DataBind()
DestinationCity.DataSource = cityNames
DestinationCity.DataBind()
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
'/ <summary>
'/ 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.CalendarExamplesVBNET.Calendar.Examples.Design.Sunny
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -