?? form3.frm
字號:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 3195
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3195
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command2
Caption = "退出"
Height = 375
Left = 3120
TabIndex = 6
Top = 2040
Width = 1095
End
Begin VB.CommandButton Command1
Caption = "移動"
Height = 375
Left = 3120
TabIndex = 5
Top = 1320
Width = 1095
End
Begin VB.CommandButton Command3
Caption = "打開"
Height = 375
Left = 3120
TabIndex = 4
Top = 600
Width = 1095
End
Begin VB.TextBox Text2
Height = 495
Left = 120
TabIndex = 1
Top = 1800
Width = 2295
End
Begin VB.TextBox Text1
Height = 495
Left = 120
TabIndex = 0
Top = 600
Width = 2295
End
Begin MSComDlg.CommonDialog CommonDialog1
Left = 3120
Top = 0
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin VB.Label Label2
Caption = "目標文件路徑"
Height = 255
Left = 120
TabIndex = 3
Top = 1320
Width = 1575
End
Begin VB.Label Label1
Caption = "源文件路徑"
Height = 255
Left = 120
TabIndex = 2
Top = 120
Width = 1575
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()
CommonDialog1.Action = 2
Text2.Text = CommonDialog1.FileName
str1 = MsgBox("確實想移動文件到" + CommonDialog1.FileName + "嗎")
If str1 Then
Name Text1.Text As Text2.Text
End If
End Sub
Private Sub Command2_Click()
End
End Sub
Private Sub Command3_Click()
CommonDialog1.FileName = "*.txt"
CommonDialog1.Filter = "*.txt"
CommonDialog1.Action = 1
Text1.Text = CommonDialog1.FileName
Command1.Enabled = True
End Sub
Private Sub Form_Load()
Command1.Enabled = False
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -