protected virtual void OnRegistryKeyChanged(RegistryKeyChangeEvent RegValueChange) { if (RegistryKeyChanged != null) { RegistryKeyChanged(this, new RegistryKeyChangedEventArgs(RegValueChange)); } }
public RegistryKeyChangedEventArgs(RegistryKeyChangeEvent Data) { data = Data; }
private void RegistryKeyChange_EventArrived(object sender, EventArrivedEventArgs e) { RegistryKeyChangeEvent RegValueChange = new RegistryKeyChangeEvent(e.NewEvent); OnRegistryKeyChanged(RegValueChange); }