Hi all,
I know I have seen this discussed somewhere, but cannot find it for some reason. I'm using VB.NET 05.
Inside the CheckedChanged event for a checkbox on my form, I have some code to perform. I check the state of the box, and if it is checked I add a flag to a patient class.
The problem is that the event fires every time the form opens. How can I ignore this event until the check box actually changes?
Thanks
I know I have seen this discussed somewhere, but cannot find it for some reason. I'm using VB.NET 05.
Inside the CheckedChanged event for a checkbox on my form, I have some code to perform. I check the state of the box, and if it is checked I add a flag to a patient class.
Code:
pt.NonCompliant = chkNonComp.Checked
pt.Update()
The problem is that the event fires every time the form opens. How can I ignore this event until the check box actually changes?
Thanks