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
- WorkflowApplicationAbortedException.cs
- PixelFormat.cs
- VoiceSynthesis.cs
- _ScatterGatherBuffers.cs
- OdbcConnectionPoolProviderInfo.cs
- WindowsPen.cs
- ByteStack.cs
- UnmanagedHandle.cs
- UnlockInstanceAsyncResult.cs
- TextModifierScope.cs
- TreeView.cs
- HScrollProperties.cs
- ProfileParameter.cs
- SqlNotificationEventArgs.cs
- FixedPageStructure.cs
- NumericExpr.cs
- TcpProcessProtocolHandler.cs
- WebPartZone.cs
- WindowCollection.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- ActivityBindForm.cs
- BuildResult.cs
- ToolboxItemCollection.cs
- OleDbDataReader.cs
- DependencyPropertyValueSerializer.cs
- ZipPackagePart.cs
- WebServiceFaultDesigner.cs
- xdrvalidator.cs
- TextElementEnumerator.cs
- StateMachineAction.cs
- HttpClientCertificate.cs
- MULTI_QI.cs
- NetCodeGroup.cs
- UserControl.cs
- DefaultTraceListener.cs
- AmbientValueAttribute.cs
- FormatConvertedBitmap.cs
- ReadOnlyHierarchicalDataSource.cs
- WebPartDeleteVerb.cs
- X509Chain.cs
- HotSpotCollection.cs
- HtmlLinkAdapter.cs
- Double.cs
- ListGeneralPage.cs
- ResolveMatchesMessageCD1.cs
- ArrayElementGridEntry.cs
- XmlElementAttribute.cs
- DocumentViewerBaseAutomationPeer.cs
- Base64Stream.cs
- OleDbSchemaGuid.cs
- TableLayout.cs
- panel.cs
- DataExpression.cs
- Window.cs
- InternalPermissions.cs
- ManipulationPivot.cs
- CodeTypeReferenceCollection.cs
- ScrollBarAutomationPeer.cs
- NullableDoubleSumAggregationOperator.cs
- PropertyEmitterBase.cs
- Int16.cs
- WrapPanel.cs
- TypeUtil.cs
- XPathDocument.cs
- CorrelationService.cs
- EventProviderBase.cs
- PeerName.cs
- HtmlTextBoxAdapter.cs
- ListBindingHelper.cs
- ContainerSelectorGlyph.cs
- EasingKeyFrames.cs
- UpnEndpointIdentityExtension.cs
- BlurEffect.cs
- RemotingSurrogateSelector.cs
- Command.cs
- UInt16.cs
- Point3DIndependentAnimationStorage.cs
- CultureSpecificCharacterBufferRange.cs
- FusionWrap.cs
- SchemaElementDecl.cs
- CompilationPass2Task.cs
- TreeNodeMouseHoverEvent.cs
- SqlSupersetValidator.cs
- AmbientProperties.cs
- FunctionCommandText.cs
- ThreadStateException.cs
- TypedAsyncResult.cs
- StylusPointCollection.cs
- SqlRecordBuffer.cs
- Char.cs
- AlphaSortedEnumConverter.cs
- GeneralTransform.cs
- ArrayTypeMismatchException.cs
- PreservationFileReader.cs
- StyleModeStack.cs
- TaskHelper.cs
- ToolStripDropDownItem.cs
- NameValueConfigurationCollection.cs
- TargetFrameworkAttribute.cs
- XmlSchemaComplexType.cs