private void ATMLTranslatorOutputWindow_AtmlFileSaved( object sender, string fileName, byte[] content, AtmlFileType atmlFileType) { if (atmlFileType == AtmlFileType.AtmlTypeTestDescription) { atmlPreviewPanel.Text = Encoding.UTF8.GetString( content ); atmlPreviewPanel.InitForXML(); SetControlStates(); } }