public CustomArtistsRecommendAddArtistWindow(CustomArtistsRecommendWindow car) { InitializeComponent(); logic = new AutoCompleteLogic(TagSearchText, AutoComplete, AutoCompleteList, true, false); Owner = car; }
public CustomArtistsRecommendBookmarkWindow(CustomArtistsRecommendWindow car) { InitializeComponent(); BookmarktList.DataContext = new CustomArtistsRecommendationBookmarkDataGridViewModel(); BookmarktList.Sorting += new DataGridSortingEventHandler(new DataGridSorter <CustomArtistsRecommendationBookmarkDataGridItemViewModel>(BookmarktList).SortHandler); Owner = car; Loaded += CustomArtistsRecommendBookmarkWindow_Loaded; }