ShiftOS-TheRevival-Old/ShiftOS-TheRevival/MainForms/IntroStory.vb

43 lines
1.5 KiB
VB.net
Raw Normal View History

2022-11-02 21:28:19 +00:00
Public Class IntroStory
Dim TimerDisplay As Integer = 1
Private Sub IntroStory_Load(sender As Object, e As EventArgs) Handles MyBase.Load
FormBorderStyle = FormBorderStyle.None
WindowState = FormWindowState.Maximized
OpacityPlay.Start()
End Sub
Private Sub OpacityPlay_Tick(sender As Object, e As EventArgs) Handles OpacityPlay.Tick
Select Case TimerDisplay
2022-11-08 06:02:02 +00:00
Case 1, 9, 17, 25
BackColor = Color.White
Label1.ForeColor = Color.Black
2022-11-02 21:28:19 +00:00
Visible = True
TimerDisplay = TimerDisplay + 1
2022-11-08 06:02:02 +00:00
Case 3, 7, 11, 15, 19, 23, 27
2022-11-02 21:28:19 +00:00
Visible = False
TimerDisplay = TimerDisplay + 1
2022-11-08 06:02:02 +00:00
Case 5, 13, 21
2022-11-02 21:28:19 +00:00
BackColor = Color.Black
2022-11-08 06:02:02 +00:00
Label1.ForeColor = Color.White
Visible = True
TimerDisplay = TimerDisplay + 1
Case 29
BackColor = Color.Black
Label1.ForeColor = Color.Black
2022-11-02 21:28:19 +00:00
Visible = True
Opacity = 0.1
2022-11-08 06:02:02 +00:00
TimerDisplay = 30
Case 30
2022-11-02 21:28:19 +00:00
If Opacity = 1 Then
Strings.ComputerInfo(3) = "0"
Strings.IsFree = False
Console.Show()
2022-11-02 21:28:19 +00:00
Close()
Else
Opacity = Opacity + 0.05
End If
Case Else
TimerDisplay = TimerDisplay + 1
End Select
End Sub
End Class