private void activateControllersControl(ISetupControllersControl control) { if (_currentControllersControl != null) { _currentControllersControl.ControllerSelectionChanged -= control_ControllerSelectionChanged; _currentControllersControl.ControllersChanged -= control_ControllersChanged; } _currentControllersControl = control; control.ControllerSelectionChanged += control_ControllerSelectionChanged; control.ControllersChanged += control_ControllersChanged; //tableLayoutPanelControllerSetup.Controls.Clear(); tableLayoutPanelControllerSetup.Controls.Add(control.SetupControllersControl,0,2); control.UpdatePatching(); }