Skip to content

Commit

Permalink
Internal method to open LayoutXML view
Browse files Browse the repository at this point in the history
  • Loading branch information
rappen committed Aug 20, 2023
1 parent ca778eb commit 11d15d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions FetchXmlBuilder/FXBGui.cs
Original file line number Diff line number Diff line change
Expand Up @@ -906,5 +906,10 @@ private void ShowResultControl(string content, ContentType contenttype, SaveForm
resultControl.EnsureVisible(dockContainer, defaultstate);
resultControl.UpdateXML(content);
}

internal void ShowLayoutXML()
{
ShowContentControl(ref dockControlLayoutXml, ContentType.LayoutXML, SaveFormat.None, settings.DockStates.LayoutXML);
}
}
}
2 changes: 1 addition & 1 deletion FetchXmlBuilder/FetchXmlBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ private void tsmiShowPowerPlatformCLI_Click(object sender, EventArgs e)

private void tsmiShowLayoutXML_Click(object sender, EventArgs e)
{
ShowContentControl(ref dockControlLayoutXml, ContentType.LayoutXML, SaveFormat.None, settings.DockStates.LayoutXML);
ShowLayoutXML();
}

private void tsmiShowOData_Click(object sender, EventArgs e)
Expand Down

0 comments on commit 11d15d5

Please sign in to comment.