procedure Notification(AComponent: TComponent; Operation: TOperation); override;
virtual void __fastcall Notification(System::Classes::TComponent* AComponent, System::Classes::TOperation Operation);
Responds to notifications indicating that components are being created or destroyed.
AComponent is the component that was just added or that is about to be deleted. Operation indicates whether AComponent was added or is about to be deleted.