Quote:
Originally Posted by tantanwind
Hi i have downlaoded your software, it get model list immediately after click button but the problem is it doesnt automatic update after 5minutes... have you changed in your setting?
|
I have tested this several times... you're running 1.0.0.3, correct? Check the about box.
Just waited 5 minutes and sure enough, it updated. Here is the code for the timer and the menu item. They are identical.
Code:
private void dispatcherTimer_Tick(object sender, EventArgs e)
{
_recorder.Run();
}
private void Model_Click(object sender, RoutedEventArgs e)
{
_recorder.Run();
}
What I don't think people understand is the data grabbed from MFC has a very flaky connection, doesn't matter how good your internet is. If you just wait for the timer over and over and over again, yes it's going to fail because of a WebException. This is why I added the manual check in the first place, so if it fails, you can simply do it again. I can
try to implement something that auto-retries the download on fail though.