private void OnArgosyDaysChange(object source, DaysLeftEventArgs args) { Dispatch(() => { this.ArgosyWarnIcon.Visibility = args.Modifier ? Visibility.Visible : Visibility.Hidden; ArgosyDaysText.Text = args.Days.ToString(); }); }
private void OnTailraidersQuestChange(object source, DaysLeftEventArgs args) { Dispatch(() => { this.TailraidersWarnIcon.Visibility = (args.Modifier && args.Days == 0) ? Visibility.Visible : Visibility.Hidden; TailraidersDaysText.Text = args.Days.ToString(); }); }