예제 #1
0
        protected override void Dispose(bool disposing)
        {
            if (_ole != null)
            {
                Marshal.ReleaseComObject(_ole);
            }

            _ole      = null;
            _document = null;

            base.Dispose(disposing);
        }
예제 #2
0
 internal RichTextRange(RichTextDocument document, ITextRange range)
 {
     _document = document;
     _range    = range;
 }
예제 #3
0
 internal RichTextSelection(RichTextDocument document, ITextSelection selection)
     : base(document, selection)
 {
     _selection = selection;
 }