Пример #1
0
        /// ------------------------------------------------------------------------------------
        private string GetMediaInfo()
        {
            try
            {
                return(MediaFileInfo.GetInfoAsHtml(_mediaFilePath, _buttonLessInfo.Visible));
            }
            catch (Exception e)
            {
                var msg = LocalizationManager.GetString(
                    "DialogBoxes.ComponentEditors.MediaFileMoreInfoDlg.GettingInfoErrorMsg",
                    "There was an error trying to get more information for the media file:\r\n\r\n{0}");

                ErrorReport.NotifyUserOfProblem(e, msg, _mediaFilePath);
                return(null);
            }
        }