예제 #1
0
        private void BuzzCharacterSystemInformationUpdated(object sender, Models.Events.SystemUpdatedEventArgs e)
        {
            if (e.OldSystemName == e.NewSystemName)
            {
                return;
            }

            AnimateBackground(BackgroundGrid, Colors.LightGreen, Colors.Transparent, TimeSpan.FromSeconds(30), 1);
        }
예제 #2
0
        private void BuzzCharacterSystemInformationUpdated(object sender, Models.Events.SystemUpdatedEventArgs e)
        {
            if (e.OldSystemName == e.NewSystemName)
            {
                return;
            }

            if (CurrentViewModel.WaypointSystems.Contains(e.NewSystemId))
            {
                var lighterBlue = Colors.LightSkyBlue;
                lighterBlue.A = 100;
                CurrentViewModel.WaypointSystems.Remove(e.NewSystemId);
                AnimateBackground(BackgroundGrid, Colors.LightSkyBlue, lighterBlue, TimeSpan.FromSeconds(Properties.Settings.Default.SystemChangeFadeTime), 1);
            }
            else
            {
                AnimateBackground(BackgroundGrid, Colors.LightGreen, Colors.Transparent, TimeSpan.FromSeconds(Properties.Settings.Default.SystemChangeFadeTime), 1);
            }
        }