Пример #1
0
        void ChildPropertyChangedCallback(object sender, System.ComponentModel.PropertyChangedEventArgs e)
        {
            if (LocationChangeEvent == null)
            {
                return;
            }
            var x = new LocationChangeEventArgs();

            x.NamedLocation = (NamedLocation)sender;
            x.PropertyName  = e.PropertyName;
            LocationChangeEvent(this, x);
        }
Пример #2
0
 void ChildPropertyChangedCallback(object sender, System.ComponentModel.PropertyChangedEventArgs e)
 {
     if (LocationChangeEvent == null) return;
     var x = new LocationChangeEventArgs();
     x.NamedLocation = (NamedLocation)sender;
     x.PropertyName = e.PropertyName;
     LocationChangeEvent(this, x);
 }