Code |
Get the CheckState of a checkbox on another form?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Code |
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Krishna GaradRank #191 · 12.8K reputationPosted Jan 27, 2011, 6:24 PM EST
In frmSettings
anotherform obj=new anotherform();
obj.checkboxstate=CheckBoxState;
In Another form
internal bool chekboxstate;
this checkboxstate will give you the state you set on frmSettings.
FroglegRank #1,020 · 1.9K reputationPosted Jan 27, 2011, 9:17 PM EST
Any way here's a sample of two forms
Suthish NairRank #92 · 22.8K reputationPosted Jan 30, 2011, 8:21 AM EST
So other members can easily find the answers.