private void menuEdit_FormatXml(object sender, System.EventArgs ea)
{
RdlEditPreview e = GetEditor();
if (e == null)
return;
if (e.Text.Length > 0)
{
try
{
e.Text = DesignerUtility.FormatXml(e.Text);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, Strings.RdlDesigner_Showl_FormatXML);
}
}
}