visual studio - Automatically changing the toolbars and windows shown in different views in VS 2008 -


There is a way to automatically find the Visual Studio 2008 when the tool window is changed to see if the view is changing from To do?

I'm doing the code in the view, I can see Solutions Explorer and Classroom windows, but not the Properties window. When I switch to the Design view, I do not want to have Solution Explorer or Class view, but I want the properties to come up. Visual Studio can change these things for me instead of doing it myself everytime I switch to a scene?

It seems as if this facility exists or does not seem to be an easy thing to do, but I am not able to find anything about it. Maybe I have misinterpretation I am using.

After

Thank you for the swan for pointing me macros in your comment, and to answer I came up with a solution based on the bulk pettys' code of it, but I added an event handler for WindowActivated event where I decided what should I load the footage Private sub WindowEvents_WindowActivated (ByVal GotFocus as EnvDTE.Window, byVal LostFocus EnvDTE.Window) WindowEvents.WindowActivated then GotFocus.Kind = "Document" then GotFocus.Caption.Contains ("[Design]") then LoadDesignView () or LoadCodeView () end if end then End Sub


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -