Beispiel #1
0
        protected virtual void OnOpenSourceDocument(FileInfo fi, byte[] content)
        {
            InputDocumentOpenDelegate handler = InputDocumentOpened;

            if (handler != null)
            {
                handler(fi, content);
            }
        }
Beispiel #2
0
        /**
         *
         */

        protected virtual void OnOpenInputDocument(FileInfo fileInfo, byte[] content)
        {
            SetContent(fileInfo, content);
            InputDocumentOpenDelegate handler = OpenInputDocument;

            if (handler != null)
            {
                handler(fileInfo, content);
            }
        }