Esempio n. 1
0
        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();
        }
Esempio n. 3
0
        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);
        }