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
- TCEAdapterGenerator.cs
- RecognizerInfo.cs
- LayoutEditorPart.cs
- DocumentPageViewAutomationPeer.cs
- DataGridViewColumnStateChangedEventArgs.cs
- SchemaTableColumn.cs
- PackUriHelper.cs
- ISAPIApplicationHost.cs
- WebMessageEncodingBindingElement.cs
- IIS7UserPrincipal.cs
- TextElement.cs
- ComboBoxRenderer.cs
- returneventsaver.cs
- ClockGroup.cs
- Screen.cs
- ListParaClient.cs
- MatchingStyle.cs
- ConfigurationException.cs
- MachineSettingsSection.cs
- AutomationElementIdentifiers.cs
- RuntimeCompatibilityAttribute.cs
- WindowsListViewGroupHelper.cs
- Module.cs
- WithParamAction.cs
- SqlDataReader.cs
- GeneralTransformGroup.cs
- x509utils.cs
- QilScopedVisitor.cs
- SQLInt16Storage.cs
- EntityDataSourceValidationException.cs
- NestPullup.cs
- SiteMapNodeItemEventArgs.cs
- MasterPageCodeDomTreeGenerator.cs
- XmlnsDefinitionAttribute.cs
- TreeView.cs
- StructuredTypeInfo.cs
- OracleParameterBinding.cs
- System.Data_BID.cs
- Win32MouseDevice.cs
- DateBoldEvent.cs
- AlternateViewCollection.cs
- CompiledQuery.cs
- InvalidWMPVersionException.cs
- DelegatingTypeDescriptionProvider.cs
- WCFBuildProvider.cs
- httpserverutility.cs
- DataGridViewSelectedCellCollection.cs
- SafeFileHandle.cs
- PolicyChain.cs
- HttpServerVarsCollection.cs
- HealthMonitoringSection.cs
- SubstitutionList.cs
- ErrorHandler.cs
- GeneralTransform3DCollection.cs
- ExtendedPropertyDescriptor.cs
- PolicyValidator.cs
- MethodImplAttribute.cs
- COM2ExtendedBrowsingHandler.cs
- OLEDB_Util.cs
- ServiceObjectContainer.cs
- CompressStream.cs
- XPathDocumentNavigator.cs
- PathFigure.cs
- _TimerThread.cs
- PeerCollaborationPermission.cs
- TableHeaderCell.cs
- SafeLibraryHandle.cs
- ListViewInsertEventArgs.cs
- QilInvokeEarlyBound.cs
- MultiView.cs
- LookupNode.cs
- DirectoryInfo.cs
- NestedContainer.cs
- MediaSystem.cs
- NameValuePair.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- SpoolingTask.cs
- Membership.cs
- AssemblyNameProxy.cs
- CodeDefaultValueExpression.cs
- ImageSourceValueSerializer.cs
- ManagementBaseObject.cs
- basevalidator.cs
- EventPropertyMap.cs
- OperationFormatStyle.cs
- CaretElement.cs
- CopyOnWriteList.cs
- Exceptions.cs
- ValidationHelper.cs
- StringResourceManager.cs
- PreviewPageInfo.cs
- ParallelTimeline.cs
- SoapHeader.cs
- ClientType.cs
- WorkflowView.cs
- MemberInfoSerializationHolder.cs
- SecurityTokenSerializer.cs
- AnnotationHighlightLayer.cs
- SafeNativeMethodsCLR.cs
- NavigationWindowAutomationPeer.cs