-
Notifications
You must be signed in to change notification settings - Fork 138
/
frmNewVer.frm
95 lines (91 loc) · 2.77 KB
/
frmNewVer.frm
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
VERSION 5.00
Begin VB.Form frmNewVer
BorderStyle = 1 'Fixed Single
Caption = "New version found"
ClientHeight = 2595
ClientLeft = 5955
ClientTop = 4425
ClientWidth = 6900
Icon = "frmNewVer.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2595
ScaleWidth = 6900
Begin Vb6Tkinter.xpcmdbutton cmdCancelVer
Height = 615
Left = 4200
TabIndex = 2
Top = 1680
Width = 2175
_ExtentX = 3836
_ExtentY = 1085
Caption = "Cancel"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin Vb6Tkinter.xpcmdbutton cmdDownload
Height = 615
Left = 600
TabIndex = 1
Top = 1680
Width = 2175
_ExtentX = 3836
_ExtentY = 1085
Caption = "Download"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Label lblInfo
BeginProperty Font
Name = "宋体"
Size = 15.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 960
TabIndex = 0
Top = 480
Width = 5655
End
End
Attribute VB_Name = "frmNewVer"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub cmdCancelVer_Click()
Unload Me
End Sub
Private Sub cmdDownload_Click()
Call ShellExecute(FrmMain.hWnd, "open", OFFICIAL_RELEASES, vbNullString, vbNullString, &H0)
End Sub
Private Sub Form_Load()
Dim ctl As Control
'多语种支持
Me.Caption = L(Me.Name, Me.Caption)
For Each ctl In Me.Controls
If TypeName(ctl) = "xpcmdbutton" Then
ctl.Caption = L(ctl.Name, ctl.Caption)
End If
Next
End Sub