This repository has been archived by the owner on Jan 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
frmAbout.frm
174 lines (165 loc) · 4.95 KB
/
frmAbout.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
VERSION 5.00
Begin VB.Form frmAbout
AutoRedraw = -1 'True
BackColor = &H00FFFFFF&
BorderStyle = 3 'Fixed Dialog
Caption = "Î ïðîãðàììå..."
ClientHeight = 5505
ClientLeft = 22560
ClientTop = 5055
ClientWidth = 4470
ClipControls = 0 'False
ControlBox = 0 'False
Icon = "frmAbout.frx":0000
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 367
ScaleMode = 3 'Ïèêñåëü
ScaleWidth = 298
ShowInTaskbar = 0 'False
StartUpPosition = 1 'CenterOwner
Visible = 0 'False
Begin VB.CommandButton cmdUpdate
Caption = "Îáíîâëåíèå"
BeginProperty Font
Name = "Tahoma"
Size = 9.75
Charset = 204
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1560
TabIndex = 4
ToolTipText = "Ïðîâåðèòü îáíîâëåíèå"
Top = 5040
Width = 1335
End
Begin VB.CommandButton cmdSite
Caption = "Web-ñàéò"
BeginProperty Font
Name = "Tahoma"
Size = 9.75
Charset = 204
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 120
TabIndex = 2
ToolTipText = "http://rodysoft.ru"
Top = 5040
Width = 1335
End
Begin VB.TextBox txtMain
Alignment = 2 'Öåíòðîâêà
BackColor = &H00FFFFFF&
BorderStyle = 0 'Íåò
BeginProperty Font
Name = "Tahoma"
Size = 9.75
Charset = 204
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 2055
Left = 0
Locked = -1 'True
MultiLine = -1 'True
ScrollBars = 2 'Âåðòèêàëü
TabIndex = 1
Top = 2640
Width = 4455
End
Begin VB.CommandButton cmdOk
Caption = "Çàêðûòü"
BeginProperty Font
Name = "Tahoma"
Size = 9.75
Charset = 204
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 3000
TabIndex = 0
Top = 5040
Width = 1335
End
Begin VB.Frame Frame1
BorderStyle = 0 'Íåò
Height = 765
Left = 0
TabIndex = 3
Top = 4830
Width = 4815
End
Begin VB.Label lblMain
Caption = $"frmAbout.frx":000C
Height = 1215
Left = 1800
TabIndex = 5
Top = 720
Visible = 0 'False
Width = 2535
End
Begin VB.Line Line1
BorderColor = &H00808080&
BorderStyle = 6 'Âíóòðåííÿÿ çàëèâêà
Index = 1
X1 = 0
X2 = 320
Y1 = 320
Y2 = 320
End
Begin VB.Image imgLogo
Height = 2700
Left = 840
Picture = "frmAbout.frx":0113
Top = 0
Width = 2700
End
End
Attribute VB_Name = "frmAbout"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Const SITE_URL = "http://rodysoft.ru/"
Private Declare Function ShellExecute Lib "shell32" Alias _
"ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As _
String, ByVal lpFile As String, ByVal lpParameters As String, _
ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Dim StaticText As String
Private Sub cmdOK_Click()
Unload Me
End Sub
Private Sub cmdSite_Click()
ShellExecute Me.hwnd, "Open", SITE_URL, "", "", vbNormalFocus
End Sub
Private Sub cmdUpdate_Click()
CheckUpdate , Me.hwnd
End Sub
Private Sub Form_Deactivate()
Unload Me
End Sub
Private Sub Form_Initialize()
InitCommonControls
End Sub
Private Sub Form_Load()
imgLogo.Left = Me.ScaleWidth / 2 - imgLogo.Width / 2
txtMain = lblMain.Caption
End Sub
Private Sub txtMain_Change()
txtMain = lblMain.Caption
End Sub