📄 frmpcb.frm
字号:
VERSION 5.00
Begin VB.Form frmPcb
BackColor = &H0000FFFF&
BorderStyle = 1 'Fixed Single
Caption = "PCB Number"
ClientHeight = 1125
ClientLeft = 45
ClientTop = 435
ClientWidth = 7215
ControlBox = 0 'False
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1125
ScaleWidth = 7215
StartUpPosition = 3 'Windows Default
Begin VB.TextBox txtPcbNumber
BeginProperty Font
Name = "Courier New"
Size = 24
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 3360
TabIndex = 0
Top = 240
Width = 3735
End
Begin VB.PictureBox Picture1
Appearance = 0 'Flat
AutoSize = -1 'True
BackColor = &H80000005&
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 525
Left = 120
Picture = "frmPcb.frx":0000
ScaleHeight = 525
ScaleWidth = 3045
TabIndex = 1
Top = 240
Width = 3045
End
End
Attribute VB_Name = "frmPcb"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Form_Activate()
Me.txtPcbNumber.Text = oAteResult.PcbNumber
Me.txtPcbNumber.SelStart = 0
Me.txtPcbNumber.SelLength = Len(Me.txtPcbNumber.Text)
End Sub
Private Sub txtPcbNumber_KeyPress(KeyAscii As Integer)
Select Case KeyAscii
Case 13 ' Enter
oAteResult.PcbNumber = UCase(Trim(Me.txtPcbNumber.Text))
Me.Hide
Case 27 ' ESC
Me.Hide
End Select
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -