Say I have a Button1.OnClick event linked to Button1Click procedure. I also have Button2.OnClick linked to some other procedure. How do I check that both events are linked to different or same procedure from runtime?
I tried to test if:
- Button1.OnClick = Button2.OnClick, but that gave me an error (Not enough actual parameters)
- @(Button1.OnClick) = @(Button2.OnClick), error again (Not enough actual parameters)
How do I test it properly?