Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27061

Performance issue

$
0
0
I'm working on OSK program, i have created a custom Button inherited from System.Windows.Forms.Button, now i want to implement key repeater, that is when the button pressed by the mouse left button for half a second, it continuously send the button's scan code until the mouse release, to do that i'm using a timer.

I have two choices:

1- Defines the timer in my custom Button (in this case there will be more than 100 timers)
2- Defines the timer in my main form (in this case there will be only one timer)

Viewing all articles
Browse latest Browse all 27061

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>