📄 frmmdiback.frm
字号:
VERSION 5.00
Begin VB.Form frmMdiBack
Appearance = 0 'Flat
BackColor = &H8000000C&
BorderStyle = 0 'None
Caption = "Form1"
ClientHeight = 2100
ClientLeft = 0
ClientTop = 0
ClientWidth = 5430
Enabled = 0 'False
LinkTopic = "Form1"
MaxButton = 0 'False
MDIChild = -1 'True
MinButton = 0 'False
ScaleHeight = 2100
ScaleWidth = 5430
ShowInTaskbar = 0 'False
Begin VB.PictureBox Picture1
Height = 1215
Left = 840
Picture = "frmMdiBack.frx":0000
ScaleHeight = 1155
ScaleWidth = 3555
TabIndex = 0
Top = 480
Width = 3615
End
Begin VB.Timer tmrCenterForm
Enabled = 0 'False
Interval = 1
Left = 120
Top = 2280
End
Begin VB.Label lblVersion
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "Version 0.0.1"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FF00&
Height = 255
Left = 840
TabIndex = 2
Top = 1800
Width = 3615
End
Begin VB.Label lblSoftwareTitle
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "AD9954 Evaluation Software"
BeginProperty Font
Name = "MS Sans Serif"
Size = 18
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 375
Left = 0
TabIndex = 1
Top = 0
Width = 5415
End
End
Attribute VB_Name = "frmMdiBack"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
lblVersion.Caption = "Version " & App.Major & "." & App.Minor & "." & App.Revision & " Beta"
End Sub
Private Sub tmrCenterForm_Timer()
Dim Left As Long
Dim Top As Long
'Calculate the proper left and top values
Left = (mdiMain.Width - Me.Width) / 2
Top = (mdiMain.Height - Me.Height - 2500) / 2
'If the form isn't in the center of the main form then center it
If (Me.Left <> Left) Or (Me.Top <> Top) Then
Me.Move Left, Top, Me.Width, Me.Height
'Once its centered make it visible
If Me.Visible = False Then
Me.Show
End If
Me.ZOrder 1
Else
tmrCenterForm.Enabled = False
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -