private void ChangeText(object sender, RangeAddressEventArgs args) { Dispatcher.Invoke(new Action(() => { if (_focusedBox != null) { _focusedBox.Text = args.Address; _focusedBox.CaretIndex = _focusedBox.Text.Length; } })); }
private void ChangeText(object sender, RangeAddressEventArgs args) { Invoke(new Action(() => { if (_focusedBox != null) { _focusedBox.Text = args.Address; _focusedBox.Select(_focusedBox.Text.Length, 0); } })); }