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