📄 frmtechs1.frm
字号:
Width = 2025
Begin VB.TextBox txtLJ
Alignment = 1 'Right Justify
Appearance = 0 'Flat
BackColor = &H00C0FFC0&
DataField = "船队名称"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 435
Index = 2
Left = 600
MaxLength = 30
TabIndex = 11
TabStop = 0 'False
Top = 660
Width = 1365
End
Begin VB.TextBox txtSD
Alignment = 1 'Right Justify
Appearance = 0 'Flat
BackColor = &H00C0FFC0&
DataField = "船队名称"
BeginProperty Font
Name = "宋体"
Size = 15.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 435
Index = 2
Left = 600
MaxLength = 30
TabIndex = 10
TabStop = 0 'False
Top = 240
Width = 1365
End
Begin VB.TextBox txtJL
Alignment = 1 'Right Justify
Appearance = 0 'Flat
BackColor = &H00C0FFC0&
DataField = "船队名称"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 435
Index = 2
Left = 600
MaxLength = 30
TabIndex = 9
TabStop = 0 'False
Top = 1080
Width = 1365
End
Begin VB.Label lbls
Alignment = 2 'Center
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "累计"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 240
Index = 8
Left = 90
TabIndex = 14
Top = 750
Width = 540
End
Begin VB.Label lbls
Alignment = 2 'Center
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "设定"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 240
Index = 7
Left = 90
TabIndex = 13
Top = 330
Width = 540
End
Begin VB.Label lbls
Alignment = 2 'Center
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "计量"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 240
Index = 6
Left = 90
TabIndex = 12
Top = 1170
Width = 540
End
End
Begin VB.Frame Frame1
BackColor = &H80000001&
Caption = "Frame1"
ForeColor = &H80000014&
Height = 1545
Index = 1
Left = 30
TabIndex = 1
Top = 30
Width = 2025
Begin VB.TextBox txtJL
Alignment = 1 'Right Justify
Appearance = 0 'Flat
BackColor = &H00C0FFC0&
DataField = "船队名称"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 435
Index = 1
Left = 600
MaxLength = 30
TabIndex = 6
TabStop = 0 'False
Top = 1080
Width = 1365
End
Begin VB.TextBox txtSD
Alignment = 1 'Right Justify
Appearance = 0 'Flat
BackColor = &H00C0FFC0&
DataField = "船队名称"
BeginProperty Font
Name = "宋体"
Size = 15.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 435
Index = 1
Left = 600
MaxLength = 30
TabIndex = 3
TabStop = 0 'False
Top = 240
Width = 1365
End
Begin VB.TextBox txtLJ
Alignment = 1 'Right Justify
Appearance = 0 'Flat
BackColor = &H00C0FFC0&
DataField = "船队名称"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 435
Index = 1
Left = 600
MaxLength = 30
TabIndex = 2
TabStop = 0 'False
Top = 660
Width = 1365
End
Begin VB.Label lbls
Alignment = 2 'Center
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "计量"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 240
Index = 0
Left = 90
TabIndex = 7
Top = 1170
Width = 540
End
Begin VB.Label lbls
Alignment = 2 'Center
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "设定"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 240
Index = 2
Left = 90
TabIndex = 5
Top = 330
Width = 540
End
Begin VB.Label lbls
Alignment = 2 'Center
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "累计"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 240
Index = 1
Left = 90
TabIndex = 4
Top = 750
Width = 540
End
End
End
End
Attribute VB_Name = "frmTechs1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Form_Load()
Me.Left = GetSetting(App.Title, "frmTechs1", "Left", frmMDI.ScaleWidth - Me.Width)
Me.Top = GetSetting(App.Title, "frmTechs1", "Top", 480)
Dim i As Integer
For i = 1 To CountTechs
Frame1(i).Caption = NameTech(i) & "仪表"
Next i
End Sub
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
Select Case UnloadMode
Case vbAppTaskManager
Case vbFormControlMenu
Cancel = True
Me.Hide
' Case vbFormCode
Case Else
Call SaveSetting(App.Title, "frmTechs1", "Left", Me.Left)
Call SaveSetting(App.Title, "frmTechs1", "Top", Me.Top)
End Select
End Sub
Private Sub Form_Resize()
On Error Resume Next
picTech.Left = 0
picTech.Top = 0
picTech.Width = Me.ScaleWidth
picTech.Height = Me.ScaleHeight
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -