protected virtual void OnLocationChanged(string currentLocation, string newLocation) { if (LocationChanged != null) { ItemLocationChangedEventArgs args = new ItemLocationChangedEventArgs(); args.CurrentLocation = currentLocation; args.NewLocation = newLocation; LocationChanged(this, args); } }
void ItemLocationChangedHandler(object sender, ItemLocationChangedEventArgs args) { //Special events for specific item location changes }