📄 frmtip.vb
字号:
Option Strict Off
Option Explicit On
Friend Class frmTip
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()
'此窗体是 MDI 子窗体。
'此代码模拟 VB6
'的自动加载和显示
' MDI 子级的父级
'的功能。
Me.MDIParent = 档案管理系统.frmMain.DefInstance.DefInstance
档案管理系统.frmMain.DefInstance.DefInstance.Show
'VB6 项目中的 MDI 窗体已将其
'AutoShowChildren 属性设置为“真”
'要模拟 VB6 行为,需要
'在每次加载窗体时自动显示
'该窗体。如果您不需要此行为,
'请删除以下代码行
'UPGRADE_NOTE: 移除下一行代码以阻止窗体自动显示。 单击以获得更多信息:'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="vbup2018"'
Me.Show
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 cmdNextTip As System.Windows.Forms.Button
Public WithEvents chkLoadTipsAtStartup As System.Windows.Forms.CheckBox
Public WithEvents Line4 As System.Windows.Forms.Label
Public WithEvents Label2 As System.Windows.Forms.Label
Public WithEvents Label1 As System.Windows.Forms.Label
Public WithEvents lblTipText As System.Windows.Forms.Label
Public WithEvents Picture1 As System.Windows.Forms.Panel
Public WithEvents cmdOK As System.Windows.Forms.Button
Public WithEvents _Line1_0 As System.Windows.Forms.Label
Public WithEvents _Line1_1 As System.Windows.Forms.Label
Public WithEvents _Line1_2 As System.Windows.Forms.Label
Public WithEvents _Line1_3 As System.Windows.Forms.Label
Public WithEvents _Line2_0 As System.Windows.Forms.Label
Public WithEvents _Line3_0 As System.Windows.Forms.Label
Public WithEvents _Line2_1 As System.Windows.Forms.Label
Public WithEvents _Line3_1 As System.Windows.Forms.Label
Public WithEvents Line1 As Microsoft.VisualBasic.Compatibility.VB6.LabelArray
Public WithEvents Line2 As Microsoft.VisualBasic.Compatibility.VB6.LabelArray
Public WithEvents Line3 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(frmTip))
Me.components = New System.ComponentModel.Container()
Me.ToolTip1 = New System.Windows.Forms.ToolTip(components)
Me.ToolTip1.Active = True
Me.cmdNextTip = New System.Windows.Forms.Button
Me.Picture1 = New System.Windows.Forms.Panel
Me.chkLoadTipsAtStartup = New System.Windows.Forms.CheckBox
Me.Line4 = New System.Windows.Forms.Label
Me.Label2 = New System.Windows.Forms.Label
Me.Label1 = New System.Windows.Forms.Label
Me.lblTipText = New System.Windows.Forms.Label
Me.cmdOK = New System.Windows.Forms.Button
Me._Line1_0 = New System.Windows.Forms.Label
Me._Line1_1 = New System.Windows.Forms.Label
Me._Line1_2 = New System.Windows.Forms.Label
Me._Line1_3 = New System.Windows.Forms.Label
Me._Line2_0 = New System.Windows.Forms.Label
Me._Line3_0 = New System.Windows.Forms.Label
Me._Line2_1 = New System.Windows.Forms.Label
Me._Line3_1 = New System.Windows.Forms.Label
Me.Line1 = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(components)
Me.Line2 = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(components)
Me.Line3 = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(components)
CType(Me.Line1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.Line2, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.Line3, System.ComponentModel.ISupportInitialize).BeginInit()
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
Me.Text = "日积月累"
Me.ClientSize = New System.Drawing.Size(362, 215)
Me.Location = New System.Drawing.Point(157, 159)
Me.Icon = CType(resources.GetObject("frmTip.Icon"), System.Drawing.Icon)
Me.MaximizeBox = False
Me.StartPosition = System.Windows.Forms.FormStartPosition.WindowsDefaultBounds
Me.MinimizeBox = False
Me.ShowInTaskbar = False
Me.HelpButton = True
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.WindowState = System.Windows.Forms.FormWindowState.Normal
Me.Name = "frmTip"
Me.cmdNextTip.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
Me.cmdNextTip.Text = "下一个(&N)"
Me.cmdNextTip.Size = New System.Drawing.Size(81, 25)
Me.cmdNextTip.Location = New System.Drawing.Point(271, 50)
Me.cmdNextTip.TabIndex = 1
Me.cmdNextTip.BackColor = System.Drawing.SystemColors.Control
Me.cmdNextTip.CausesValidation = True
Me.cmdNextTip.Enabled = True
Me.cmdNextTip.ForeColor = System.Drawing.SystemColors.ControlText
Me.cmdNextTip.Cursor = System.Windows.Forms.Cursors.Default
Me.cmdNextTip.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.cmdNextTip.TabStop = True
Me.cmdNextTip.Name = "cmdNextTip"
Me.Picture1.BackColor = System.Drawing.Color.White
Me.Picture1.Size = New System.Drawing.Size(249, 175)
Me.Picture1.Location = New System.Drawing.Point(12, 20)
Me.Picture1.BackgroundImage = CType(resources.GetObject("Picture1.BackgroundImage"), System.Drawing.Image)
Me.Picture1.TabIndex = 2
Me.Picture1.Dock = System.Windows.Forms.DockStyle.None
Me.Picture1.CausesValidation = True
Me.Picture1.Enabled = True
Me.Picture1.ForeColor = System.Drawing.SystemColors.ControlText
Me.Picture1.Cursor = System.Windows.Forms.Cursors.Default
Me.Picture1.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Picture1.TabStop = True
Me.Picture1.Visible = True
Me.Picture1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me.Picture1.Name = "Picture1"
Me.chkLoadTipsAtStartup.BackColor = System.Drawing.Color.White
Me.chkLoadTipsAtStartup.Text = "启动时显示(&S)"
Me.chkLoadTipsAtStartup.ForeColor = System.Drawing.Color.FromARGB(0, 128, 128)
Me.chkLoadTipsAtStartup.Size = New System.Drawing.Size(111, 21)
Me.chkLoadTipsAtStartup.Location = New System.Drawing.Point(14, 148)
Me.chkLoadTipsAtStartup.TabIndex = 6
Me.chkLoadTipsAtStartup.CheckAlign = System.Drawing.ContentAlignment.MiddleLeft
Me.chkLoadTipsAtStartup.CausesValidation = True
Me.chkLoadTipsAtStartup.Enabled = True
Me.chkLoadTipsAtStartup.Cursor = System.Windows.Forms.Cursors.Default
Me.chkLoadTipsAtStartup.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.chkLoadTipsAtStartup.Appearance = System.Windows.Forms.Appearance.Normal
Me.chkLoadTipsAtStartup.TabStop = True
Me.chkLoadTipsAtStartup.CheckState = System.Windows.Forms.CheckState.Unchecked
Me.chkLoadTipsAtStartup.Visible = True
Me.chkLoadTipsAtStartup.Name = "chkLoadTipsAtStartup"
Me.Line4.BackColor = System.Drawing.Color.FromARGB(255, 128, 0)
Me.Line4.Visible = True
Me.Line4.Location = New System.Drawing.Point(0, 143)
Me.Line4.Width = 245
Me.Line4.Height = 1
Me.Line4.Name = "Line4"
Me.Label2.Text = "View Readme"
Me.Label2.Font = New System.Drawing.Font("宋体", 9!, System.Drawing.FontStyle.Underline Or System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label2.ForeColor = System.Drawing.Color.FromARGB(0, 128, 0)
Me.Label2.Size = New System.Drawing.Size(66, 12)
Me.Label2.Location = New System.Drawing.Point(102, 15)
Me.Label2.TabIndex = 5
Me.ToolTip1.SetToolTip(Me.Label2, "单击打开 Readme")
Me.Label2.TextAlign = System.Drawing.ContentAlignment.TopLeft
Me.Label2.BackColor = System.Drawing.Color.Transparent
Me.Label2.Enabled = True
Me.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Label2.UseMnemonic = True
Me.Label2.Visible = True
Me.Label2.AutoSize = True
Me.Label2.BorderStyle = System.Windows.Forms.BorderStyle.None
Me.Label2.Name = "Label2"
Me.Label1.BackColor = System.Drawing.Color.White
Me.Label1.Text = "您知道吗?"
Me.Label1.ForeColor = System.Drawing.Color.Red
Me.Label1.Size = New System.Drawing.Size(177, 17)
Me.Label1.Location = New System.Drawing.Point(36, 15)
Me.Label1.TabIndex = 4
Me.Label1.TextAlign = System.Drawing.ContentAlignment.TopLeft
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.lblTipText.BackColor = System.Drawing.Color.White
Me.lblTipText.Size = New System.Drawing.Size(217, 96)
Me.lblTipText.Location = New System.Drawing.Point(16, 48)
Me.lblTipText.TabIndex = 3
Me.lblTipText.TextAlign = System.Drawing.ContentAlignment.TopLeft
Me.lblTipText.Enabled = True
Me.lblTipText.ForeColor = System.Drawing.SystemColors.ControlText
Me.lblTipText.Cursor = System.Windows.Forms.Cursors.Default
Me.lblTipText.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.lblTipText.UseMnemonic = True
Me.lblTipText.Visible = True
Me.lblTipText.AutoSize = False
Me.lblTipText.BorderStyle = System.Windows.Forms.BorderStyle.None
Me.lblTipText.Name = "lblTipText"
Me.cmdOK.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
Me.CancelButton = Me.cmdOK
Me.cmdOK.Text = "确定"
Me.AcceptButton = Me.cmdOK
Me.cmdOK.Size = New System.Drawing.Size(81, 25)
Me.cmdOK.Location = New System.Drawing.Point(271, 20)
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._Line1_0.BackColor = System.Drawing.Color.FromARGB(128, 128, 128)
Me._Line1_0.Visible = True
Me._Line1_0.Location = New System.Drawing.Point(1, 0)
Me._Line1_0.Width = 358
Me._Line1_0.Height = 1
Me._Line1_0.Name = "_Line1_0"
Me._Line1_1.BackColor = System.Drawing.Color.FromARGB(224, 224, 224)
Me._Line1_1.Visible = True
Me._Line1_1.Location = New System.Drawing.Point(3, 1)
Me._Line1_1.Width = 356
Me._Line1_1.Height = 1
Me._Line1_1.Name = "_Line1_1"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -