Ejemplo n.º 1
0
        void IValueConsumer.InputValueChanged(object sender, ValueChangedEventArgs e)
        {
            IValueProvider valueProvider = (IValueProvider)sender;

            if (valueProvider.GetProvderState() == ValueState.Interactive || valueProvider.GetProvderState() == ValueState.Playback)
            {
                dateValueStamp = e.Date;
                Value          = e.Value;
            }
        }
        void IValueConsumer.InputValueChanged(object sender, ValueChangedEventArgs e)
        {
            IValueProvider valueProvider = (IValueProvider)sender;

            if (valueProvider.GetProvderState() != ValueState.Interactive && valueProvider.GetProvderState() != ValueState.Playback)
            {
                return;
            }
            this.dateValueStamp = e.Date;
            this.Value          = e.Value;
        }