Exemplo n.º 1
0
        /// <summary>
        /// Process the current solution this project resides in by language
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ProcessCurrentSolutionButton_Click(object sender, EventArgs e)
        {
            listView1.Items.Clear();
            var projectType = ((ProjectType)ProjectTypeComboBox.SelectedItem).Extension;

            Operations.BuilderPackageTable(GetFoldersToParent.GetSolutionFolderPath(), projectType);

            Solution = Operations.Solution;
            DisplayDetails();
        }
        /// <summary>
        /// Process the current solution this project resides in by language
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ProcessCurrentSolutionButton_Click(object sender, EventArgs e)
        {
            MainListView.Items.Clear();

            var projectType = ((ProjectType)ProjectTypeComboBox.SelectedItem).Extension;

            Operations.BuilderPackageTable(GetFoldersToParent.GetSolutionFolderPath(), projectType);

            Solution = Operations.Solution;

            DisplayDetails();
            ExportToWebPageButton.Enabled = Solution.Packages.Any();

            PackageComboBox.DataSource = Operations.DistinctPackageNames();
        }