private void button1_Click(object sender, EventArgs e)
{//设置应用程序图标
string MyFileName = Application.StartupPath + "\\MyIcon.ico";
this.Icon = new Icon(MyFileName);
}
private void button1_Click(object sender, EventArgs e)
{//设置应用程序图标
string MyFileName = Application.StartupPath + "\\MyIcon.ico";
this.Icon = new Icon(MyFileName);
}

被折叠的 条评论
为什么被折叠?