public ChooseExceptionsDialog(IEnumerable <ExceptionFilterEntry> entries) { InitializeComponent(); FormLocationHelper.ApplyWindow(this, "Debugger.ChooseExceptionsDialog", true); ExceptionFilterList = new ObservableCollection <ExceptionFilterEntry>(entries); dataGrid.ItemsSource = ExceptionFilterList; }
public OpenFromGacDialog() { InitializeComponent(); FormLocationHelper.ApplyWindow(this, "ICSharpCode.SharpDevelop.Dom.OpenFromGacDialog.Bounds", true); listView.ItemsSource = filteredEntries; SortableGridViewColumn.SetCurrentSortColumn(listView, nameColumn); SortableGridViewColumn.SetSortDirection(listView, ColumnSortDirection.Ascending); new Thread(new ThreadStart(FetchGacContents)).Start(); }