public OpenFromGacDialog() { InitializeComponent(); listView.ItemsSource = filteredEntries; SortableGridViewColumn.SetCurrentSortColumn(listView, nameColumn); SortableGridViewColumn.SetSortDirection(listView, ColumnSortDirection.Ascending); new Thread(new ThreadStart(FetchGacContents)).Start(); }
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(); }
public UpgradeView(Solution solution) { if (solution == null) { throw new ArgumentNullException("solution"); } this.solution = solution; InitializeComponent(); this.entries = solution.Projects.OfType <IUpgradableProject>().Select(p => new Entry(p)).ToList(); listView.ItemsSource = entries; SortableGridViewColumn.SetCurrentSortColumn(listView, nameColumn); SortableGridViewColumn.SetSortDirection(listView, ColumnSortDirection.Ascending); ListView_SelectionChanged(null, null); }