public void QuakeListener(object sender, QuakeEventArgs e) { FlipTileController ftc = new FlipTileController(); if (e != null && e.Status == GeonetSuccessStatus.Success) // If e is null or unsuccesful, we have no data connection { ftc.UpdateFlipTile(e.Quakes); } else { ftc.ClearFlipTile(); } NotifyComplete(); }
private void LiveTileToggleSwitch_Unchecked(object sender, RoutedEventArgs e) { ScheduledTaskHelper.Remove(); var ftc = new FlipTileController(); ftc.ClearFlipTile(); }