Пример #1
0
 public FooTextBoxRangeProvider(FooTextBox textbox, int start, int length, FooTextBoxAutomationPeer peer)
 {
     this.textbox = textbox;
     this.start   = start;
     this.end     = start + length;
     _peer        = peer;
 }
Пример #2
0
 public FooTextBoxRangeProvider(FooTextBox textbox, FooTextBoxAutomationPeer peer)
     : this(textbox, 0, textbox.Document.Length, peer)
 {
 }