?? form1.frm
字號:
VERSION 4.00
Begin VB.Form Form1
BackColor = &H00C0C0C0&
BorderStyle = 1 'Fixed Single
Caption = "Cool Saver"
ClientHeight = 5370
ClientLeft = 1140
ClientTop = 1515
ClientWidth = 7335
ClipControls = 0 'False
Height = 5775
Icon = "Form1.frx":0000
Left = 1080
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 5370
ScaleWidth = 7335
Top = 1170
Width = 7455
Begin VB.CommandButton Command1
BackColor = &H00008080&
Caption = "Exit"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Comic Sans MS"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 6240
TabIndex = 12
Top = 4560
Width = 975
End
Begin VB.CommandButton Command3
Caption = "Back Color"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Comic Sans MS"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 5280
TabIndex = 11
Top = 4560
Width = 975
End
Begin VB.CommandButton Command2
Caption = "Start"
Enabled = 0 'False
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Comic Sans MS"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 4320
TabIndex = 10
Top = 4560
Width = 975
End
Begin VB.OptionButton Option4
BackColor = &H00C0C0C0&
Caption = "Option4"
Height = 255
Left = 3840
TabIndex = 8
Top = 4800
Width = 255
End
Begin VB.OptionButton Option3
BackColor = &H00C0C0C0&
Caption = "Option3"
Height = 255
Left = 3600
TabIndex = 7
Top = 4800
Width = 255
End
Begin VB.OptionButton Option2
BackColor = &H00C0C0C0&
Caption = "Option2"
Height = 255
Left = 3360
TabIndex = 6
Top = 4800
Width = 255
End
Begin VB.OptionButton Option1
BackColor = &H00C0C0C0&
Caption = "Option1"
Height = 255
Left = 3120
TabIndex = 5
Top = 4800
Value = -1 'True
Width = 255
End
Begin VB.FileListBox File1
BackColor = &H00C0C0C0&
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Comic Sans MS"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1860
Left = 0
Pattern = "*.JPG;*.BMP;*.GIF;*.WMF;*.ICO"
TabIndex = 2
Top = 3480
Width = 3015
End
Begin VB.DirListBox Dir1
BackColor = &H00C0C0C0&
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Comic Sans MS"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 3090
Left = 0
TabIndex = 1
Top = 360
Width = 3015
End
Begin VB.DriveListBox Drive1
BackColor = &H00C0C0C0&
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Comic Sans MS"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 345
Left = 0
TabIndex = 0
Top = 0
Width = 3015
End
Begin MSComDlg.CommonDialog CommonDialog1
Left = 6840
Top = 0
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin VB.Label Label3
BackColor = &H00C0C0C0&
Caption = "Fast"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Comic Sans MS"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 3720
TabIndex = 9
Top = 4605
Width = 375
End
Begin VB.Label Label2
BackColor = &H00C0C0C0&
Caption = "Slow"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Comic Sans MS"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 3120
TabIndex = 4
Top = 4605
Width = 615
End
Begin VB.Label Label1
BackColor = &H00C0C0C0&
BorderStyle = 1 'Fixed Single
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Comic Sans MS"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3045
TabIndex = 3
Top = 4005
Width = 4290
End
Begin VB.Image Open
BorderStyle = 1 'Fixed Single
Height = 3975
Left = 3045
Stretch = -1 'True
Top = 0
Width = 4290
End
End
Attribute VB_Name = "Form1"
Attribute VB_Creatable = False
Attribute VB_Exposed = False
Private Sub Command1_Click()
Unload Me
End
End Sub
Private Sub Command2_Click()
If Option1.Value = True Then
Module1.ImgSpeed = 10
End If
If Option2.Value = True Then
Module1.ImgSpeed = 20
End If
If Option3.Value = True Then
Module1.ImgSpeed = 35
End If
If Option4.Value = True Then
Module1.ImgSpeed = 50
End If
Form2.Show
Unload Form1
End Sub
Private Sub Command3_Click()
CommonDialog1.CancelError = True
On Error GoTo ErrHandler
CommonDialog1.Flags = &H1&
CommonDialog1.ShowColor
Form2.BackColor = CommonDialog1.Color
Exit Sub
ErrHandler:
Exit Sub
End Sub
Private Sub Dir1_Change()
File1.Path = Dir1.Path
End Sub
Private Sub Drive1_Change()
On Error GoTo ErrHandler
Dir1.Path = Drive1.Drive
Exit Sub
ErrHandler:
MsgBox "This device is currently unavaliable", vbExclamation
Exit Sub
End Sub
Private Sub File1_Click()
Command2.Enabled = True
If Right(File1.Path, 1) <> "\" Then
Label1.Caption = File1.Path & "\" & File1.filename
Else
Label1.Caption = File1.Path & File1.filename
End If
Form1.Open.Picture = LoadPicture(Label1.Caption)
End Sub
Private Sub Form_Load()
Drive1.Drive = App.Path
Dir1.Path = App.Path
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -