ListView 某一列怎么添加checkbox
1个回答
展开全部
string[] list = new string[] { "张三", "李四", "王五" };
int x = 0, y = 0;
foreach (string item in list)
{
CheckBox cb = new CheckBox();
cb.Text = item;
cb.Location = new Point(x, y);
clbInvisibleColumn.Controls.Add(cb);
y += 22;
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询