From d53e14fc9b7186c0cd2fb58f0f2f175e927fcbdc Mon Sep 17 00:00:00 2001
From: Sentinel209_cp <5b554accd9e292fcb886b205d8d4c32c5d52ce2df5Ng6vpx>
Date: Mon, 18 Jul 2011 13:49:08 +0000
Subject: [PATCH] Assembly ToolWindow Toolbar
---
source/Cosmos.sln | 2 +-
source2/VSIP/Cosmos.VS.Windows/AssemblyTW.cs | 2 +
.../Cosmos.VS.Windows/Cosmos.VS.Windows.vsct | 42 ++++++++++++++++++-
source2/VSIP/Cosmos.VS.Windows/Guids.cs | 2 +
source2/VSIP/Cosmos.VS.Windows/PkgCmdID.cs | 5 +++
5 files changed, 51 insertions(+), 2 deletions(-)
diff --git a/source/Cosmos.sln b/source/Cosmos.sln
index c1df95be2..4ee038a13 100644
--- a/source/Cosmos.sln
+++ b/source/Cosmos.sln
@@ -88,7 +88,7 @@ Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "Docs", "..\Docs", "{67E7DEF
Release.AspNetCompiler.ForceOverwrite = "true"
Release.AspNetCompiler.FixedNames = "false"
Release.AspNetCompiler.Debug = "False"
- VWDPort = "1747"
+ VWDPort = "49612"
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cosmos.Compiler.Debug", "..\source2\IL2CPU\Cosmos.IL2CPU.Debug\Cosmos.Compiler.Debug.csproj", "{9998B4EA-385E-4DA2-8905-2BBEB5B2C6E2}"
diff --git a/source2/VSIP/Cosmos.VS.Windows/AssemblyTW.cs b/source2/VSIP/Cosmos.VS.Windows/AssemblyTW.cs
index b344abc56..d1b8c9d2c 100644
--- a/source2/VSIP/Cosmos.VS.Windows/AssemblyTW.cs
+++ b/source2/VSIP/Cosmos.VS.Windows/AssemblyTW.cs
@@ -7,6 +7,7 @@ using System.Windows;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.Shell;
+using System.ComponentModel.Design;
namespace Cosmos.Cosmos_VS_Windows
{
@@ -26,6 +27,7 @@ namespace Cosmos.Cosmos_VS_Windows
public AssemblyTW() : base(null)
{
+ this.ToolBar = new CommandID(GuidList.guidAsmToolbarCmdSet, (int)PkgCmdIDList.AsmToolbar);
this.Caption = "Cosmos Assembly Window";
// Set the image that will appear on the tab of the window frame
diff --git a/source2/VSIP/Cosmos.VS.Windows/Cosmos.VS.Windows.vsct b/source2/VSIP/Cosmos.VS.Windows/Cosmos.VS.Windows.vsct
index 4dcda5626..968c78885 100644
--- a/source2/VSIP/Cosmos.VS.Windows/Cosmos.VS.Windows.vsct
+++ b/source2/VSIP/Cosmos.VS.Windows/Cosmos.VS.Windows.vsct
@@ -42,6 +42,13 @@