📄 bluebutton.vb
字号:
Imports System
Imports System.ComponentModel
Imports System.Drawing
Imports System.WinForms
Public Class BlueButton
Inherits Button
Implements CommandHolder
private cmd as Command
public Sub New(txt as String, comd as Command)
MyBase.New()
Me.text = txt
cmd = comd
End Sub
public Function getCommand() as Command Implements CommandHolder.getCommand
return cmd
End Function
End Class
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -