void auBackend_BeforeChecking(object sender, BeforeArgs e)
{
// disable any scheduled checking
tmrWaitBeforeCheck.Enabled = false;
SetMenuText(translation.CancelCheckingMenu);
if (BeforeChecking != null)
{
BeforeChecking(this, e);
}
if (e.Cancel)
{
// close wyUpdate
auBackend.Cancel();
return;
}
// show the working animation
SetUpdateStepOn(UpdateStepOn.Checking);
UpdateProcessing(false);
// setup the context menu
CreateMenu(MenuType.CheckingMenu);
}