-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfrmGO.class
57 lines (38 loc) · 1.24 KB
/
frmGO.class
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
' Gambas class file
' ### READY TO INSTALL! FORM ###
PUBLIC SUB Form_Show()
' set button focus:
frmMain.btnMain6.SetFocus
' set some background colours:
goTxtLabel.BackColor = Global.HTMLBG
lblSubTitle.BackColor = Global.LogoBG
Panel1.BackColor = Global.LogoBG
END
PUBLIC SUB Form_Resize()
' Resize the html message:
goTxtLabel.Width = ScrollView1.ClientWidth
goTxtLabel.Adjust
' 4 debug:
ProgressBar1.Value = 0.31
END
PUBLIC SUB btnStart_Click()
goTxtLabel.Text = "<center><h3><b>Starting phase one</b></h3></center>"
IF Global.enumINSTMODE = 0 THEN 'Do whatever is necessary for the automatic installation
SELECT CASE Message.Warning("All partitions on " & Global.installDrive & " will be destroyed!" & gb.NewLine & "Are you sure you want to continue?", "Yes", "No")
CASE 1
btnStart.Hide
Form_Resize()
lblSubTitle.Text = "Installing"
Utils.DoAutoInstall(frmGO.goTxtLabel)
CASE 2
frmMain.btnMain1_Click()
END SELECT
ENDIF
' CASE "Cancel"
' SELECT CASE Message.Question("Are you sure you want to abort the installtion?", "Yes", "No")
' CASE 1
' QUIT
' END SELECT
'
' END SELECT
END