3
Answers

C#.NET custom button sending clickevent twice?

I J

I J

11y
1k
1
I am using a custom button called "XButton" and it seems to always send the ClickEvent twice?

Here is the code for it (also grabbed from this video: http://www.youtube.com/watch?v=ZkVkQZ2yNjU

XButton Class:

http://pastebin.com/nPiWCSQp

ColorTable Class:

http://pastebin.com/6z2TGvkb

I actually modified the pastebin links from the original to meet my needs but I only messed with the ColorTable to change OFFICEWHITE button.
Answers (3)