[C#] Subclass a control and create a MouseDown event handler


Recommended Posts

I'm using the Krypton Toolkit in my next application and I'm actually using the KryptonTextBox control where I need to handle the MouseDown event. The problem is that KryptonTextBox doesn't handle the event OnMouseDown so I need to subclass the KryptonTextBox and implement my own MouseDown event.

I know how to subclass something, I just don't know how to create my own MouseDown event.

Can someone help me out?

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

  • Recent Achievements

    • Dedicated
      Stephen Leibowitz earned a badge
      Dedicated
    • Dedicated
      Snake Doc earned a badge
      Dedicated
    • One Month Later
      Philsl earned a badge
      One Month Later
    • One Year In
      armandointerior640 earned a badge
      One Year In
    • One Month Later
      armandointerior640 earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      613
    2. 2
      ATLien_0
      235
    3. 3
      Xenon
      157
    4. 4
      +FloatingFatMan
      124
    5. 5
      Michael Scrip
      113
  • Tell a friend

    Love Neowin? Tell a friend!