?? form2.frm
字號:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form Form1
BorderStyle = 3 'Fixed Dialog
Caption = "Form1"
ClientHeight = 3195
ClientLeft = 45
ClientTop = 330
ClientWidth = 5580
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3195
ScaleWidth = 5580
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton Command3
Caption = "結束運行"
Height = 375
Left = 4320
TabIndex = 2
Top = 2400
Width = 975
End
Begin VB.CommandButton Command2
Caption = "打開文件"
Height = 375
Left = 4320
TabIndex = 1
Top = 1560
Width = 975
End
Begin VB.CommandButton Command1
Caption = "重新設置"
Height = 375
Left = 4320
TabIndex = 0
Top = 720
Width = 975
End
Begin MSComDlg.CommonDialog CommonDialog1
Left = 4440
Top = 0
_ExtentX = 847
_ExtentY = 847
_Version = 393216
DialogTitle = "選擇一個圖像文件"
FileName = "*.bmp"
Filter = "*.bmp"
InitDir = "c:"
End
Begin VB.Image Image1
Height = 3045
Left = 240
Stretch = -1 'True
Top = 120
Width = 3690
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()
Image1.Picture = LoadPicture("")
End Sub
Private Sub Command2_Click()
CommonDialog1.Action = 1
Image1.Picture = LoadPicture(CommonDialog1.FileName)
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()
Command1.Enabled = True
Command2.Enabled = True
Command3.Enabled = True
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -