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
- SmtpException.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- EDesignUtil.cs
- EmissiveMaterial.cs
- DesignerView.Commands.cs
- CheckBoxRenderer.cs
- SqlBinder.cs
- XmlToDatasetMap.cs
- SynthesizerStateChangedEventArgs.cs
- StoreAnnotationsMap.cs
- LoginName.cs
- DataBoundLiteralControl.cs
- IMembershipProvider.cs
- MailDefinition.cs
- AssemblyGen.cs
- ApplicationHost.cs
- AudioFormatConverter.cs
- NativeMethods.cs
- FontEditor.cs
- BrushValueSerializer.cs
- BitmapEffectDrawing.cs
- ClientEventManager.cs
- Console.cs
- ImageCodecInfoPrivate.cs
- PrintPreviewGraphics.cs
- RegexNode.cs
- HwndHost.cs
- BevelBitmapEffect.cs
- UrlPropertyAttribute.cs
- SharedPersonalizationStateInfo.cs
- StylusLogic.cs
- ListManagerBindingsCollection.cs
- WorkflowInstanceExtensionProvider.cs
- Span.cs
- CaseInsensitiveComparer.cs
- EventLogEntryCollection.cs
- DataControlFieldCollection.cs
- RelatedView.cs
- HMACSHA1.cs
- QilInvokeLateBound.cs
- EventRoute.cs
- DataGridTextBoxColumn.cs
- ListItemCollection.cs
- RewritingPass.cs
- CompModSwitches.cs
- StringFreezingAttribute.cs
- SafeMemoryMappedViewHandle.cs
- ArgumentElement.cs
- CodeDelegateCreateExpression.cs
- TableProvider.cs
- WebZone.cs
- CompleteWizardStep.cs
- GenerateScriptTypeAttribute.cs
- PreProcessor.cs
- PngBitmapEncoder.cs
- DBCommandBuilder.cs
- DataControlReferenceCollection.cs
- UnmanagedHandle.cs
- EventLogPermission.cs
- WebPageTraceListener.cs
- BulletedListEventArgs.cs
- SetIterators.cs
- RemoveStoryboard.cs
- AttachmentService.cs
- ManagementDateTime.cs
- GridViewSelectEventArgs.cs
- SqlDataReaderSmi.cs
- ConvertersCollection.cs
- IndexerNameAttribute.cs
- ActiveXContainer.cs
- HttpConfigurationSystem.cs
- DirtyTextRange.cs
- MailWebEventProvider.cs
- AuthenticationServiceManager.cs
- InterleavedZipPartStream.cs
- MouseButton.cs
- ListViewEditEventArgs.cs
- PersonalizationProvider.cs
- XmlRawWriterWrapper.cs
- printdlgexmarshaler.cs
- EDesignUtil.cs
- CompilerLocalReference.cs
- WebServiceEnumData.cs
- MsmqInputSessionChannel.cs
- BackgroundWorker.cs
- XmlElementAttributes.cs
- IResourceProvider.cs
- UnauthorizedAccessException.cs
- ObjectDataSourceMethodEventArgs.cs
- BitmapEffectState.cs
- CategoryNameCollection.cs
- IsolatedStoragePermission.cs
- FixedSOMTable.cs
- HtmlButton.cs
- MethodRental.cs
- PasswordBoxAutomationPeer.cs
- XamlVector3DCollectionSerializer.cs
- Substitution.cs
- TrackingStringDictionary.cs
- RadioButton.cs