Files
2026-06-04 11:42:34 +02:00

35 lines
1.3 KiB
C#

using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// <summary>Provides data for the <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentAdded" />, <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentAdding" />, <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentRemoved" />, and <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentRemoving" /> events.</summary>
// Token: 0x02000040 RID: 64
[ComVisible(true)]
public class ComponentEventArgs : EventArgs
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.ComponentEventArgs" /> class.</summary>
/// <param name="component">The component that is the source of the event. </param>
// Token: 0x060002A9 RID: 681 RVA: 0x000096DC File Offset: 0x000078DC
public ComponentEventArgs(IComponent component)
{
this.icomp = component;
}
/// <summary>Gets the component associated with the event.</summary>
/// <returns>The component associated with the event.</returns>
// Token: 0x170000C4 RID: 196
// (get) Token: 0x060002AA RID: 682 RVA: 0x000096EC File Offset: 0x000078EC
public virtual IComponent Component
{
get
{
return this.icomp;
}
}
// Token: 0x040000C0 RID: 192
private IComponent icomp;
}
}