示例#1
0
 //
 protected virtual void OnValueChanged(DoubleValueChangedEventArgs e)
 {
     if (this.ValueChanged != null)
     {
         this.ValueChanged(this, e);
     }
 }
示例#2
0
        /// <summary>
        /// Called when the value changes.
        /// </summary>
        /// <param name="e">The event data.</param>
        protected virtual void OnValueChanged(DoubleValueChangedEventArgs e)
        {
            EventHandler <DoubleValueChangedEventArgs> handler = ValueChanged;

            if (null != handler)
            {
                handler(this, e);
            }
        }
示例#3
0
 void m_dbDegree_ValueChanged(object sender, DoubleValueChangedEventArgs e)
 {
     if (this.m_CancelValueChanged)
     {
         return;
     }
     //
     this.m_Value = this.m_dbDegree.Value;
 }
示例#4
0
 void m_dbS_ValueChanged(object sender, DoubleValueChangedEventArgs e)
 {
     if (this.m_CancelValueChanged)
     {
         return;
     }
     //
     this.m_Value = (double)this.m_ibD.Value + (double)this.m_ibM.Value / 60 + this.m_dbS.Value / 3600D;
 }
示例#5
0
        public void RaiseValueChangedEvent(double data)
        {
            RoutedEventArgs args = new DoubleValueChangedEventArgs()
            {
                Value = data
            };

            args.RoutedEvent = ValueChangedEvent;
            RaiseEvent(args);
        }
示例#6
0
 void baseItem_ValueChanged(object sender, DoubleValueChangedEventArgs e)
 {
     this.RelationEvent("ValueChanged", e);
 }