背景色~和圖片的變換~
bool one;
private void button6_Click(object sender, EventArgs e)
{
if (one == true)
{
button1.BackColor = Color.Red;
one = false;
}
else
{
button1.BackColor = Color.Silver;
one = true;
}
//button1.BackgroundImage = Image.FromFile(@"\圖片地址");//DEBUG下 的路徑 用\就行
}