void DownloadUpdate()
{
BeforeArgs bArgs = new BeforeArgs();
if (BeforeDownloading != null)
BeforeDownloading(this, bArgs);
if (bArgs.Cancel)
{
// close wyUpdate
updateHelper.Cancel();
return;
}
// if the control is hidden show it now (so the user can cancel the downloading if they want)
// show the 'working' animation
UpdateStepOn = UpdateStepOn.DownloadingUpdate;
updateHelper.DownloadUpdate();
}