2
Answers

transfer checkboxes

Photo of Majid Kamali

Majid Kamali

14y
1.7k
1
Hello.
I have a Form1 that has about 40 check boxes. some of them must be checked. after checking some of them and pressing OK, I want to create a new Form that has checked check boxes.
What should I do ?
Thanks

Answers (2)

0
Photo of Majid Kamali
NA 315 213.4k 14y
Where should I declare this array or list that can access from both forms?
0
Photo of Koteswararao Mallisetti
NA 1.1k 468.9k 14y
object is super class for every thing in .net so we can take all that check boxes into object arry and in the destination form we explicitly covert that objects into chekboxes other wise use generics concept

list<checkbox> cklist= new list<checkBox>();