summaryrefslogtreecommitdiff
path: root/windows 95/Bios.vb
blob: fd8ac7407fa3dae4f3ce8049a5759d19bdce2818 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Public Class Bios

    Dim counter As Integer = 0

    Private Sub Bios_Load(sender As Object, e As EventArgs) Handles Me.Load
        Me.TopMost = True
        Me.FormBorderStyle = FormBorderStyle.None
        Me.Width = Screen.PrimaryScreen.Bounds.Width
        Me.Height = Screen.PrimaryScreen.Bounds.Height
        Me.Left = 0
        Me.Top = 0
    End Sub
    Dim winbootground As Image
    Public Sub winload(ByVal image As Image, ByVal winver As Form)
        Biosload.Enabled = True
        winbootground = image
        windowsboot.winversion = winver
    End Sub

    Private Sub Biosload_Tick(sender As Object, e As EventArgs) Handles Biosload.Tick
        Select Case counter
            Case 5
                biostxt1.Visible = True
            Case 6
                biostxt2.Visible = True
            Case 7
                biostxt3.Visible = True
            Case 8
                biostxt4.Visible = True
            Case 9
                biostxt5.Visible = True
            Case 10
                biostxt6.Visible = True
            Case 11
                biostxt7.Visible = True
                Biosload.Interval = 900
            Case 12
                biostxt8.Visible = True
                Biosload.Interval = 500
            Case 13
                biostxt9.Visible = True
            Case 14
                biostxt10.Visible = True
            Case 15
                biostxt11.Visible = True
            Case 16
                biostxt12.Visible = True
            Case 17
                biostxt13.Visible = True
            Case 25
                windowsboot.Show()
                windowsboot.bootimage.Image = winbootground
                counter = -1
                Biosload.Enabled = False
                Me.Hide()
                biostxt1.Visible = False
                biostxt2.Visible = False
                biostxt3.Visible = False
                biostxt4.Visible = False
                biostxt5.Visible = False
                biostxt6.Visible = False
                biostxt7.Visible = False
                biostxt8.Visible = False
                biostxt9.Visible = False
                biostxt10.Visible = False
                biostxt11.Visible = False
                biostxt12.Visible = False
                biostxt13.Visible = False
        End Select
        counter = counter + 1
    End Sub
End Class