📄 frmabout.vb
字号:
Option Strict Off
Option Explicit On
Imports VB = Microsoft.VisualBasic
Friend Class frmAbout
Inherits System.Windows.Forms.Form
#Region "Windows 窗体设计器生成的代码"
Public Sub New()
MyBase.New()
If m_vb6FormDefInstance Is Nothing Then
If m_InitializingDefInstance Then
m_vb6FormDefInstance = Me
Else
Try
'对于启动窗体,所创建的第一个实例为默认实例。
If System.Reflection.Assembly.GetExecutingAssembly.EntryPoint.DeclaringType Is Me.GetType Then
m_vb6FormDefInstance = Me
End If
Catch
End Try
End If
End If
'此调用是 Windows 窗体设计器所必需的。
InitializeComponent()
End Sub
'窗体重写处置,以清理组件列表。
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
'Windows 窗体设计器所必需的
Private components As System.ComponentModel.IContainer
Public ToolTip1 As System.Windows.Forms.ToolTip
Public WithEvents picIcon As System.Windows.Forms.PictureBox
Public WithEvents cmdOK As System.Windows.Forms.Button
Public WithEvents cmdSysInfo As System.Windows.Forms.Button
Public WithEvents Label1 As System.Windows.Forms.Label
Public WithEvents _Line1_1 As System.Windows.Forms.Label
Public WithEvents lblDescription As System.Windows.Forms.Label
Public WithEvents lblTitle As System.Windows.Forms.Label
Public WithEvents _Line1_0 As System.Windows.Forms.Label
Public WithEvents lblVersion As System.Windows.Forms.Label
Public WithEvents lblDisclaimer As System.Windows.Forms.Label
Public WithEvents Line1 As Microsoft.VisualBasic.Compatibility.VB6.LabelArray
'注意: 以下过程是 Windows 窗体设计器所必需的
'可以使用 Windows 窗体设计器来修改它。
'不要使用代码编辑器修改它。
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmAbout))
Me.components = New System.ComponentModel.Container()
Me.ToolTip1 = New System.Windows.Forms.ToolTip(components)
Me.ToolTip1.Active = True
Me.picIcon = New System.Windows.Forms.PictureBox
Me.cmdOK = New System.Windows.Forms.Button
Me.cmdSysInfo = New System.Windows.Forms.Button
Me.Label1 = New System.Windows.Forms.Label
Me._Line1_1 = New System.Windows.Forms.Label
Me.lblDescription = New System.Windows.Forms.Label
Me.lblTitle = New System.Windows.Forms.Label
Me._Line1_0 = New System.Windows.Forms.Label
Me.lblVersion = New System.Windows.Forms.Label
Me.lblDisclaimer = New System.Windows.Forms.Label
Me.Line1 = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(components)
CType(Me.Line1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
Me.Text = "About MyApp"
Me.ClientSize = New System.Drawing.Size(382, 237)
Me.Location = New System.Drawing.Point(156, 129)
Me.MaximizeBox = False
Me.MinimizeBox = False
Me.ShowInTaskbar = False
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.BackColor = System.Drawing.SystemColors.Control
Me.ControlBox = True
Me.Enabled = True
Me.KeyPreview = False
Me.Cursor = System.Windows.Forms.Cursors.Default
Me.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.HelpButton = False
Me.WindowState = System.Windows.Forms.FormWindowState.Normal
Me.Name = "frmAbout"
Me.picIcon.Size = New System.Drawing.Size(36, 36)
Me.picIcon.Location = New System.Drawing.Point(16, 16)
Me.picIcon.Image = CType(resources.GetObject("picIcon.Image"), System.Drawing.Image)
Me.picIcon.TabIndex = 1
Me.picIcon.Dock = System.Windows.Forms.DockStyle.None
Me.picIcon.BackColor = System.Drawing.SystemColors.Control
Me.picIcon.CausesValidation = True
Me.picIcon.Enabled = True
Me.picIcon.ForeColor = System.Drawing.SystemColors.ControlText
Me.picIcon.Cursor = System.Windows.Forms.Cursors.Default
Me.picIcon.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.picIcon.TabStop = True
Me.picIcon.Visible = True
Me.picIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize
Me.picIcon.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me.picIcon.Name = "picIcon"
Me.cmdOK.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
Me.CancelButton = Me.cmdOK
Me.cmdOK.Text = "OK"
Me.AcceptButton = Me.cmdOK
Me.cmdOK.Size = New System.Drawing.Size(84, 23)
Me.cmdOK.Location = New System.Drawing.Point(283, 175)
Me.cmdOK.TabIndex = 0
Me.cmdOK.BackColor = System.Drawing.SystemColors.Control
Me.cmdOK.CausesValidation = True
Me.cmdOK.Enabled = True
Me.cmdOK.ForeColor = System.Drawing.SystemColors.ControlText
Me.cmdOK.Cursor = System.Windows.Forms.Cursors.Default
Me.cmdOK.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.cmdOK.TabStop = True
Me.cmdOK.Name = "cmdOK"
Me.cmdSysInfo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
Me.cmdSysInfo.Text = "&System Info..."
Me.cmdSysInfo.Size = New System.Drawing.Size(83, 23)
Me.cmdSysInfo.Location = New System.Drawing.Point(284, 205)
Me.cmdSysInfo.TabIndex = 2
Me.cmdSysInfo.BackColor = System.Drawing.SystemColors.Control
Me.cmdSysInfo.CausesValidation = True
Me.cmdSysInfo.Enabled = True
Me.cmdSysInfo.ForeColor = System.Drawing.SystemColors.ControlText
Me.cmdSysInfo.Cursor = System.Windows.Forms.Cursors.Default
Me.cmdSysInfo.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.cmdSysInfo.TabStop = True
Me.cmdSysInfo.Name = "cmdSysInfo"
Me.Label1.Text = "Author: TuoLin2003@sina.com"
Me.Label1.ForeColor = System.Drawing.Color.Blue
Me.Label1.Size = New System.Drawing.Size(259, 22)
Me.Label1.Location = New System.Drawing.Point(72, 112)
Me.Label1.TabIndex = 7
Me.Label1.TextAlign = System.Drawing.ContentAlignment.TopLeft
Me.Label1.BackColor = System.Drawing.SystemColors.Control
Me.Label1.Enabled = True
Me.Label1.Cursor = System.Windows.Forms.Cursors.Default
Me.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Label1.UseMnemonic = True
Me.Label1.Visible = True
Me.Label1.AutoSize = False
Me.Label1.BorderStyle = System.Windows.Forms.BorderStyle.None
Me.Label1.Name = "Label1"
Me._Line1_1.BackColor = System.Drawing.Color.FromARGB(128, 128, 128)
Me._Line1_1.Visible = True
Me._Line1_1.Location = New System.Drawing.Point(5, 147)
Me._Line1_1.Width = 303
Me._Line1_1.Height = 1
Me._Line1_1.Name = "_Line1_1"
Me.lblDescription.Text = "TuoLin OPC Server For Vb Demo "
Me.lblDescription.ForeColor = System.Drawing.Color.Black
Me.lblDescription.Size = New System.Drawing.Size(259, 22)
Me.lblDescription.Location = New System.Drawing.Point(70, 75)
Me.lblDescription.TabIndex = 3
Me.lblDescription.TextAlign = System.Drawing.ContentAlignment.TopLeft
Me.lblDescription.BackColor = System.Drawing.SystemColors.Control
Me.lblDescription.Enabled = True
Me.lblDescription.Cursor = System.Windows.Forms.Cursors.Default
Me.lblDescription.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.lblDescription.UseMnemonic = True
Me.lblDescription.Visible = True
Me.lblDescription.AutoSize = False
Me.lblDescription.BorderStyle = System.Windows.Forms.BorderStyle.None
Me.lblDescription.Name = "lblDescription"
Me.lblTitle.Text = "Tuo Lin OPC Server "
Me.lblTitle.ForeColor = System.Drawing.Color.Black
Me.lblTitle.Size = New System.Drawing.Size(259, 32)
Me.lblTitle.Location = New System.Drawing.Point(70, 16)
Me.lblTitle.TabIndex = 5
Me.lblTitle.TextAlign = System.Drawing.ContentAlignment.TopLeft
Me.lblTitle.BackColor = System.Drawing.SystemColors.Control
Me.lblTitle.Enabled = True
Me.lblTitle.Cursor = System.Windows.Forms.Cursors.Default
Me.lblTitle.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.lblTitle.UseMnemonic = True
Me.lblTitle.Visible = True
Me.lblTitle.AutoSize = False
Me.lblTitle.BorderStyle = System.Windows.Forms.BorderStyle.None
Me.lblTitle.Name = "lblTitle"
Me._Line1_0.BackColor = System.Drawing.Color.White
Me._Line1_0.Visible = True
Me._Line1_0.Location = New System.Drawing.Point(6, 148)
Me._Line1_0.Width = 303
Me._Line1_0.Height = 1
Me._Line1_0.Name = "_Line1_0"
Me.lblVersion.Text = "Version 1.6"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -