-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathForm7.frm
292 lines (292 loc) · 9.41 KB
/
Form7.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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
VERSION 5.00
Begin VB.Form Form7
Caption = "Form7"
ClientHeight = 3135
ClientLeft = 60
ClientTop = 405
ClientWidth = 4680
LinkTopic = "Form7"
ScaleHeight = 12495
ScaleWidth = 22920
StartUpPosition = 3 '窗口缺省
WindowState = 2 'Maximized
Begin VB.CommandButton Command1
Caption = "返回"
BeginProperty Font
Name = "幼圆"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1000
Left = 11000
TabIndex = 9
Top = 10000
Width = 2500
End
Begin VB.Frame Frame2
Caption = "圆角半径与余量"
BeginProperty Font
Name = "幼圆"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 8000
Left = 10000
TabIndex = 8
Top = 1500
Width = 12495
Begin VB.Label Label6
Caption = $"Form7.frx":0000
BeginProperty Font
Name = "幼圆"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1000
Left = 5040
TabIndex = 12
Top = 2280
Width = 7000
End
Begin VB.Label Label5
Caption = $"Form7.frx":008A
BeginProperty Font
Name = "幼圆"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1200
Left = 5000
TabIndex = 11
Top = 600
Width = 7000
End
Begin VB.Image Image1
Height = 2415
Left = 500
Top = 500
Width = 3735
End
End
Begin VB.Frame Frame1
Caption = "起模斜度"
BeginProperty Font
Name = "幼圆"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 8000
Left = 1440
TabIndex = 0
Top = 1500
Width = 8000
Begin VB.CommandButton Command2
Caption = "确定"
BeginProperty Font
Name = "幼圆"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1000
Left = 2800
TabIndex = 10
Top = 6000
Width = 2500
End
Begin VB.TextBox Text1
BeginProperty Font
Name = "幼圆"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 405
Left = 2800
TabIndex = 6
Top = 3600
Width = 2500
End
Begin VB.ComboBox Combo2
BeginProperty Font
Name = "幼圆"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 405
Left = 2800
TabIndex = 4
Top = 2400
Width = 2500
End
Begin VB.ComboBox Combo1
BeginProperty Font
Name = "幼圆"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 405
Left = 2800
TabIndex = 2
Top = 1200
Width = 2500
End
Begin VB.Label Label4
Caption = "内起模斜度β可以按照外起模斜度α数值增大2°或3°"
BeginProperty Font
Name = "幼圆"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1500
Left = 500
TabIndex = 7
Top = 4800
Width = 4500
End
Begin VB.Label Label3
Caption = "外起模斜度α"
BeginProperty Font
Name = "幼圆"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 800
Left = 500
TabIndex = 5
Top = 3600
Width = 2000
End
Begin VB.Label Label2
Caption = "L/B"
BeginProperty Font
Name = "幼圆"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 500
Left = 500
TabIndex = 3
Top = 2400
Width = 1215
End
Begin VB.Label Label1
Caption = "H/B"
BeginProperty Font
Name = "幼圆"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 500
Left = 500
TabIndex = 1
Top = 1200
Width = 1335
End
End
End
Attribute VB_Name = "Form7"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
Image1.Picture = LoadPicture(App.Path & "\6.jpg")
Image1.Stretch = False
Combo1.AddItem ("<=1")
Combo1.AddItem ("1-3")
Combo1.AddItem ("3-4.5")
Combo1.AddItem ("4.5-6.5")
Combo1.AddItem ("6.5-8")
Combo1.AddItem (">8")
Combo2.AddItem ("<=1.5")
Combo2.AddItem (">1.5")
End Sub
Private Sub Command2_click()
If Combo1.Text = "<=1" And Combo2.Text = "<=1.5" Then
Text1.Text = "5°"
ElseIf Combo1.Text = "<=1" And Combo2.Text = ">1.5" Then
Text1.Text = "5°"
ElseIf Combo1.Text = "1-3" And Combo2.Text = "<=1.5" Then
Text1.Text = "7°"
ElseIf Combo1.Text = "1-3" And Combo2.Text = ">1.5" Then
Text1.Text = "5°"
ElseIf Combo1.Text = "3-4.5" And Combo2.Text = "<=1.5" Then
Text1.Text = "10°"
ElseIf Combo1.Text = "3-4.5" And Combo2.Text = ">1.5" Then
Text1.Text = "7°"
ElseIf Combo1.Text = "4.5-6.5" And Combo2.Text = "<=1.5" Then
Text1.Text = "12°"
ElseIf Combo1.Text = "4.5-6.5" And Combo2.Text = ">1.5" Then
Text1.Text = "10°"
ElseIf Combo1.Text = "6.5-8" And Combo2.Text = "<=1.5" Then
Text1.Text = "15°"
ElseIf Combo1.Text = "6.5-8" And Combo2.Text = ">1.5" Then
Text1.Text = "12°"
ElseIf Combo1.Text = ">8" And Combo2.Text = "<=1.5" Then
Text1.Text = "15°"
ElseIf Combo1.Text = ">8" And Combo2.Text = ">1.5" Then
Text1.Text = "15°"
End If
End Sub
Private Sub Command1_Click()
form1.Show
form2.Hide
form3.Hide
form4.Hide
Form5.Hide
Form6.Hide
Form7.Hide
Form8.Hide
Form9.Hide
End Sub