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
- XmlWriterSettings.cs
- AsyncDataRequest.cs
- ResourceManagerWrapper.cs
- ClientTargetSection.cs
- FontFaceLayoutInfo.cs
- Visual3D.cs
- ProfilePropertySettingsCollection.cs
- CssStyleCollection.cs
- HtmlButton.cs
- ClientProxyGenerator.cs
- SEHException.cs
- DataGridViewCellStyle.cs
- RefExpr.cs
- RankException.cs
- DefaultEventAttribute.cs
- RegexGroup.cs
- BamlLocalizationDictionary.cs
- ResourcePermissionBase.cs
- TaskFormBase.cs
- ProtectedConfigurationProviderCollection.cs
- ContainerControl.cs
- Substitution.cs
- Filter.cs
- ToolStripArrowRenderEventArgs.cs
- PerspectiveCamera.cs
- MessageContractMemberAttribute.cs
- ActivityCollectionMarkupSerializer.cs
- safelinkcollection.cs
- DateTimeOffset.cs
- ConfigXmlAttribute.cs
- SerializerWriterEventHandlers.cs
- XmlSchemaComplexContent.cs
- X509RecipientCertificateClientElement.cs
- DataServiceProviderMethods.cs
- BitConverter.cs
- WebScriptClientGenerator.cs
- ConfigurationSectionGroup.cs
- UriSectionReader.cs
- SqlCommand.cs
- MaskInputRejectedEventArgs.cs
- InternalConfigSettingsFactory.cs
- IPEndPoint.cs
- TypeBuilder.cs
- RolePrincipal.cs
- XmlSchemaCollection.cs
- GenericQueueSurrogate.cs
- RepeatInfo.cs
- DefaultBindingPropertyAttribute.cs
- TrackingProvider.cs
- WizardDesigner.cs
- StrongNameKeyPair.cs
- SimplePropertyEntry.cs
- CodePageUtils.cs
- WindowsListViewSubItem.cs
- SmtpAuthenticationManager.cs
- ObjectReaderCompiler.cs
- IntellisenseTextBox.designer.cs
- XmlCompatibilityReader.cs
- EventLogEntryCollection.cs
- SvcMapFile.cs
- RepeatButton.cs
- User.cs
- ACE.cs
- CodeTypeParameterCollection.cs
- Metafile.cs
- DataRowExtensions.cs
- TextSerializer.cs
- ThreadExceptionEvent.cs
- objectquery_tresulttype.cs
- Queue.cs
- DataReceivedEventArgs.cs
- SingleKeyFrameCollection.cs
- DrawingBrush.cs
- SubordinateTransaction.cs
- TextAnchor.cs
- DirtyTextRange.cs
- FormatConvertedBitmap.cs
- SimpleHandlerBuildProvider.cs
- Parameter.cs
- ToolStripItemClickedEventArgs.cs
- PropertyTabAttribute.cs
- ResXResourceReader.cs
- SignedInfo.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- CacheMemory.cs
- StorageEntityTypeMapping.cs
- StrokeNodeOperations2.cs
- TagPrefixAttribute.cs
- PageAction.cs
- AsyncCompletedEventArgs.cs
- SectionRecord.cs
- BamlBinaryWriter.cs
- ForceCopyBuildProvider.cs
- EdmToObjectNamespaceMap.cs
- DatatypeImplementation.cs
- SqlCacheDependencySection.cs
- FreeFormDragDropManager.cs
- PreservationFileReader.cs
- PolicyUnit.cs
- ImageList.cs