Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- TagElement.cs
- EmptyStringExpandableObjectConverter.cs
- XmlSchemaSequence.cs
- SignatureDescription.cs
- ControlIdConverter.cs
- PropertyGroupDescription.cs
- FocusWithinProperty.cs
- WebControlAdapter.cs
- SslStreamSecurityBindingElement.cs
- HtmlFormWrapper.cs
- httpapplicationstate.cs
- XslUrlEditor.cs
- ForwardPositionQuery.cs
- Polyline.cs
- LinqDataSource.cs
- MethodCallConverter.cs
- DataRowChangeEvent.cs
- ColorAnimationBase.cs
- AudioStateChangedEventArgs.cs
- DataBindingCollectionEditor.cs
- ChameleonKey.cs
- Html32TextWriter.cs
- SmtpDateTime.cs
- VisualProxy.cs
- TypeDelegator.cs
- EnlistmentState.cs
- RichTextBoxConstants.cs
- PrinterUnitConvert.cs
- WebScriptServiceHostFactory.cs
- GeneralTransform3DTo2DTo3D.cs
- TextEditorMouse.cs
- SocketPermission.cs
- SpnegoTokenAuthenticator.cs
- StringComparer.cs
- ICspAsymmetricAlgorithm.cs
- DtrList.cs
- Convert.cs
- PnrpPermission.cs
- BitmapEffectGroup.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- SqlProviderServices.cs
- FixedDocumentPaginator.cs
- ExecutionContext.cs
- SelectedGridItemChangedEvent.cs
- UserControl.cs
- XmlAtomErrorReader.cs
- ContainerUIElement3D.cs
- ValidationErrorCollection.cs
- CodeGroup.cs
- PageAsyncTask.cs
- ChameleonKey.cs
- SoapAttributeAttribute.cs
- TemplateBindingExpression.cs
- EdmToObjectNamespaceMap.cs
- HostedImpersonationContext.cs
- __TransparentProxy.cs
- StructuredTypeInfo.cs
- ThicknessConverter.cs
- ConfigurationProperty.cs
- NullReferenceException.cs
- DllNotFoundException.cs
- CodeCommentStatementCollection.cs
- TemplateBuilder.cs
- ListCollectionView.cs
- ZipIOLocalFileHeader.cs
- _SslSessionsCache.cs
- Object.cs
- WorkflowInvoker.cs
- ProcessInputEventArgs.cs
- Misc.cs
- ItemsControlAutomationPeer.cs
- MouseBinding.cs
- Wizard.cs
- Listen.cs
- ElementNotEnabledException.cs
- ComponentResourceManager.cs
- UserControl.cs
- CopyAttributesAction.cs
- DebugView.cs
- PropertyInfoSet.cs
- GenericPrincipal.cs
- DefinitionUpdate.cs
- VirtualizingPanel.cs
- ClickablePoint.cs
- ListBoxItemWrapperAutomationPeer.cs
- ColorConvertedBitmap.cs
- HtmlAnchor.cs
- CheckBoxField.cs
- TouchesOverProperty.cs
- SQLInt64.cs
- UnsafeMethods.cs
- SID.cs
- DrawListViewColumnHeaderEventArgs.cs
- FakeModelItemImpl.cs
- ISFTagAndGuidCache.cs
- StringFormat.cs
- Receive.cs
- CompareInfo.cs
- GroupJoinQueryOperator.cs
- UnaryNode.cs