📄 frmabout.vb
字号:
'
' Chapter 02 - Completed Solution
'
' MCSD Guide to Developing Desktop Applications
' with Microsoft Visual Basic .NET
'
' Copyright (C) 2004 Course Technology
' All rights reserved.
Option Explicit On
Option Strict On
Public Class frmAbout
Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
'Add any initialization after the InitializeComponent() call
End Sub
'Form overrides dispose to clean up the component list.
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
Friend WithEvents lblAbout As System.Windows.Forms.Label
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.lblAbout = New System.Windows.Forms.Label()
Me.SuspendLayout()
'
'lblAbout
'
Me.lblAbout.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.lblAbout.Location = New System.Drawing.Point(8, 16)
Me.lblAbout.Name = "lblAbout"
Me.lblAbout.Size = New System.Drawing.Size(264, 240)
Me.lblAbout.TabIndex = 0
Me.lblAbout.Text = "This completed solution illustrates how to create a simple application with multi" & _
"ple forms, and to navigate between those forms. It also illustrates how to creat" & _
"e a simple menu, and how to dynamically create control instances and event handl" & _
"ers at run time."
'
'frmAbout
'
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.ClientSize = New System.Drawing.Size(292, 273)
Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.lblAbout})
Me.Name = "frmAbout"
Me.Text = "About"
Me.ResumeLayout(False)
End Sub
#End Region
End Class
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -