📄 form2.cs
字号:
++i;
}
}
if (e == Keys.Q)
{
if (!button34.BackColor.Equals(Color.Yellow))
{
this.button34.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.W)
{
if (!button35.BackColor.Equals(Color.Yellow))
{
this.button35.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.E)
{
if (!button36.BackColor.Equals(Color.Yellow))
{
this.button36.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.R)
{
if (!button37.BackColor.Equals(Color.Yellow))
{
this.button37.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.T)
{
if (!button38.BackColor.Equals(Color.Yellow))
{
this.button38.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.Y)
{
if (!button39.BackColor.Equals(Color.Yellow))
{
this.button39.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.U)
{
if (!button40.BackColor.Equals(Color.Yellow))
{
this.button40.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.I)
{
if (!button41.BackColor.Equals(Color.Yellow))
{
this.button41.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.O)
{
if (!button42.BackColor.Equals(Color.Yellow))
{
this.button42.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.P)
{
if (!button43.BackColor.Equals(Color.Yellow))
{
this.button43.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.OemOpenBrackets)
{
if (!button44.BackColor.Equals(Color.Yellow))
{
this.button44.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.OemCloseBrackets)
{
if (!button45.BackColor.Equals(Color.Yellow))
{
this.button45.BackColor = Color.Yellow;
++i;
}
}
}
if (e == Keys.OemPipe)
{
if (!button46.BackColor.Equals(Color.Yellow))
{
this.button46.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.PageUp)
{
if (!button47.BackColor.Equals(Color.Yellow))
{
this.button47.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.CapsLock)
{
if (!button48.BackColor.Equals(Color.Yellow))
{
this.button48.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.A)
{
if (!button49.BackColor.Equals(Color.Yellow))
{
this.button49.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.S)
{
if (!button50.BackColor.Equals(Color.Yellow))
{
this.button50.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.D)
{
if (!button51.BackColor.Equals(Color.Yellow))
{
this.button51.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.F)
{
if (!button52.BackColor.Equals(Color.Yellow))
{
this.button52.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.G)
{
if (!button53.BackColor.Equals(Color.Yellow))
{
this.button53.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.H)
{
if (!button54.BackColor.Equals(Color.Yellow))
{
this.button54.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.J)
{
if (!button55.BackColor.Equals(Color.Yellow))
{
this.button55.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.K)
{
if (!button56.BackColor.Equals(Color.Yellow))
{
this.button56.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.L)
{
if (!button57.BackColor.Equals(Color.Yellow))
{
this.button57.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.OemSemicolon)
{
if (!button58.BackColor.Equals(Color.Yellow))
{
this.button58.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.OemQuotes)
{
if (!button59.BackColor.Equals(Color.Yellow))
{
this.button59.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.Enter)
{
if (!button60.BackColor.Equals(Color.Yellow))
{
this.button60.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.PageDown)
{
if (!button61.BackColor.Equals(Color.Yellow))
{
this.button61.BackColor = Color.Yellow;
++i;
}
}
//if (e == Keys.LShiftKey)
//{
// if (!button62.BackColor.Equals(Color.Yellow))
// {
// this.button62.BackColor = Color.Yellow;
// ++i;
// }
//}
if (e == Keys.Z)
{
if (!button63.BackColor.Equals(Color.Yellow))
{
this.button63.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.X)
{
if (!button64.BackColor.Equals(Color.Yellow))
{
this.button64.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.C)
{
if (!button65.BackColor.Equals(Color.Yellow))
{
this.button65.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.V)
{
if (!button66.BackColor.Equals(Color.Yellow))
{
this.button66.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.B)
{
if (!button67.BackColor.Equals(Color.Yellow))
{
this.button67.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.N)
{
if (!button68.BackColor.Equals(Color.Yellow))
{
this.button68.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.M)
{
if (!button69.BackColor.Equals(Color.Yellow))
{
this.button69.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.Oemcomma)
{
if (!button70.BackColor.Equals(Color.Yellow))
{
this.button70.BackColor = Color.Yellow;
++i;
}
}
if (e == Keys.OemPeriod)
{
if (!button71.BackColor.Equals(Color.Yellow))
{
this.button71.BackColor = Color.Yellow;
++i;
}
//if (e == Keys.OemQuestion)
//{
// if (!button72.BackColor.Equals(Color.Yellow))
// {
// this.button72.BackColor = Color.Yellow;
// ++i;
// }
//}
if (e == Keys.Up)
{
if (!button74.BackColor.Equals(Color.Yellow))
{
this.button74.BackColor = Color.Yellow;
++i;
}
}
//if(i>=85)
//{
// MessageBox.Show(i.ToString());
//}
//if (e == Keys.End)
//{
// if (!button75.BackColor.Equals(Color.Yellow))
// {
// this.button75.BackColor = Color.Yellow;
// ++i;
// }
//}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -