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
- ObjectViewListener.cs
- CommonObjectSecurity.cs
- HtmlControlPersistable.cs
- Int32CollectionConverter.cs
- SpoolingTaskBase.cs
- SchemaType.cs
- ContentType.cs
- DependencyPropertyKind.cs
- Types.cs
- SystemResourceKey.cs
- Set.cs
- DoubleSumAggregationOperator.cs
- NativeMethodsOther.cs
- BaseAsyncResult.cs
- RotateTransform3D.cs
- Italic.cs
- ThreadInterruptedException.cs
- Delegate.cs
- CustomValidator.cs
- TypeSystemProvider.cs
- PropertyChangingEventArgs.cs
- InternalConfigRoot.cs
- SqlCacheDependencyDatabaseCollection.cs
- HttpRuntime.cs
- PtsPage.cs
- DateTimeFormat.cs
- SkipStoryboardToFill.cs
- WebEventTraceProvider.cs
- CreateUserWizardStep.cs
- HashSetDebugView.cs
- InkCanvasSelectionAdorner.cs
- RectAnimationUsingKeyFrames.cs
- PrimitiveCodeDomSerializer.cs
- XmlLanguage.cs
- RootBrowserWindow.cs
- KeyBinding.cs
- EncoderParameter.cs
- EntityParameter.cs
- MarginsConverter.cs
- OutputScopeManager.cs
- UrlMapping.cs
- HttpCookie.cs
- Crc32.cs
- EmptyCollection.cs
- OperationPerformanceCounters.cs
- ScrollChrome.cs
- ToolZone.cs
- RegexCompiler.cs
- StatusBarPanelClickEvent.cs
- XmlObjectSerializer.cs
- SearchExpression.cs
- ResourceKey.cs
- mediaeventshelper.cs
- EndOfStreamException.cs
- PathTooLongException.cs
- XmlReaderSettings.cs
- ResourceSet.cs
- InternalDispatchObject.cs
- DuplicateWaitObjectException.cs
- ByteConverter.cs
- InternalConfigRoot.cs
- XPathNode.cs
- LineServicesCallbacks.cs
- WebPartMenuStyle.cs
- DBConnection.cs
- ProgressBar.cs
- ServiceDefaults.cs
- Object.cs
- SqlServices.cs
- Hash.cs
- X509ChainElement.cs
- ToolboxComponentsCreatedEventArgs.cs
- TemplateControlCodeDomTreeGenerator.cs
- FilterEventArgs.cs
- SliderAutomationPeer.cs
- NumericUpDown.cs
- Pair.cs
- AppDomainFactory.cs
- PaintEvent.cs
- WebConfigurationManager.cs
- ForceCopyBuildProvider.cs
- InputLanguageManager.cs
- SafeBitVector32.cs
- CodeIndexerExpression.cs
- PropertyToken.cs
- EtwTrace.cs
- MimeReflector.cs
- GeometryDrawing.cs
- XmlIterators.cs
- Baml2006Reader.cs
- FormViewUpdatedEventArgs.cs
- UInt16Storage.cs
- Mutex.cs
- GridViewColumnHeaderAutomationPeer.cs
- Rfc2898DeriveBytes.cs
- Site.cs
- QilInvoke.cs
- Package.cs
- HttpsHostedTransportConfiguration.cs
- TransactionContextValidator.cs