예제 #1
0
        /// <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);
            }
        }
예제 #2
0
 /// <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);
 }
예제 #3
0
        /// <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);
        }
예제 #4
0
 /// <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);
 }