How long does this line take to run?

  • Thread starter Robbe Morris [C# MVP]
  • Start date
D

dbuchanan

Hi Robbe,

The code takes a full five seconds on the first call. It is
instantaneous on each call thereafter.

1.) open the windows form
2.) select the job in the first comboBox
3.) select the view in the second comboBox
.... view the data in the datagrid
4.) Click the Reset button to make another selection
....
....
....
....
.... wait a ful 5 seconds for the form to reset (datagrid and combo
boxes are cleared and reset)
5.) select the job in the first comboBox
6.) select the view in the second comboBox
.... view the data
7.) Click the Reset button
instantaneous reset ready for the user to begin another selection.

Thank you,
dbuchanan
 

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

Top