更新时间:2022-10-16 21:41:33
对该复选框的已检查事件编写代码
foreach (CheckBox chk in form.Controls)
{
chk.Checked = true ;
}
或
查看这些主题
http:// forums.devshed.com/c-programming-42/check-all-checkboxes-in-windows-form-c-620891.html [ ^ ]
http://***.com / questions / 9582852 / check-all-checkboxes-in-list-by-single-checkbox-click [ ^ ]
Note it is windows application
In run mode as follows;
Select sess1 sess2 sess3 sess4(column Name)
Checkbox5 Checkbox1 Checkbox2 Checkbox3 Checkbox4
in the run mode,
when i select the Checkbox5, i want to reamining four checkbox from Checkbox1 to Checkbox4 to be checked automatically.
for that how can i do using sharp.
Please help me.
Regards,
Narasiman P.
on checked event of that checkbox write codeforeach(CheckBox chk in form.Controls) { chk.Checked = true; }
OR
check these threads
http://forums.devshed.com/c-programming-42/check-all-checkboxes-in-windows-form-c-620891.html[^]
http://***.com/questions/9582852/checking-all-checkboxes-in-list-by-single-checkbox-click[^]