展开全部
private void checkBox1_CheckedChanged(object sender, System.EventArgs e)
{
// Determine the CheckState of the check box.
if (checkBox1.CheckState == CheckState.Checked)
{
Label1.Text = "CheckBox1 selection is: " + CheckBox1.Checked.ToString(); }
}
{
// Determine the CheckState of the check box.
if (checkBox1.CheckState == CheckState.Checked)
{
Label1.Text = "CheckBox1 selection is: " + CheckBox1.Checked.ToString(); }
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询