public void Init(PossibleDuplicateDetailsControl givenPossibleDuplicateDetailsControl, GDPRPreferencesControl givenGDPRPreferencesControl) { panelControl = givenPossibleDuplicateDetailsControl; panelControl.OnPossibleDuplicateUpdated += new PossibleDuplicateDetailsControl.PossibleDuplicateUpdated(panelControl_OnPossibleDuplicateUpdated); gdprPreferencesControl = givenGDPRPreferencesControl; GDPRPreferencesControl.Init(gdprPreferencesControl); }
public void Init(GDPRPreferencesControl control) { _localControl = control; control.OnPossibleDuplicateUpdated += Control_OnPossibleDuplicateUpdated; }