如何为我的房产添加文字说明?

我的代码:
private bool _SpaceKey;
public bool SpaceKey
{
get
{
return _SpaceKey;
}
set
{
_SpaceKey = value;
}
}
Run Code Online (Sandbox Code Playgroud) 我设计了一个按钮
如何继承此按钮的其余部分?

这种继承方法是否属实?
我的代码:
public class MyButton : Button
{
public MyButton()
: base()
{
// set whatever styling properties needed here
this.ForeColor = Color.Blue;
this.Click += new EventHandler(MyButton_Click);
this.BackColor = Color.Red;
}
void MyButton_Click(object sender, EventArgs e)
{
MessageBox.Show("yes");
}
}
Run Code Online (Sandbox Code Playgroud)
为什么不改变背景颜色?

所有房产都可能有所变化
除了背景颜色
这是正常的事吗
没有解决方案?
if (!(char.IsDigit(e.KeyChar)))
{
e.Handled = true;
}
Run Code Online (Sandbox Code Playgroud)
上面的代码无法正常工作
以下是图片错误:

问题空间是"剪贴板"