src/Misc/EFTools/DesignXmlCore/VisualStudio/Package/DocumentFrameMgr.cs
/// <summary>
///     Used when we need to update the tool windows for the active frame. This is a wrapper around
///     UpdateToolWindowsForFrame.
/// </summary>
/// <param name="closingFrame"></param>
Used when we need to update the tool windows for the active frame. This is a wrapper around
UpdateToolWindowsForFrame.
Used when we need to update the tool windows for the active frame . This is a wrapper around UpdateToolWindowsForFrame .
private void UpdateToolWindowsAndCmdsForActiveFrame(FrameWrapper closingFrame)
        {
            object pvarValue;
            NativeMethods.ThrowOnFailure(_sel.GetCurrentElementValue((uint)VSConstants.VSSELELEMID.SEID_DocumentFrame, out pvarValue));
            var activeFrame = CreateFrameWrapper(pvarValue as IVsWindowFrame);
            if (!activeFrame.Equals(closingFrame))
            {
                UpdateToolWindowsAndCmdsForFrame(activeFrame);
            }
        }
private void UpdateToolWindowsAndCmdsForActiveFrame ( FrameWrapper closingFrame ) { object pvarValue ; NativeMethods . ThrowOnFailure ( _sel . GetCurrentElementValue ( ( uint ) VSConstants . VSSELELEMID . SEID_DocumentFrame , out pvarValue ) ) ; var activeFrame = CreateFrameWrapper ( pvarValue as IVsWindowFrame ) ; if ( ! activeFrame . Equals ( closingFrame ) ) { UpdateToolWindowsAndCmdsForFrame ( activeFrame ) ; } }
Used when we need to update the tool windows for the active frame.
Used when we need to update the tool windows for the active frame .
closingFrame
FrameWrapper
None