Most of it is actually Archie's code from the CheckBox control.
Be aware that if you set the PLCAddressChecked property then it will be controlling the checked state of the RadioButton (clicking the button in this case will only have momentary effect). This seems to apply to the CheckBox control as well.