Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
private delegate void MyEventHandler();
private void DownloadUpdates(MyEventHandler OnUpdate, MyEventHandler OnFinish)
{
try
{
SetProgress(5);
MessageLabel.Do(ctl => ctl.Text = AvailableUpdate.DownloadingUpdateLabelText);
//software updates always take precedence over data updates
SetProgress(50);
OnUpdate();
SetProgress(100);
OnFinish();
}
catch (Exception e)
{
// error handler code here
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.