void Wrapper_LoadSolutionAsyncCompleteEvent(object sender, PKStudio.PortingKitWrapper.LoadSolutionAsyncCompletedEventArgs e) { mSolutionExplorer.Show(dockPanel1, DockState.DockLeft); uVisionProjectGenerationToolStripMenuItem.Visible = true; buildToolStripMenuItem1.DropDownItems.Clear(); rebuildToolStripMenuItem.DropDownItems.Clear(); //BuildAllItem AddToolStripMenuItem(buildToolStripMenuItem1, "All Projects", "Build", BuildAllItem_Click, true); //BuildLocalAllItem AddToolStripMenuItem(buildLocalToolStripMenuItem, "All Projects", "BuildLocal", BuildAllItem_Click, true); //FastBuildAllItem AddToolStripMenuItem(fastBuildToolStripMenuItem, "All Projects", "FastBuild", BuildAllItem_Click, true); //ReBuildAllItem AddToolStripMenuItem(rebuildToolStripMenuItem, "All Projects", "Rebuild", BuildAllItem_Click, true); foreach (ProjectWrapper proj in e.Solution.Projects) { //BuildItem AddToolStripMenuItem(buildToolStripMenuItem1, proj.Name, proj, BuildItem_Click); //BuildLocalItem AddToolStripMenuItem(buildLocalToolStripMenuItem, proj.Name, proj, BuildLocalItem_Click); //FastBuildItem AddToolStripMenuItem(fastBuildToolStripMenuItem, proj.Name, proj, FastBuildItem_Click); //ReBuildItem AddToolStripMenuItem(rebuildToolStripMenuItem, proj.Name, proj, ReBuildItem_Click); } buildToolStripMenuItem.Visible = true; BuildTypeCB.Items.Clear(); BuildTypeCB.Items.Add("Debug"); BuildTypeCB.Items.Add("Release"); BuildTypeCB.Items.Add("RTM"); BuildTypeCB.Items.Add("Instrumented"); BuildTypeCB.SelectedIndex = 0; BuildTypeCB.Visible = true; BuildMediaTypeCB.Items.Clear(); BuildMediaTypeCB.Items.Add("FLASH"); BuildMediaTypeCB.Items.Add("RAM"); BuildMediaTypeCB.SelectedIndex = 0; BuildMediaTypeCB.Visible = true; BuildToolStripSeparator.Visible = true; mOutputForm.ClearAll(); mErrorListForm.ClearAll(); }
void PKWrapper_LoadSolutionAsyncCompleteEvent(object sender, PKStudio.PortingKitWrapper.LoadSolutionAsyncCompletedEventArgs e) { SetModel(new InventoryBrowserModel(new SolutionNode(e.Solution, null))); }