src/Misc/EFTools/DesignXmlCore/Common/RdtManager.cs
/// <summary>
///     Sets the focus to the active document, if there is one.
/// </summary>
Sets the focus to the active document, if there is one.
Sets the focus to the active document if there is one .
public void SetFocusToActiveDocument()
        {
            var dte = _dte;
            if (dte != null)
            {
                var document = dte.ActiveDocument;
                if (document != null)
                {
                    document.Activate();
                }
            }
        }
public void SetFocusToActiveDocument ( ) { var dte = _dte ; if ( dte != null ) { var document = dte . ActiveDocument ; if ( document != null ) { document . Activate ( ) ; } } }
Sets the focus to the active document, if there is one.
Sets the focus to the active document if there is one .