What is better. getting the value of trackbar.Maximum or first store it in a variable?

  • Thread starter Thread starter Bilo
  • Start date Start date
B

Bilo

Hi,
I use trackbar.Maximum in a timer. Is there any performance difference to
get it via
trackbar.Maximum or first store the value in a int integer and use that?
Or is it cshap internal the same?
 
I use trackbar.Maximum in a timer. Is there any performance difference to
get it via
trackbar.Maximum or first store the value in a int integer and use that?
Or is it cshap internal the same?

That depends on the implementation. You can measure the time difference if
you want to be sure.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top