private void TextViewTextChanged(object sender, EventArgs e)
            {
                if (_outputCount > 0)
                {
                    return;
                }

                var updateScheduler = UpdateScheduler.Begin();

                try
                {
                    _input(_converter.ConvertInput(_control.Text));
                }
                finally
                {
                    if (updateScheduler != null)
                    {
                        _inputCount++;
                        try
                        {
                            foreach (var update in updateScheduler.End())
                            {
                                update();
                            }
                        }
                        finally
                        {
                            _inputCount--;
                        }
                    }
                }
            }
 private void StepperValueChanged(object sender, EventArgs e)
 {
     _input(_converter.ConvertInput(_control.Value));
 }
Esempio n. 3
0
 private void TextEditingChanged(object sender, EventArgs e)
 {
     _input(_converter.ConvertInput(_control.Text));
 }