1.看图 可以实现MouseDown改变背景颜色或背景图片. 遗憾是没有实现键盘触发按钮事件. 2.选择继承自Control基类 public class ImageButton : Control 3.创建几个枚举类型 public enum TextAlignStyle { TopCenter, MiddleCenter, BottonCenter, } public enum PictureLocationStyle { TopCenter, MiddleCenter, BottonCen