I have checkbox
in a form and I want to receive the value of it in another form as boolean
, for example: CheckBox1.Checked = true
want to receive as value 1
, and CheckBox1.Checked = false
want to receive as value 0