?? downmove.cls
字號:
VERSION 1.0 CLASS
BEGIN
MultiUse = -1 'True
Persistable = 0 'NotPersistable
DataBindingBehavior = 0 'vbNone
DataSourceBehavior = 0 'vbNone
MTSTransactionMode = 0 'NotAnMTSObject
END
Attribute VB_Name = "downmove"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
'模塊下移處理
Public module_type As Integer
Public module_top_x As Integer
Public module_top_y As Integer
Public module_color_type As Integer
'描繪方塊,并且傳遞方塊類型,顏色類型,頂點坐標(biāo)于私有變量
Public Sub down_move(picture As PictureBox)
Dim mds As New module_describe
mds.module_describe picture, module_top_x, module_top_y, module_type, module_color_type
End Sub
'外部接口給downmove模塊傳遞變量
Public Sub give_value(x As Integer, y As Integer, type1 As Integer, color_type As Integer)
module_type = type1
module_top_x = x
module_top_y = y
module_color_type = color_type
End Sub
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -