// protected virtual void OnValueChanged(DoubleValueChangedEventArgs e) { if (this.ValueChanged != null) { this.ValueChanged(this, e); } }
/// <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); } }
void m_dbDegree_ValueChanged(object sender, DoubleValueChangedEventArgs e) { if (this.m_CancelValueChanged) { return; } // this.m_Value = this.m_dbDegree.Value; }
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; }
public void RaiseValueChangedEvent(double data) { RoutedEventArgs args = new DoubleValueChangedEventArgs() { Value = data }; args.RoutedEvent = ValueChangedEvent; RaiseEvent(args); }
void baseItem_ValueChanged(object sender, DoubleValueChangedEventArgs e) { this.RelationEvent("ValueChanged", e); }