示例#1
0
        private async void refreshButton_Click(object sender, EventArgs e)
        {
            if (!this.LoadingActive)
            {
                App.TrackEvent("ViewShow", "Refresh");
                this.LoadingActive = true;

                String tvdbId = this.Show.tvdb_id;

                App.ShowViewModel.Name = null;
                App.ShowViewModel.RefreshAll();

                if (await showController.deleteShow(this.Show))
                {
                    LoadShow(tvdbId);
                }

                this.LoadingActive = false;
            }
        }