private void OnDisable()
 {
     enableResidueSettingsPanels(false);
     UserInterfaceEvents.RaiseEnableMoleculeMovement(true);
 }
 private void OnEnable()
 {
     UpdateSelectedMolecule();
     UserInterfaceEvents.RaiseEnableMoleculeMovement(false);
 }