src/Misc/EFTools/EntityDesignPackage/CustomCode/MicrosoftDataEntityDesignCommandSet.cs
/// <summary>
///     Open the selected diagram in a new tab.
///     if the diagram is already opened, set the window frame to be visible and in focus.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
Open the selected diagram in a new tab.
if the diagram is already opened, set the window frame to be visible and in focus.
Open the selected diagram in a new tab . if the diagram is already opened set the window frame to be visible and in focus .
internal void OnMenuOpenDiagram(object sender, EventArgs e)
        {
            var contextItem = DiagramManagerContextItem;
            var explorerDiagram = SelectedExplorerItem as ExplorerDiagram;
            if (contextItem != null
                && explorerDiagram != null)
            {
                contextItem.DiagramManager.OpenDiagram(explorerDiagram.DiagramMoniker, true);
            }
        }
internal void OnMenuOpenDiagram ( object sender , EventArgs e ) { var contextItem = DiagramManagerContextItem ; var explorerDiagram = SelectedExplorerItem as ExplorerDiagram ; if ( contextItem != null && explorerDiagram != null ) { contextItem . DiagramManager . OpenDiagram ( explorerDiagram . DiagramMoniker , true ) ; } }
Open the selected diagram in a new tab.
Open the selected diagram in a new tab .
sender
object
None
e
EventArgs
None