public UserControl1(TvShowsDataSource tvShowsDataSource) { InitializeComponent(); this.tvShowsDataSource = tvShowsDataSource; listShow.ItemsSource = tvShowsDataSource.Shows; this.Loaded += UserControl1_Loaded; }
public UserControl1(TvShowsDataSource tvShowsDataSource) { this.tvShowsDataSource = tvShowsDataSource; listShow.ItemsSource = tvShowsDataSource.Shows; this.Loaded += UserControl1_Loaded; }