I J

I J

  • NA
  • 6
  • 2.3k

C#.NET custom button sending clickevent twice?

Aug 18 2013 12:15 AM
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)