예제 #1
0
        public void DoCommand(object commandTag)
        {
            var docTag = commandTag.As <HelpDocumentTag>();

            if (docTag == null)
            {
                return;
            }

            try
            {
                SledUtil.ShellOpen(docTag.File);
            }
            catch (Exception ex)
            {
                SledOutDevice.OutLine(
                    SledMessageType.Error,
                    "SledAboutDocumentService: Exception " +
                    "opening doc file \"{0}\": {1}",
                    docTag.File, ex.Message);
            }
        }