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
- SortedSetDebugView.cs
- BinaryReader.cs
- DataGridItemCollection.cs
- Select.cs
- DataGridViewRow.cs
- ReferentialConstraint.cs
- Soap.cs
- Accessible.cs
- DbXmlEnabledProviderManifest.cs
- BreakRecordTable.cs
- SingleAnimationUsingKeyFrames.cs
- HitTestResult.cs
- SurrogateSelector.cs
- ApplicationGesture.cs
- DataGridViewCellEventArgs.cs
- ApplicationServicesHostFactory.cs
- DecimalFormatter.cs
- InplaceBitmapMetadataWriter.cs
- SQLInt64.cs
- Missing.cs
- XPathConvert.cs
- CurrencyWrapper.cs
- StringValidatorAttribute.cs
- ClearTypeHintValidation.cs
- UserControlParser.cs
- AttachedProperty.cs
- XmlSchemaAppInfo.cs
- TextFormatter.cs
- SymmetricAlgorithm.cs
- TerminatingOperationBehavior.cs
- AmbientValueAttribute.cs
- ToolStripLocationCancelEventArgs.cs
- TrustManager.cs
- SoapEnumAttribute.cs
- unitconverter.cs
- EventSetter.cs
- Console.cs
- DataGridCellAutomationPeer.cs
- XslException.cs
- TrackingQuery.cs
- MenuEventArgs.cs
- LinkDescriptor.cs
- WmfPlaceableFileHeader.cs
- HighContrastHelper.cs
- RsaSecurityTokenAuthenticator.cs
- SelectionHighlightInfo.cs
- connectionpool.cs
- Transactions.cs
- SQLResource.cs
- CopyOnWriteList.cs
- DrawingImage.cs
- ResourceAssociationTypeEnd.cs
- FillRuleValidation.cs
- CodeCastExpression.cs
- ConditionBrowserDialog.cs
- NavigationFailedEventArgs.cs
- ScriptReference.cs
- TabControl.cs
- CodeLinePragma.cs
- Window.cs
- LowerCaseStringConverter.cs
- DBSchemaRow.cs
- HttpFileCollection.cs
- SchemaImporterExtension.cs
- ExtentKey.cs
- SystemSounds.cs
- FlowLayoutSettings.cs
- StringUtil.cs
- OpenTypeCommon.cs
- CompilerErrorCollection.cs
- SpoolingTaskBase.cs
- CollectionViewGroup.cs
- VerticalAlignConverter.cs
- EditorZone.cs
- DataBoundControlHelper.cs
- WebPartMinimizeVerb.cs
- RoleServiceManager.cs
- WebRequestModuleElement.cs
- WebPartConnectionsDisconnectVerb.cs
- SqlRewriteScalarSubqueries.cs
- CompiledRegexRunner.cs
- QuaternionAnimation.cs
- ConstructorBuilder.cs
- TypeInitializationException.cs
- SHA256Managed.cs
- TimeManager.cs
- AssemblyCollection.cs
- CompilerTypeWithParams.cs
- InfiniteIntConverter.cs
- HeaderUtility.cs
- COM2ExtendedUITypeEditor.cs
- InitialServerConnectionReader.cs
- CodeSubDirectoriesCollection.cs
- SetState.cs
- ApplicationDirectory.cs
- InternalsVisibleToAttribute.cs
- ResourcesGenerator.cs
- XmlnsCompatibleWithAttribute.cs
- shaper.cs
- UrlMappingsSection.cs