/// <summary> /// This raises the <see cref="TimeZoneIdChanged"/> event /// </summary> /// <param name="e">The event arguments</param> protected virtual void OnTimeZoneIdChanged(TimeZoneIdChangedEventArgs e) { var handler = TimeZoneIdChanged; if (handler != null) { handler(this, e); } }
/// <summary> /// This is called when the <c>TimeZoneId</c> property's name changes /// </summary> /// <param name="sender">The sender of the event</param> /// <param name="e">The event arguments</param> private void tzid_TimeZoneIdChanged(object sender, TimeZoneIdChangedEventArgs e) { OnTimeZoneIdChanged(e); }
/// <summary> /// This raises the <see cref="TimeZoneIdChanged"/> event /// </summary> /// <param name="e">The event arguments</param> protected virtual void OnTimeZoneIdChanged(TimeZoneIdChangedEventArgs e) { var handler = TimeZoneIdChanged; if(handler != null) handler(this, e); }
/// <summary> /// This is called when the <c>TimeZoneId</c> property's name changes /// </summary> /// <param name="sender">The sender of the event</param> /// <param name="e">The event arguments</param> private void tzid_TimeZoneIdChanged(object sender, TimeZoneIdChangedEventArgs e) { UpdateTimeZoneId(e.OldId, e.NewId); }