-
Notifications
You must be signed in to change notification settings - Fork 0
/
FormOption.vb
78 lines (69 loc) · 1.48 KB
/
FormOption.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
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
73
74
75
76
77
78
Private Sub ComCOMM_Click()
Dim i As Integer, j As Integer
With FormMain
For i = 1 To 8
.PicGroup(i).Visible = False
Next i
.PicK32.Visible = False
.PicAT24.Visible = False
.PicComm.Visible = True
End With
Unload Me
End Sub
Private Sub ComK32_Click()
Dim i As Integer
With FormMain
For i = 1 To 8
.PicGroup(i).Visible = False
Next i
.PicK32.Visible = True
.PicAT24.Visible = False
.PicComm.Visible = False
End With
Unload Me
End Sub
Private Sub ComKSet_Click()
SetupK32.Show
Unload Me
End Sub
Private Sub ComM24_Click()
Dim i As Integer
With FormMain
For i = 1 To 8
.PicGroup(i).Visible = False
Next i
.PicK32.Visible = False
.PicAT24.Visible = True
.PicComm.Visible = False
End With
Unload Me
End Sub
Private Sub ComMSet_Click()
SetupM24.Show
Unload Me
End Sub
Private Sub ComU24_Click()
SetupU24.Show
Unload Me
End Sub
Private Sub ComVDR_Click()
SetupVDR.Show
Unload Me
End Sub
Private Sub TextPassW_Change()
Dim S As String
S = TextPassW.Text
If S = "rongded" Or S = "RONGDED" Then
Me.Height = 3270
Else
If S = Password And MeMain = True Then
Me.Height = 1845
Else
Me.Height = 1050
End If
End If
End Sub
Private Sub TextPassW_GotFocus()
TextPassW.SelStart = 0
TextPassW.SelLength = Len(TextPassW.Text)
End Sub