protected virtual void OnRegistryTreeChanged(RegistryTreeChangeEvent registryTreeChangeEvent) { if (RegistryTreeChanged != null) { RegistryTreeChanged(this, new RegistryTreeChangedEventArgs(registryTreeChangeEvent)); } }
public RegistryTreeChangedEventArgs(RegistryTreeChangeEvent Data) { _data = Data; }
private void RegistryTreeChange_EventArrived(object sender, EventArrivedEventArgs e) { var registryTreeChangeEvent = new RegistryTreeChangeEvent(e.NewEvent); OnRegistryTreeChanged(registryTreeChangeEvent); }