qt5 vs2010怎样添加多个对话框

2024-12-04 08:43:25
推荐回答(1个)
回答(1):

void checkBox1_CheckedChanged(object sender, EventArgs e)
{
CheckBox checkcontrol = sender as CheckBox;
if (checkcontrol.Checked == true)
{
foreach (Control item in this.panel1.Controls)
{
if (item == sender)