Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CompMod / System / ComponentModel / Design / ComponentEvent.cs / 1 / ComponentEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel.Design { using Microsoft.Win32; using System; using System.ComponentModel; using System.Diagnostics; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] [System.Runtime.InteropServices.ComVisible(true)] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class ComponentEventArgs : EventArgs { private IComponent component; ///Provides data for the System.ComponentModel.Design.IComponentChangeService.ComponentEvent /// event raised for component-level events. ////// public virtual IComponent Component { get { return component; } } ////// Gets or sets the component associated with the event. /// ////// public ComponentEventArgs(IComponent component) { this.component = component; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Initializes a new instance of the System.ComponentModel.Design.ComponentEventArgs class. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel.Design { using Microsoft.Win32; using System; using System.ComponentModel; using System.Diagnostics; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] [System.Runtime.InteropServices.ComVisible(true)] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class ComponentEventArgs : EventArgs { private IComponent component; ///Provides data for the System.ComponentModel.Design.IComponentChangeService.ComponentEvent /// event raised for component-level events. ////// public virtual IComponent Component { get { return component; } } ////// Gets or sets the component associated with the event. /// ////// public ComponentEventArgs(IComponent component) { this.component = component; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Initializes a new instance of the System.ComponentModel.Design.ComponentEventArgs class. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebSysDescriptionAttribute.cs
- PathFigureCollection.cs
- UnmanagedMarshal.cs
- Triplet.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- StrokeNode.cs
- ZipIORawDataFileBlock.cs
- Method.cs
- ListParagraph.cs
- EventLogger.cs
- DrawingAttributesDefaultValueFactory.cs
- SatelliteContractVersionAttribute.cs
- ISAPIApplicationHost.cs
- LocalizationParserHooks.cs
- DataFormats.cs
- AccessText.cs
- IsolatedStorageFile.cs
- XmlSchemaAll.cs
- Operator.cs
- ErrorProvider.cs
- Activity.cs
- BindValidator.cs
- Vector3D.cs
- HebrewNumber.cs
- ParamArrayAttribute.cs
- XmlHierarchyData.cs
- TextFormatterContext.cs
- UIElementPropertyUndoUnit.cs
- NativeCompoundFileAPIs.cs
- DecoderFallback.cs
- WebServiceParameterData.cs
- DBSqlParserTableCollection.cs
- HideDisabledControlAdapter.cs
- Separator.cs
- Highlights.cs
- ImageDrawing.cs
- XamlStyleSerializer.cs
- ResXResourceWriter.cs
- SqlDataSourceStatusEventArgs.cs
- CallbackTimeoutsElement.cs
- XhtmlBasicPhoneCallAdapter.cs
- BitmapSourceSafeMILHandle.cs
- ChangesetResponse.cs
- SqlRemoveConstantOrderBy.cs
- EditorPartChrome.cs
- ResetableIterator.cs
- SQLBytesStorage.cs
- StyleModeStack.cs
- wgx_sdk_version.cs
- NativeWindow.cs
- TypeBuilder.cs
- Hashtable.cs
- LogicalChannel.cs
- AutomationElementCollection.cs
- TypedTableBase.cs
- TypeConverterAttribute.cs
- HostingEnvironmentSection.cs
- InputBuffer.cs
- SafeViewOfFileHandle.cs
- WebHeaderCollection.cs
- AnonymousIdentificationModule.cs
- XmlDocumentViewSchema.cs
- DataGridTable.cs
- ProfileSettingsCollection.cs
- BrowsableAttribute.cs
- Clock.cs
- TypeGeneratedEventArgs.cs
- PageRanges.cs
- DependencyPropertyValueSerializer.cs
- GridSplitterAutomationPeer.cs
- Pair.cs
- DbModificationCommandTree.cs
- SocketPermission.cs
- DynamicVirtualDiscoSearcher.cs
- CodeBlockBuilder.cs
- Collection.cs
- DesignerActionHeaderItem.cs
- HttpException.cs
- ComponentSerializationService.cs
- Variable.cs
- ObjectStateManagerMetadata.cs
- DataGridGeneralPage.cs
- ReadOnlyDataSourceView.cs
- MatrixStack.cs
- sqlpipe.cs
- CharStorage.cs
- CollectionType.cs
- ContextMenuAutomationPeer.cs
- MessageSmuggler.cs
- Internal.cs
- DataGridViewImageColumn.cs
- Journal.cs
- NumberFunctions.cs
- BindingMemberInfo.cs
- ArraySubsetEnumerator.cs
- DLinqTableProvider.cs
- PersianCalendar.cs
- Paragraph.cs
- HMACSHA512.cs
- Debugger.cs