📜  c#代码示例中的复选框

📅  最后修改于: 2022-03-11 14:48:58.231000             🧑  作者: Mango

代码示例1
dynamicCheckBox.Checked = true;  

/////////////////////////////////////////

    if (dynamicCheckBox.Checked)  
    {  
    // Do something when CheckBox is checked  
    }  
    else  
    {  
    // Do something here when CheckBox is not checked  
    }