-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGettingStarted.vb
32 lines (25 loc) · 1.19 KB
/
GettingStarted.vb
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
Imports System.Windows.Forms
Public Class GettingStarted
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Me.Close()
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Main.IsolateFiles(Game)
End Sub
Private Sub Dialog1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Game = 0
End Sub
Private Sub RadioButton1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton1.CheckedChanged
Game = 0
End Sub
Private Sub RadioButton2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton2.CheckedChanged
Game = 1
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Try
Process.Start(Application.StartupPath & "\misc\GEDecompressor.exe")
Catch err As Exception
MsgBox("Couldn't find 'GEDecompressor.exe' in 'misc'!", MsgBoxStyle.Critical, "Error")
End Try
End Sub
End Class