how to create check boxes dynamically.

  • Thread starter Thread starter New Devil
  • Start date Start date
N

New Devil

hi all,
Can anybody tell me how to create checkboxes
dynamically..plz write the exact code if u can..
thanx
(e-mail address removed)
 
hope can help

private System.Windows.Forms.CheckBox checkBox2;
....
this.checkBox2 = new System.Windows.Forms.CheckBox();
.....
this.checkBox2.Location = new System.Drawing.Point(312, 272);
this.checkBox2.Name = "checkBox2";
this.checkBox2.Size = new System.Drawing.Size(40, 24);
this.checkBox2.TabIndex = 21;
this.checkBox2.Text = "No";
this.checkBox2.CheckedChanged += new
System.EventHandler(this.checkBox2_CheckedChanged);





New Devil said:
hi all,
Can anybody tell me how to create checkboxes
dynamically..plz write the exact code if u can..
thanx
(e-mail address removed)
 
Back
Top