110,533
社区成员
发帖
与我相关
我的任务
分享
Control^ contr = this->GetChildAtPoint(Point(53, 95))->GetChildAtPoint(Point(13, 41));
(CheckBox^)contr->Checked = true;
CheckBox^ CheckBox = gcnew System::Windows::Forms::CheckBox();
CheckBox->AutoSize = true;
CheckBox->Location = System::Drawing::Point(13, 41);
CheckBox->Name = L"checkBox" + ControlIndex;
CheckBox->Size = System::Drawing::Size(36, 16);
CheckBox->Text = checkBoxName;
CheckBox->UseVisualStyleBackColor = true;
panel->Controls->Add(CheckBox);
private List<Label> lb_list = new List<Label>();
lb_list.Add(label1);
lb_list.Add(label2);
……