Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- HtmlInputText.cs
- SemanticBasicElement.cs
- MultiAsyncResult.cs
- HtmlEmptyTagControlBuilder.cs
- NullableDecimalSumAggregationOperator.cs
- WinFormsComponentEditor.cs
- FixedSOMPage.cs
- FrameworkPropertyMetadata.cs
- DocumentXPathNavigator.cs
- CodeDomSerializationProvider.cs
- SqlNodeTypeOperators.cs
- NodeInfo.cs
- ManualWorkflowSchedulerService.cs
- PassportPrincipal.cs
- DataColumnMappingCollection.cs
- SafeProcessHandle.cs
- DetailsViewUpdateEventArgs.cs
- Stackframe.cs
- SynchronizedDispatch.cs
- _CookieModule.cs
- XmlCodeExporter.cs
- ControlCollection.cs
- WindowsMenu.cs
- DoubleAnimation.cs
- AffineTransform3D.cs
- PersonalizationStateInfo.cs
- EntityCommandDefinition.cs
- FormViewModeEventArgs.cs
- FileDialogCustomPlacesCollection.cs
- LateBoundBitmapDecoder.cs
- PlatformCulture.cs
- PassportAuthentication.cs
- Stack.cs
- MsmqIntegrationChannelFactory.cs
- Unit.cs
- XmlLoader.cs
- LinkButton.cs
- ServiceHttpModule.cs
- WindowManager.cs
- XmlSchemaAnnotation.cs
- DataGridViewComboBoxEditingControl.cs
- DragEventArgs.cs
- IfAction.cs
- TypeDescriptionProvider.cs
- Exceptions.cs
- DoubleLinkListEnumerator.cs
- UrlPropertyAttribute.cs
- ServiceBehaviorElement.cs
- ToolStripItemEventArgs.cs
- TypeBuilder.cs
- MediaTimeline.cs
- PolicyLevel.cs
- MetadataFile.cs
- XmlBaseWriter.cs
- SizeIndependentAnimationStorage.cs
- WebHttpBehavior.cs
- UrlAuthorizationModule.cs
- FixedTextSelectionProcessor.cs
- View.cs
- FactoryGenerator.cs
- Graph.cs
- Thickness.cs
- Logging.cs
- SplayTreeNode.cs
- InternalConfigSettingsFactory.cs
- HwndSourceParameters.cs
- ColumnMapTranslator.cs
- ResolveNextArgumentWorkItem.cs
- PageTheme.cs
- Condition.cs
- ProviderSettings.cs
- FileResponseElement.cs
- GlyphElement.cs
- safePerfProviderHandle.cs
- SqlMethods.cs
- AmbiguousMatchException.cs
- ReachDocumentReferenceSerializer.cs
- RelatedCurrencyManager.cs
- UnsafeNativeMethods.cs
- SoapSchemaExporter.cs
- AlphaSortedEnumConverter.cs
- AnnotationAuthorChangedEventArgs.cs
- AsymmetricKeyExchangeFormatter.cs
- Inline.cs
- FileEnumerator.cs
- TreeNode.cs
- DataGridViewImageCell.cs
- HttpRuntimeSection.cs
- FrameworkElementFactoryMarkupObject.cs
- RegularExpressionValidator.cs
- GenericAuthenticationEventArgs.cs
- ViewKeyConstraint.cs
- ExceptionValidationRule.cs
- CacheChildrenQuery.cs
- SamlAttributeStatement.cs
- IndexOutOfRangeException.cs
- Exceptions.cs
- ListViewItemSelectionChangedEvent.cs
- Storyboard.cs
- XPathAncestorQuery.cs