⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frmsplash1.vb

📁 Visual Basic管理信息系统开发 学生考试系统(源代码)
💻 VB
字号:
Option Strict Off
Option Explicit On
Friend Class frmSplash1
	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 Timer1 As System.Windows.Forms.Timer
	Public WithEvents imgLogo As System.Windows.Forms.PictureBox
	Public WithEvents lblCopyright As System.Windows.Forms.Label
	Public WithEvents lblCompany As System.Windows.Forms.Label
	Public WithEvents lblWarning As System.Windows.Forms.Label
	Public WithEvents lblVersion As System.Windows.Forms.Label
	Public WithEvents lblPlatform As System.Windows.Forms.Label
	Public WithEvents lblProductName As System.Windows.Forms.Label
	Public WithEvents lblLicenseTo As System.Windows.Forms.Label
	Public WithEvents Frame1 As System.Windows.Forms.GroupBox
	'注意: 以下过程是 Windows 窗体设计器所必需的
	'可以使用 Windows 窗体设计器来修改它。
	'不要使用代码编辑器修改它。
	<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
		Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmSplash1))
		Me.components = New System.ComponentModel.Container()
		Me.ToolTip1 = New System.Windows.Forms.ToolTip(components)
		Me.ToolTip1.Active = True
		Me.Frame1 = New System.Windows.Forms.GroupBox
		Me.Timer1 = New System.Windows.Forms.Timer(components)
		Me.imgLogo = New System.Windows.Forms.PictureBox
		Me.lblCopyright = New System.Windows.Forms.Label
		Me.lblCompany = New System.Windows.Forms.Label
		Me.lblWarning = New System.Windows.Forms.Label
		Me.lblVersion = New System.Windows.Forms.Label
		Me.lblPlatform = New System.Windows.Forms.Label
		Me.lblProductName = New System.Windows.Forms.Label
		Me.lblLicenseTo = New System.Windows.Forms.Label
		Me.ControlBox = False
		Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
		Me.ClientSize = New System.Drawing.Size(492, 283)
		Me.Location = New System.Drawing.Point(17, 94)
		Me.KeyPreview = True
		Me.MaximizeBox = False
		Me.MinimizeBox = False
		Me.ShowInTaskbar = False
		Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
		Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
		Me.BackColor = System.Drawing.SystemColors.Control
		Me.Enabled = True
		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 = "frmSplash1"
		Me.Frame1.Size = New System.Drawing.Size(480, 270)
		Me.Frame1.Location = New System.Drawing.Point(8, 8)
		Me.Frame1.TabIndex = 0
		Me.Frame1.BackColor = System.Drawing.SystemColors.Control
		Me.Frame1.Enabled = True
		Me.Frame1.ForeColor = System.Drawing.SystemColors.ControlText
		Me.Frame1.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.Frame1.Visible = True
		Me.Frame1.Name = "Frame1"
		Me.Timer1.Interval = 100
		Me.Timer1.Enabled = True
		Me.imgLogo.Size = New System.Drawing.Size(105, 127)
		Me.imgLogo.Location = New System.Drawing.Point(16, 96)
		Me.imgLogo.Image = CType(resources.GetObject("imgLogo.Image"), System.Drawing.Image)
		Me.imgLogo.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
		Me.imgLogo.Enabled = True
		Me.imgLogo.Cursor = System.Windows.Forms.Cursors.Default
		Me.imgLogo.Visible = True
		Me.imgLogo.BorderStyle = System.Windows.Forms.BorderStyle.None
		Me.imgLogo.Name = "imgLogo"
		Me.lblCopyright.Text = "版权所有,违者必究"
		Me.lblCopyright.Size = New System.Drawing.Size(161, 17)
		Me.lblCopyright.Location = New System.Drawing.Point(296, 192)
		Me.lblCopyright.TabIndex = 4
		Me.lblCopyright.TextAlign = System.Drawing.ContentAlignment.TopLeft
		Me.lblCopyright.BackColor = System.Drawing.SystemColors.Control
		Me.lblCopyright.Enabled = True
		Me.lblCopyright.ForeColor = System.Drawing.SystemColors.ControlText
		Me.lblCopyright.Cursor = System.Windows.Forms.Cursors.Default
		Me.lblCopyright.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.lblCopyright.UseMnemonic = True
		Me.lblCopyright.Visible = True
		Me.lblCopyright.AutoSize = False
		Me.lblCopyright.BorderStyle = System.Windows.Forms.BorderStyle.None
		Me.lblCopyright.Name = "lblCopyright"
		Me.lblCompany.Text = "公司"
		Me.lblCompany.Size = New System.Drawing.Size(161, 17)
		Me.lblCompany.Location = New System.Drawing.Point(296, 216)
		Me.lblCompany.TabIndex = 3
		Me.lblCompany.TextAlign = System.Drawing.ContentAlignment.TopLeft
		Me.lblCompany.BackColor = System.Drawing.SystemColors.Control
		Me.lblCompany.Enabled = True
		Me.lblCompany.ForeColor = System.Drawing.SystemColors.ControlText
		Me.lblCompany.Cursor = System.Windows.Forms.Cursors.Default
		Me.lblCompany.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.lblCompany.UseMnemonic = True
		Me.lblCompany.Visible = True
		Me.lblCompany.AutoSize = False
		Me.lblCompany.BorderStyle = System.Windows.Forms.BorderStyle.None
		Me.lblCompany.Name = "lblCompany"
		Me.lblWarning.Text = "警告:本公司保留一切本软件的使用权利"
		Me.lblWarning.Size = New System.Drawing.Size(451, 13)
		Me.lblWarning.Location = New System.Drawing.Point(10, 244)
		Me.lblWarning.TabIndex = 2
		Me.lblWarning.TextAlign = System.Drawing.ContentAlignment.TopLeft
		Me.lblWarning.BackColor = System.Drawing.SystemColors.Control
		Me.lblWarning.Enabled = True
		Me.lblWarning.ForeColor = System.Drawing.SystemColors.ControlText
		Me.lblWarning.Cursor = System.Windows.Forms.Cursors.Default
		Me.lblWarning.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.lblWarning.UseMnemonic = True
		Me.lblWarning.Visible = True
		Me.lblWarning.AutoSize = False
		Me.lblWarning.BorderStyle = System.Windows.Forms.BorderStyle.None
		Me.lblWarning.Name = "lblWarning"
		Me.lblVersion.TextAlign = System.Drawing.ContentAlignment.TopRight
		Me.lblVersion.Text = "版本:1.0"
		Me.lblVersion.Font = New System.Drawing.Font("宋体", 12!, System.Drawing.FontStyle.Bold Or System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
		Me.lblVersion.Size = New System.Drawing.Size(78, 16)
		Me.lblVersion.Location = New System.Drawing.Point(228, 96)
		Me.lblVersion.TabIndex = 5
		Me.lblVersion.BackColor = System.Drawing.SystemColors.Control
		Me.lblVersion.Enabled = True
		Me.lblVersion.ForeColor = System.Drawing.SystemColors.ControlText
		Me.lblVersion.Cursor = System.Windows.Forms.Cursors.Default
		Me.lblVersion.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.lblVersion.UseMnemonic = True
		Me.lblVersion.Visible = True
		Me.lblVersion.AutoSize = True
		Me.lblVersion.BorderStyle = System.Windows.Forms.BorderStyle.None
		Me.lblVersion.Name = "lblVersion"
		Me.lblPlatform.TextAlign = System.Drawing.ContentAlignment.TopRight
		Me.lblPlatform.Text = "开发平台:Visual Basic6.0和Access2000"
		Me.lblPlatform.Font = New System.Drawing.Font("宋体", 12!, System.Drawing.FontStyle.Bold Or System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
		Me.lblPlatform.Size = New System.Drawing.Size(327, 16)
		Me.lblPlatform.Location = New System.Drawing.Point(130, 128)
		Me.lblPlatform.TabIndex = 6
		Me.lblPlatform.BackColor = System.Drawing.SystemColors.Control
		Me.lblPlatform.Enabled = True
		Me.lblPlatform.ForeColor = System.Drawing.SystemColors.ControlText
		Me.lblPlatform.Cursor = System.Windows.Forms.Cursors.Default
		Me.lblPlatform.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.lblPlatform.UseMnemonic = True
		Me.lblPlatform.Visible = True
		Me.lblPlatform.AutoSize = True
		Me.lblPlatform.BorderStyle = System.Windows.Forms.BorderStyle.None
		Me.lblPlatform.Name = "lblPlatform"
		Me.lblProductName.Text = "高校考试管理信息系统"
		Me.lblProductName.Font = New System.Drawing.Font("幼圆", 32.25!, System.Drawing.FontStyle.Bold Or System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
		Me.lblProductName.ForeColor = System.Drawing.Color.Red
		Me.lblProductName.Size = New System.Drawing.Size(450, 43)
		Me.lblProductName.Location = New System.Drawing.Point(16, 40)
		Me.lblProductName.TabIndex = 7
		Me.lblProductName.TextAlign = System.Drawing.ContentAlignment.TopLeft
		Me.lblProductName.BackColor = System.Drawing.SystemColors.Control
		Me.lblProductName.Enabled = True
		Me.lblProductName.Cursor = System.Windows.Forms.Cursors.Default
		Me.lblProductName.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.lblProductName.UseMnemonic = True
		Me.lblProductName.Visible = True
		Me.lblProductName.AutoSize = True
		Me.lblProductName.BorderStyle = System.Windows.Forms.BorderStyle.None
		Me.lblProductName.Name = "lblProductName"
		Me.lblLicenseTo.TextAlign = System.Drawing.ContentAlignment.TopRight
		Me.lblLicenseTo.Text = "授权"
		Me.lblLicenseTo.Size = New System.Drawing.Size(457, 17)
		Me.lblLicenseTo.Location = New System.Drawing.Point(8, 16)
		Me.lblLicenseTo.TabIndex = 1
		Me.lblLicenseTo.BackColor = System.Drawing.SystemColors.Control
		Me.lblLicenseTo.Enabled = True
		Me.lblLicenseTo.ForeColor = System.Drawing.SystemColors.ControlText
		Me.lblLicenseTo.Cursor = System.Windows.Forms.Cursors.Default
		Me.lblLicenseTo.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.lblLicenseTo.UseMnemonic = True
		Me.lblLicenseTo.Visible = True
		Me.lblLicenseTo.AutoSize = False
		Me.lblLicenseTo.BorderStyle = System.Windows.Forms.BorderStyle.None
		Me.lblLicenseTo.Name = "lblLicenseTo"
		Me.Controls.Add(Frame1)
		Me.Frame1.Controls.Add(imgLogo)
		Me.Frame1.Controls.Add(lblCopyright)
		Me.Frame1.Controls.Add(lblCompany)
		Me.Frame1.Controls.Add(lblWarning)
		Me.Frame1.Controls.Add(lblVersion)
		Me.Frame1.Controls.Add(lblPlatform)
		Me.Frame1.Controls.Add(lblProductName)
		Me.Frame1.Controls.Add(lblLicenseTo)
	End Sub
#End Region 
#Region "升级支持"
	Private Shared m_vb6FormDefInstance As frmSplash1
	Private Shared m_InitializingDefInstance As Boolean
	Public Shared Property DefInstance() As frmSplash1
		Get
			If m_vb6FormDefInstance Is Nothing OrElse m_vb6FormDefInstance.IsDisposed Then
				m_InitializingDefInstance = True
				m_vb6FormDefInstance = New frmSplash1()
				m_InitializingDefInstance = False
			End If
			DefInstance = m_vb6FormDefInstance
		End Get
		Set
			m_vb6FormDefInstance = Value
		End Set
	End Property
#End Region 
	
	
	Private Sub frmSplash1_KeyPress(ByVal eventSender As System.Object, ByVal eventArgs As System.Windows.Forms.KeyPressEventArgs) Handles MyBase.KeyPress
		Dim KeyAscii As Short = Asc(eventArgs.KeyChar)
		Me.Close()
		If KeyAscii = 0 Then
			eventArgs.Handled = True
		End If
	End Sub
	
	Private Sub frmSplash1_Load(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles MyBase.Load
		'UPGRADE_ISSUE: App 属性 App.Revision 未升级。 单击以获得更多信息:“ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="vbup2069"”
		lblVersion.Text = "版本 " & System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly.Location).FileMajorPart & "." & System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly.Location).FileMinorPart & "." & App.Revision
		lblProductName.Text = System.Reflection.Assembly.GetExecutingAssembly.GetName.Name
	End Sub
	
	'UPGRADE_WARNING: Frame 事件 Frame1.Click 未升级。 单击以获得更多信息:“ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="vbup2050"”
	Private Sub Frame1_Click()
		Me.Close()
	End Sub
End Class

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -