public SingleConfigurerHandler(ProfilesControlHandler <TProfileSettings, TInfo> pHandler, ISettingsProvider <TProfileSettings, TInfo, TCodec, TEncoder> sP) { settingsProvider = sP; pHandler.ProfileChanged += new SelectedProfileChangedEvent(profileChanged); pHandler.RefreshProfiles(); }
public void Register(ProfilesControlHandler <TProfileSettings, TInfo> pHandler) { this.pHandler = pHandler; pHandler.ProfileChanged += new SelectedProfileChangedEvent(ProfileChanged); pHandler.RefreshProfiles(); }