Function: radio button, generally used to set or select a certain task.
Common properties:
Common events:
selected event
Code behind:
private void radioButton1_CheckedChanged(object sender, EventArgs e)
{
if (radioButton1.Checked)
{
MessageBox.Show(radioButton1.Name + "选中");
}
else
{
MessageBox.Show(radioButton1.Name + "取消选中");
}
}