T
Tobias Froehlich
Hi,
I have a form called form1 on which there are a lot of checkBoxes
(they form a 8x6 field). I'd like to create a class in a seperate .cs
file which gives some control over these checkBoxes (for example to
make them all unchecked).
So I now created a .cs file for this class, but I can't access the
checkBox elements on form1. They are both in the same namespace by the
way. What do I need to do? I tried to access it via Form1.CheckBox1
and CheckBox1. I did not use inheritance, do i need to?
Thanks in advance.
PS: Yes i am a newbie![Smile :) :)](/styles/default/custom/smilies/smile.gif)
I have a form called form1 on which there are a lot of checkBoxes
(they form a 8x6 field). I'd like to create a class in a seperate .cs
file which gives some control over these checkBoxes (for example to
make them all unchecked).
So I now created a .cs file for this class, but I can't access the
checkBox elements on form1. They are both in the same namespace by the
way. What do I need to do? I tried to access it via Form1.CheckBox1
and CheckBox1. I did not use inheritance, do i need to?
Thanks in advance.
PS: Yes i am a newbie
![Smile :) :)](/styles/default/custom/smilies/smile.gif)