📄 para.frm
字号:
VERSION 5.00
Begin VB.Form para
BackColor = &H00FFC0C0&
BorderStyle = 3 'Fixed Dialog
Caption = "参数表设置"
ClientHeight = 8355
ClientLeft = 2760
ClientTop = 3750
ClientWidth = 9705
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 8355
ScaleWidth = 9705
ShowInTaskbar = 0 'False
Begin VB.TextBox fushiyetxt
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1455
Left = 3000
MultiLine = -1 'True
TabIndex = 22
Top = 6120
Width = 6135
End
Begin VB.TextBox cicuntxt2
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 5880
TabIndex = 19
Top = 3960
Width = 2655
End
Begin VB.TextBox jitichengfentxt
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3000
TabIndex = 18
Top = 5400
Width = 6135
End
Begin VB.TextBox baomochengfentxt
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3000
TabIndex = 17
Top = 4680
Width = 6135
End
Begin VB.TextBox baohoutxt
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3000
TabIndex = 16
Top = 3240
Width = 6135
End
Begin VB.TextBox cicuntxt1
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3000
TabIndex = 11
Top = 3960
Width = 2295
End
Begin VB.TextBox houdutxt
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3000
TabIndex = 10
Top = 2520
Width = 6135
End
Begin VB.TextBox tanxingtxt
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3000
TabIndex = 9
Top = 1800
Width = 6135
End
Begin VB.TextBox bosongtxt
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3000
TabIndex = 8
Top = 1080
Width = 6135
End
Begin VB.TextBox guangchengtxt
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3000
TabIndex = 7
Top = 360
Width = 6135
End
Begin VB.CommandButton CancelButton
Caption = "取消"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 7560
TabIndex = 1
Top = 7680
Width = 1575
End
Begin VB.CommandButton OKButton
Caption = "确定"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 3000
TabIndex = 0
Top = 7680
Width = 1575
End
Begin VB.Label fushiyelbl
BackStyle = 0 'Transparent
Caption = "腐蚀液:"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 1080
TabIndex = 21
Top = 6240
Width = 1455
End
Begin VB.Label danweilbl
BackStyle = 0 'Transparent
Caption = "mm"
BeginProperty Font
Name = "宋体"
Size = 15.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 855
Left = 8760
TabIndex = 20
Top = 4080
Width = 1095
End
Begin VB.Label cheng
BackStyle = 0 'Transparent
Caption = "X"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 5520
TabIndex = 15
Top = 4080
Width = 855
End
Begin VB.Label jitichengfenlbl
BackStyle = 0 'Transparent
Caption = "基体成分:"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 960
TabIndex = 14
Top = 5520
Width = 1575
End
Begin VB.Label baomochenggenlbl
BackStyle = 0 'Transparent
Caption = "薄膜成分:"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 960
TabIndex = 13
Top = 4800
Width = 1575
End
Begin VB.Label cicunlbl
BackStyle = 0 'Transparent
Caption = "样品尺寸:"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 960
TabIndex = 12
Top = 4080
Width = 1575
End
Begin VB.Label baomolbl
BackStyle = 0 'Transparent
Caption = "薄膜厚度hf:"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 840
TabIndex = 6
Top = 3360
Width = 2175
End
Begin VB.Label houdulbl
BackStyle = 0 'Transparent
Caption = "基体厚度hs:"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 840
TabIndex = 5
Top = 2640
Width = 2175
End
Begin VB.Label tanxinglbl
BackStyle = 0 'Transparent
Caption = "基体的弹性常数Es:"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 360
TabIndex = 4
Top = 1920
Width = 2775
End
Begin VB.Label bosonglbl
BackStyle = 0 'Transparent
Caption = "基体的柏松比Vs:"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 600
TabIndex = 3
Top = 1200
Width = 2655
End
Begin VB.Label guangchenglbl
BackStyle = 0 'Transparent
Caption = "光程H:"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1320
TabIndex = 2
Top = 480
Width = 1455
End
End
Attribute VB_Name = "para"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub CancelButton_Click()
Unload para
End Sub
Private Sub OKButton_Click()
Open strparapath For Append As #3
Print #3, " 光程: " & " " & guangchengtxt.Text
Print #3, " 基体的柏松比Vs: " & " " & bosongtxt.Text
Print #3, " 基体的弹性常数Es:" & " " & tanxingtxt.Text
Print #3, " 基体厚度hs: " & " " & houdutxt.Text
Print #3, " 薄膜厚度hf: " & " " & baohoutxt.Text
Print #3, " 样品尺寸: " & " " & cicuntxt1.Text & "X" & cicuntxt2.Text
Print #3, " 薄膜成分: " & " " & baomochengfentxt.Text
Print #3, " 基体成分: " & " " & jitichengfentxt.Text
Print #3, " 腐蚀液: " & " " & fushiyetxt.Text
Close #3
Unload para
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -