protected override void OnPreInit() { base.OnPreInit(); ApplicationEvents.UpdateData.Execute += (sender, e) => UpgradeProcedure.Update(); }
/// <summary> /// Updates the application data to a newer version if necessary /// </summary> private void Update(object sender, EventArgs eventArgs) { UpgradeProcedure.Update(); }