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
- StronglyTypedResourceBuilder.cs
- TextTreeNode.cs
- FixedSOMFixedBlock.cs
- XPathSelectionIterator.cs
- WindowsListView.cs
- AppDomainEvidenceFactory.cs
- TypeProvider.cs
- OuterGlowBitmapEffect.cs
- SubpageParaClient.cs
- ScrollData.cs
- Soap.cs
- TextTreeUndoUnit.cs
- Adorner.cs
- DataRowView.cs
- StackOverflowException.cs
- CodeTypeReferenceCollection.cs
- FontStretches.cs
- CodeAttachEventStatement.cs
- SspiNegotiationTokenProvider.cs
- ReaderOutput.cs
- PersonalizationStateInfo.cs
- PrinterSettings.cs
- Hex.cs
- DaylightTime.cs
- ForeignKeyFactory.cs
- DisplayNameAttribute.cs
- CharacterBufferReference.cs
- RectangleHotSpot.cs
- XmlSchemaCompilationSettings.cs
- FieldBuilder.cs
- DataGridViewCheckBoxColumn.cs
- ActivitySurrogate.cs
- StringUtil.cs
- SpinLock.cs
- DataServiceKeyAttribute.cs
- SqlClientMetaDataCollectionNames.cs
- ImportException.cs
- CompilerGlobalScopeAttribute.cs
- FirstQueryOperator.cs
- SafeProcessHandle.cs
- BitmapEffectState.cs
- DebugControllerThread.cs
- _LazyAsyncResult.cs
- Psha1DerivedKeyGenerator.cs
- EventDescriptor.cs
- XmlElementList.cs
- NativeCompoundFileAPIs.cs
- ProjectionPath.cs
- PageContentAsyncResult.cs
- FixedSOMImage.cs
- UniformGrid.cs
- AVElementHelper.cs
- TextBox.cs
- _SafeNetHandles.cs
- XpsDocumentEvent.cs
- PackageRelationship.cs
- PieceNameHelper.cs
- DataGridItemCollection.cs
- ClonableStack.cs
- LayoutTableCell.cs
- AccessDataSourceView.cs
- WorkflowRuntime.cs
- LogAppendAsyncResult.cs
- MetadataCache.cs
- PrePrepareMethodAttribute.cs
- OutOfProcStateClientManager.cs
- FormattedTextSymbols.cs
- Int64AnimationBase.cs
- RightsManagementInformation.cs
- NonParentingControl.cs
- TimeSpan.cs
- MatrixTransform.cs
- XslException.cs
- SqlSelectClauseBuilder.cs
- RegexStringValidatorAttribute.cs
- WmlListAdapter.cs
- FactoryGenerator.cs
- ResourceAttributes.cs
- LineServices.cs
- SmtpDigestAuthenticationModule.cs
- WindowsIdentity.cs
- XmlCharType.cs
- NavigationProperty.cs
- Rfc2898DeriveBytes.cs
- GlyphRunDrawing.cs
- SqlGenerator.cs
- SqlNotificationRequest.cs
- MissingManifestResourceException.cs
- ReadOnlyDataSource.cs
- CommandManager.cs
- PropertyConverter.cs
- ListViewCommandEventArgs.cs
- TransformPattern.cs
- DataSourceHelper.cs
- ControlBindingsCollection.cs
- WebReferenceOptions.cs
- MachineKeySection.cs
- DetailsViewUpdatedEventArgs.cs
- SerializationException.cs
- BindingNavigatorDesigner.cs