Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / ComponentEvent.cs / 1305376 / 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
- ProcessInputEventArgs.cs
- ProcessHost.cs
- precedingsibling.cs
- ChildTable.cs
- RotateTransform.cs
- GetBrowserTokenRequest.cs
- RegexCompilationInfo.cs
- DataPagerField.cs
- StringReader.cs
- ScrollPattern.cs
- EnumUnknown.cs
- GenerateScriptTypeAttribute.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- ObfuscateAssemblyAttribute.cs
- PassportAuthentication.cs
- UniqueIdentifierService.cs
- LicFileLicenseProvider.cs
- XmlChoiceIdentifierAttribute.cs
- SqlMethodCallConverter.cs
- FileLoadException.cs
- WebPartManagerInternals.cs
- AuthorizationRule.cs
- HeaderCollection.cs
- RijndaelCryptoServiceProvider.cs
- GridViewColumnCollectionChangedEventArgs.cs
- ZipFileInfoCollection.cs
- VisualStyleInformation.cs
- XmlCodeExporter.cs
- WebBrowsableAttribute.cs
- OdbcStatementHandle.cs
- PropertyConverter.cs
- DragSelectionMessageFilter.cs
- CngUIPolicy.cs
- XamlClipboardData.cs
- DataGridViewBindingCompleteEventArgs.cs
- ContextMenuStripGroupCollection.cs
- FrameworkElementAutomationPeer.cs
- ToolStripItemClickedEventArgs.cs
- CacheManager.cs
- GridViewEditEventArgs.cs
- LocalizableAttribute.cs
- ResourceDescriptionAttribute.cs
- Popup.cs
- LocationUpdates.cs
- PixelShader.cs
- HttpProcessUtility.cs
- TargetConverter.cs
- OleAutBinder.cs
- CaseInsensitiveComparer.cs
- ItemAutomationPeer.cs
- ImageKeyConverter.cs
- FilteredXmlReader.cs
- ComponentCommands.cs
- ApplicationSettingsBase.cs
- _ChunkParse.cs
- KnownTypeAttribute.cs
- ColumnCollection.cs
- XmlSchemaAttributeGroupRef.cs
- OpenTypeLayout.cs
- ContextQuery.cs
- ReflectEventDescriptor.cs
- ExpandCollapseProviderWrapper.cs
- AmbientLight.cs
- SqlParameterizer.cs
- IRCollection.cs
- ImageInfo.cs
- SymDocumentType.cs
- MulticastDelegate.cs
- ConnectionPoint.cs
- ReflectTypeDescriptionProvider.cs
- ExtentKey.cs
- FileRecordSequence.cs
- ColumnBinding.cs
- HtmlHead.cs
- ConsoleCancelEventArgs.cs
- PasswordTextContainer.cs
- CrossContextChannel.cs
- SpecialTypeDataContract.cs
- EntityWithKeyStrategy.cs
- RemotingException.cs
- DockProviderWrapper.cs
- ResourceContainer.cs
- ParallelEnumerableWrapper.cs
- HttpCachePolicyElement.cs
- Utility.cs
- FixedSchema.cs
- AppDomainEvidenceFactory.cs
- NativeMethods.cs
- CodeDefaultValueExpression.cs
- StaticExtension.cs
- GridViewColumnCollectionChangedEventArgs.cs
- CompensableActivity.cs
- ThemeDictionaryExtension.cs
- SiteMap.cs
- EventInfo.cs
- AccessViolationException.cs
- InstanceContext.cs
- SafeCertificateContext.cs
- GeneratedContractType.cs
- TextServicesManager.cs