private void on_ShowViewClicked(object sender, ShowTileViewModel showView) { if (!IsVisible) { Show(); } OnShowViewClicked(showView); }
public void RemoveShow(ShowTileViewModel show) { if (Shows.Contains(show)) { show.Show.PropertyChanged -= Show_PropertyChanged; Shows.Remove(show); } }
private void OnShowViewClicked(ShowTileViewModel showTileView) { var showView = showTileView.ShowViewModel; _selectedEpisodeTreeItems.Clear(); ShowGrid.DataContext = showView; FilterFlyout.DataContext = showView; SwitchPage(1); }
public void AddShow(ShowTileViewModel show) { if (!Shows.Contains(show)) { Shows.Add(show); show.Show.PropertyChanged += Show_PropertyChanged; Setting.Sort(Shows); } }
private void OnShowViewClicked(ShowTileViewModel obj) { if (ShowViewClicked != null) { ShowViewClicked(this, obj); } TaskbarIcon taskbarIcon = TaskbarIcon.GetParentTaskbarIcon(this); taskbarIcon.CloseBalloon(); }