📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
BorderStyle = 1 'Fixed Single
Caption = "同步操作"
ClientHeight = 3300
ClientLeft = 1140
ClientTop = 1515
ClientWidth = 5025
LinkTopic = "Form1"
MaxButton = 0 'False
PaletteMode = 1 'UseZOrder
ScaleHeight = 3300
ScaleWidth = 5025
Begin VB.CommandButton Command2
Caption = "添加"
Height = 375
Left = 2520
TabIndex = 5
Top = 2640
Width = 1935
End
Begin VB.TextBox Text2
Height = 495
Left = 2520
TabIndex = 4
Text = "照猫画虎"
Top = 2040
Width = 1935
End
Begin VB.CommandButton Command1
Caption = "添加"
Height = 375
Left = 360
TabIndex = 3
Top = 2640
Width = 1935
End
Begin VB.TextBox Text1
Height = 495
Left = 360
TabIndex = 2
Text = "照猫画虎"
Top = 2040
Width = 1935
End
Begin VB.ListBox List2
Height = 1680
Left = 2520
TabIndex = 1
Top = 120
Width = 1935
End
Begin VB.ListBox List1
Height = 1680
Left = 360
TabIndex = 0
Top = 120
Width = 1935
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
List1.AddItem (Text1)
End Sub
Private Sub Command2_Click()
List2.AddItem (Text2)
End Sub
Private Sub Command3_Click()
End Sub
Private Sub List1_Click()
On Error Resume Next
List2.ListIndex = List1.ListIndex
End Sub
Private Sub List2_Click()
On Error Resume Next
List1.ListIndex = List2.ListIndex
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -