📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form aa
BackColor = &H00FFFFFF&
Caption = "计算机"
ClientHeight = 2820
ClientLeft = 60
ClientTop = 345
ClientWidth = 5610
FillColor = &H00C0C0C0&
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "Form1.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 2820
ScaleWidth = 5610
StartUpPosition = 2 '屏幕中心
Begin VB.PictureBox Picture1
DrawMode = 1 'Blackness
Height = 375
Left = 360
ScaleHeight = 315
ScaleWidth = 315
TabIndex = 1
Top = 240
Width = 375
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
BorderStyle = 1 'Fixed Single
Caption = "取消拖放"
Height = 300
Left = 2040
TabIndex = 0
Top = 2040
Width = 1020
End
End
Attribute VB_Name = "aa"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'CODE Manger By BcodeXRose
'##################################################################
'## 过程名称:Form_DragDrop
'## 参数:Source 为Control型
'## 参数:X 为Single型
'## 参数:Y 为Single型
'##################################################################
Private Sub Form_DragDrop(Source As Control, X As Single, Y As Single)
Source.Move (X - sour.Width / 2), (Y - Source.Height / 2)
End Sub
'##################################################################
'## 过程名称:Form_Load
'## 参数: 无
'##################################################################
Private Sub Form_Load()
Picture1.DragIcon = LoadPicture(App.Path + "\net.ico")
End Sub
'##################################################################
'## 过程名称:Label1_DragOver
'## 参数:Source 为Control型
'## 参数:X 为Single型
'## 参数:Y 为Single型
'## 参数:State 为Integer型
'##################################################################
Private Sub Label1_DragOver(Source As Control, X As Single, Y As Single, State As Integer)
Source.Drag 0
End Sub
'##################################################################
'## 过程名称:Picture1_MouseDown
'## 参数:Button 为Integer型
'## 参数:Shift 为Integer型
'## 参数:X 为Single型
'## 参数:Y 为Single型
'##################################################################
Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Picture1.Drag 1
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -