public AddEditSearchFilterListDialog(CommonUtils.TabId tabId, List<SearchFilterList> existingSearchFilterLists) { InitializeComponent(); mModel = new AddEditSearchFilterListModel(tabId, existingSearchFilterLists) {View = this}; DataContext = mModel; Title = "Add New Favourite Search Filter"; }
public AddEditSearchFilterListDialog(int id, List<SearchFilterList> existingSearchFilterLists) { // Required to initialize variables InitializeComponent(); mModel = new AddEditSearchFilterListModel(id, existingSearchFilterLists) {View = this}; mModel.DataSourceLoaded += model_DataSourceLoaded; Title = "Edit Favourite Search Filter"; }