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 / ComponentChangedEvent.cs / 1 / ComponentChangedEvent.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.LinkDemand, Name="FullTrust")] public sealed class ComponentChangedEventArgs : EventArgs { private object component; private MemberDescriptor member; private object oldValue; private object newValue; ///Provides data for the ///event. /// public object Component { get { return component; } } ////// Gets or sets the component that is the cause of this event. /// ////// public MemberDescriptor Member { get { return member; } } ////// Gets or sets the member that is about to change. /// ////// public object NewValue { get { return newValue; } } ////// Gets or sets the new value of the changed member. /// ////// public object OldValue { get { return oldValue; } } ////// Gets or sets the old value of the changed member. /// ////// public ComponentChangedEventArgs(object component, MemberDescriptor member, object oldValue, object newValue) { this.component = component; this.member = member; this.oldValue = oldValue; this.newValue = newValue; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Initializes a new instance of the ///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.LinkDemand, Name="FullTrust")] public sealed class ComponentChangedEventArgs : EventArgs { private object component; private MemberDescriptor member; private object oldValue; private object newValue; ///Provides data for the ///event. /// public object Component { get { return component; } } ////// Gets or sets the component that is the cause of this event. /// ////// public MemberDescriptor Member { get { return member; } } ////// Gets or sets the member that is about to change. /// ////// public object NewValue { get { return newValue; } } ////// Gets or sets the new value of the changed member. /// ////// public object OldValue { get { return oldValue; } } ////// Gets or sets the old value of the changed member. /// ////// public ComponentChangedEventArgs(object component, MemberDescriptor member, object oldValue, object newValue) { this.component = component; this.member = member; this.oldValue = oldValue; this.newValue = newValue; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Initializes a new instance of the ///class.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebBrowserNavigatingEventHandler.cs
- CredentialCache.cs
- TiffBitmapEncoder.cs
- FolderLevelBuildProvider.cs
- PeerInvitationResponse.cs
- ConnectionManagementElement.cs
- FileRecordSequenceHelper.cs
- StorageConditionPropertyMapping.cs
- GridViewUpdateEventArgs.cs
- DataServicePagingProviderWrapper.cs
- DesignerCategoryAttribute.cs
- RangeValueProviderWrapper.cs
- IndependentlyAnimatedPropertyMetadata.cs
- CodeThrowExceptionStatement.cs
- ScriptingWebServicesSectionGroup.cs
- DataBindingCollectionEditor.cs
- SessionStateModule.cs
- TdsValueSetter.cs
- LinearGradientBrush.cs
- StylusPointProperties.cs
- TextEditorParagraphs.cs
- ColorDialog.cs
- _ScatterGatherBuffers.cs
- ListControlConvertEventArgs.cs
- Regex.cs
- PolicyLevel.cs
- TransportBindingElement.cs
- MarshalByRefObject.cs
- SqlDataSourceQueryEditor.cs
- SqlDataReader.cs
- ToolStripRenderer.cs
- CreateRefExpr.cs
- WindowHelperService.cs
- NativeMethods.cs
- TreeBuilderBamlTranslator.cs
- RegexCapture.cs
- HostProtectionPermission.cs
- CacheMemory.cs
- Classification.cs
- iisPickupDirectory.cs
- EventMappingSettingsCollection.cs
- PublishLicense.cs
- DataGridViewCellCollection.cs
- TreeNodeConverter.cs
- StateItem.cs
- ServiceDescriptionSerializer.cs
- BindableTemplateBuilder.cs
- KnownBoxes.cs
- PeerCredentialElement.cs
- LinkClickEvent.cs
- SettingsProviderCollection.cs
- ContextMenuAutomationPeer.cs
- Int32Rect.cs
- ThrowHelper.cs
- PeerNameRecordCollection.cs
- WindowsListViewItemStartMenu.cs
- MediaContext.cs
- FieldBuilder.cs
- TripleDESCryptoServiceProvider.cs
- CodeTypeMember.cs
- ColorConverter.cs
- Material.cs
- MetadataStore.cs
- XPathNodeIterator.cs
- SrgsGrammar.cs
- EncoderReplacementFallback.cs
- validation.cs
- EventWaitHandle.cs
- Equal.cs
- ApplicationProxyInternal.cs
- MatrixAnimationUsingPath.cs
- EnumerableRowCollection.cs
- List.cs
- LocatorPart.cs
- CurrentTimeZone.cs
- ServiceModelConfigurationSectionGroup.cs
- WebPartTransformerAttribute.cs
- WebBrowsableAttribute.cs
- CodeExpressionRuleDeclaration.cs
- TextFormatter.cs
- FontDialog.cs
- FontCacheLogic.cs
- PtsCache.cs
- TextEvent.cs
- UnsafePeerToPeerMethods.cs
- AutomationElementIdentifiers.cs
- NumberFunctions.cs
- ItemCollection.cs
- InputElement.cs
- ChildrenQuery.cs
- ContentFilePart.cs
- UnsupportedPolicyOptionsException.cs
- SimpleFileLog.cs
- SocketInformation.cs
- IndexedGlyphRun.cs
- Lease.cs
- CodeBinaryOperatorExpression.cs
- ReaderWriterLock.cs
- EntityChangedParams.cs
- Geometry.cs