System.ComponentModel.Component public class Component : MarshalByRefObject, IComponent, IDisposable Documentation protected virtual bool CanRaiseEvents { get; } public IContainer Container { get; } protected bool DesignMode { get; } protected EventHandlerList Events { get; } public virtual ISite Site { get; set; } public event EventHandler Disposed public Component() public void Dispose() protected virtual void Dispose(bool disposing) protected virtual object GetService(Type service)