src/Misc/EFTools/EntityDesignPackage/CustomCode/MicrosoftDataEntityDesignDocView.cs
/// <summary>
///     Tack Diagram title information in Window caption.
/// </summary>
Tack Diagram title information in Window caption.
Tack Diagram title information in Window caption .
[SuppressMessage("Microsoft.Usage", "CA1806:DoNotIgnoreMethodResults", MessageId = "Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.SetProperty(System.Int32,System.Object)")]
        private void UpdateWindowFrameCaption()
        {
            var entityDesignerDiagram = Diagram as EntityDesignerDiagram;
            if (entityDesignerDiagram != null)
            {
                if (!String.IsNullOrEmpty(entityDesignerDiagram.Title))
                {
                    Frame.SetProperty(
                        (int)__VSFPROPID.VSFPROPID_EditorCaption,
                        String.Format(CultureInfo.CurrentCulture, Resources.EditorCaptionFormat, entityDesignerDiagram.Title));
                }
            }
        }
[ SuppressMessage ( " " , " " , MessageId = " " ) ] private void UpdateWindowFrameCaption ( ) { var entityDesignerDiagram = Diagram as EntityDesignerDiagram ; if ( entityDesignerDiagram != null ) { if ( ! String . IsNullOrEmpty ( entityDesignerDiagram . Title ) ) { Frame . SetProperty ( ( int ) __VSFPROPID . VSFPROPID_EditorCaption , String . Format ( CultureInfo . CurrentCulture , Resources . EditorCaptionFormat , entityDesignerDiagram . Title ) ) ; } } }
Tack Diagram title information in Window caption.
Tack Diagram title information in Window caption .