示例#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;
 }