Hey There!
I have accessed a UI checkbox control to disable it on load if the field value it true. I have done it like this:
Control chkReceived = csm.GetNativeControlReference("myControlGUID");
However it it appears that even though it it successfully disabled and does not operate on a single click, it can be reactivated on a double click…
Is there any code for me to cancel this doubleClick event? In VB.Net i would do something like:
Private Sub MyCheckBox_DoubleClick(ByVal sender As Object, ByVal e As EventArgs)
e.Handled = True
End Sub
in C#, i’ll assume
private void MyCheckBox_DoubleClick(object sender, System.EventArgs args)
{
args.Handled = True
}
However System.EventArgs doesnt have a definition for Handled as per the error message
I need a way to prevent the chkbox enabling on a double click
Thanks