https://learn.microsoft.com/tr-tr/dotnet/api/system.componentmodel.design.iservicecontainer.removeservice?view=netframework-4.8.1&viewFallbackFrom=net-8.0
IServiceContainer.RemoveService Method (System.ComponentModel.Design) | Microsoft Learn
Removes the specified service type from the service container.
methodsystemdesignmicrosoftlearn