展开全部
private void Check1_CheckedChanged(object sender, EventArgs e)
{
CheckBox ck = sender as CheckBox;
if (ck.Checked)
{
ck.Font = new System.Drawing.Font("宋体", 9, System.Drawing.FontStyle.Bold);
ck.ForeColor = System.Drawing.Color.Green;
}
else
{
ck.Font = new System.Drawing.Font("宋体", 9);
ck.ForeColor = System.Drawing.Color.Black;
}
}
说明:62616964757a686964616fe58685e5aeb931333335336439
对checkBox1的CheckedChanged事件编程