开发工具:VS2010;.net framework 3.5
一、程序运行截图:
二、主要代码:
private void mFile_Quit_Click(object sender, EventArgs e)
{
this.Close();
}
private void mColor_Red_Click(object sender, EventArgs e)
{
this.BackColor = Color.Red;
}
private void mColor_Yellow_Click(object sender, EventArgs e)
{
this.BackColor = Color.Yellow;
}
private void mColor_Blue_Click(object sender, EventArgs e)
{
this.BackColor = Color.Blue;
}
private void mHelp_About_Click(object sender, EventArgs e)
{
MessageBox.Show("关于...", "提示");
}
三、提示:
查看操作实录视频请关注“业余码农说”,查看发布的同名视频即可
领取专属 10元无门槛券
私享最新 技术干货