redcommand.vb
来自「《ViSUAL BASIC》设计模式」· VB 代码 · 共 22 行
VB
22 行
Imports System
Imports System.ComponentModel
Imports System.Drawing
Imports System.Drawing.Color
Imports System.WinForms
Imports System.Collections
Public CLass RedCommand
Inherits BlueCommand
Public Sub New(pict As PictureBox)
MyBase.New(pict)
colr = Color.Red
x = 0
dx = 20
y = 0
dy = 0
End Sub
End CLass
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?