If (UpdateTried=True) Then 'this Global Boolean is set to True in the _UpdateComplete Event.
Dim Check As Int
Check=Msgbox2( MyResources.getapplicationString("UpdateTried"),MyResources.getapplicationString("UpdateTriedTitle"), MyResources.getapplicationString("UpdateTriedButtonFollowingUpdates"),"",MyResources.getapplicationString("UpdateTriedButtonCancelUpdates"),Null)
If (Check=DialogResponse.negative)Then
AutoUpdate=0 'Global Var holding the Setting for AutoUpdate
StateManager.SetSetting("AutoUpdate",AutoUpdate)
chbxAutoUpdate.Checked=False 'The OptionsView in which the AutoUpdate Setting can be set manualy
StateManager.SaveSettings
End If
UpdateTried=False 'Reset the Boolean for further use.
End If