' Student: Pat Moss ' Instructor: Greg Simpson ' CIS259, Sect. 5844, VB.NET II ' January 24, 2006 Tuesday 5:40 pm ' Chapter 02, Project 05, p. 122-123 ' Textbook: Visual Basic .NET by Michael Ekedahl, 0619213353 ' This form is: frmSplash.vb Rev. 01b Splash screen ' Software Specification: ' Design an Amortization Schedule, including a Startup ' Sub Main procedure, a Splash screen, a User Input Screen, ' the Amortization Schedule screen, and Menu controls. Option Strict On Option Explicit On Public Class frmSplash 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 Label1 As System.Windows.Forms.Label Friend WithEvents Label2 As System.Windows.Forms.Label Friend WithEvents Label3 As System.Windows.Forms.Label Friend WithEvents Label4 As System.Windows.Forms.Label Friend WithEvents tmrClose As System.Windows.Forms.Timer Private Sub InitializeComponent() Me.components = New System.ComponentModel.Container Me.Label1 = New System.Windows.Forms.Label Me.Label2 = New System.Windows.Forms.Label Me.Label3 = New System.Windows.Forms.Label Me.Label4 = New System.Windows.Forms.Label Me.tmrClose = New System.Windows.Forms.Timer(Me.components) Me.SuspendLayout() ' 'Label1 ' Me.Label1.Font = New System.Drawing.Font("Microsoft Sans Serif", 20.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.Label1.Location = New System.Drawing.Point(136, 24) Me.Label1.Name = "Label1" Me.Label1.Size = New System.Drawing.Size(344, 32) Me.Label1.TabIndex = 0 Me.Label1.Text = "CIS259 VB.NET II" Me.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'Label2 ' Me.Label2.Font = New System.Drawing.Font("Microsoft Sans Serif", 20.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.Label2.Location = New System.Drawing.Point(136, 64) Me.Label2.Name = "Label2" Me.Label2.Size = New System.Drawing.Size(344, 32) Me.Label2.TabIndex = 1 Me.Label2.Text = "Chap. 02, Project 05" Me.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'Label3 ' Me.Label3.Font = New System.Drawing.Font("Microsoft Sans Serif", 20.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.Label3.Location = New System.Drawing.Point(136, 136) Me.Label3.Name = "Label3" Me.Label3.Size = New System.Drawing.Size(344, 32) Me.Label3.TabIndex = 2 Me.Label3.Text = "Student: Pat Moss" Me.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'Label4 ' Me.Label4.Font = New System.Drawing.Font("Microsoft Sans Serif", 20.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.Label4.Location = New System.Drawing.Point(136, 176) Me.Label4.Name = "Label4" Me.Label4.Size = New System.Drawing.Size(344, 32) Me.Label4.TabIndex = 3 Me.Label4.Text = "Instructor: Greg Simpson" Me.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'tmrClose ' Me.tmrClose.Enabled = True Me.tmrClose.Interval = 3000 ' 'frmSplash ' Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13) Me.ClientSize = New System.Drawing.Size(616, 238) Me.Controls.Add(Me.Label4) Me.Controls.Add(Me.Label3) Me.Controls.Add(Me.Label2) Me.Controls.Add(Me.Label1) Me.Name = "frmSplash" Me.ShowInTaskbar = False Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen Me.Text = "Chap 2, Proj 5 Splash Screen by Pat Moss" Me.ResumeLayout(False) End Sub #End Region Private Sub tmrClose_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tmrClose.Tick Me.Close() End Sub End Class