protected override void OnDisabled() { base.OnDisabled(); airplaneModeWatcher.Stop(); airplaneModeWatcher.Changed -= AirplaneModeWatcher_Changed; AppDataHelper.AirplaneModeModuleEnabled = IsEnabled; }
protected override void OnDisabled() { base.OnDisabled(); airplaneModeWatcher.Stop(); airplaneModeWatcher.Changed -= AirplaneModeWatcher_Changed; Properties.Settings.Default.AirplaneModeModuleEnabled = IsEnabled; Properties.Settings.Default.Save(); }