Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I've just written a small diag form that show all the needed setting for my apps. But I would like to display the load time for the add-on in the form. But I have not been able to located the data.
Posted

1 solution

Use the Stopwatch class. See http://msdn.microsoft.com/en-us/library/system.diagnostics.stopwatch.aspx[^]

Reset it as early as you can in your code and then get the Elapsed time just before you show the form.
 
Share this answer
 
Comments
Menon Santosh 31-Oct-11 14:23pm    
Nice Article ;)
Espen Harlinn 31-Oct-11 15:51pm    
Good idea :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900