Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / ComponentChangedEvent.cs / 1305376 / 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
- Array.cs
- MissingFieldException.cs
- RichListBox.cs
- EntityDataSourceWrapperCollection.cs
- TextBoxLine.cs
- AllowedAudienceUriElement.cs
- UInt32Converter.cs
- CustomTrackingRecord.cs
- BlobPersonalizationState.cs
- ToolStripControlHost.cs
- QuotedStringFormatReader.cs
- HostExecutionContextManager.cs
- TableCell.cs
- DataKey.cs
- ProjectionCamera.cs
- TextDecoration.cs
- DataSourceSelectArguments.cs
- Command.cs
- RSAPKCS1KeyExchangeFormatter.cs
- XmlReader.cs
- ListControlActionList.cs
- TableLayoutSettings.cs
- GridViewSortEventArgs.cs
- DrawingCollection.cs
- GeneratedCodeAttribute.cs
- SQLDecimal.cs
- Script.cs
- ManagementObjectSearcher.cs
- SubstitutionList.cs
- FileDataSourceCache.cs
- URLMembershipCondition.cs
- SqlWriter.cs
- ExpressionNormalizer.cs
- InputProviderSite.cs
- SqlRowUpdatedEvent.cs
- StrokeSerializer.cs
- OperationDescriptionCollection.cs
- DataGridViewButtonColumn.cs
- PartitionResolver.cs
- ObjectHelper.cs
- PointLight.cs
- X509CertificateValidator.cs
- NullableFloatMinMaxAggregationOperator.cs
- FieldBuilder.cs
- JoinTreeSlot.cs
- DocumentScope.cs
- PnrpPermission.cs
- EntityContainerEntitySetDefiningQuery.cs
- EasingFunctionBase.cs
- ExtendedPropertyDescriptor.cs
- _NTAuthentication.cs
- EndSelectCardRequest.cs
- SkipStoryboardToFill.cs
- PathData.cs
- QuaternionValueSerializer.cs
- MessageQueueException.cs
- XmlSchemaAttribute.cs
- Activity.cs
- DiscoveryClientDuplexChannel.cs
- TransformerInfo.cs
- ImmComposition.cs
- RewritingPass.cs
- LinqDataSourceDisposeEventArgs.cs
- ImmutableAssemblyCacheEntry.cs
- FamilyMap.cs
- Msmq.cs
- OpenFileDialog.cs
- SqlEnums.cs
- SimpleParser.cs
- NativeMsmqMessage.cs
- BoolLiteral.cs
- OperationContractGenerationContext.cs
- ConnectionConsumerAttribute.cs
- InvalidContentTypeException.cs
- InkSerializer.cs
- OverflowException.cs
- Dispatcher.cs
- PeerNearMe.cs
- ValueTable.cs
- ClientSession.cs
- SymmetricKeyWrap.cs
- ComponentResourceManager.cs
- SqlTransaction.cs
- InkPresenterAutomationPeer.cs
- MinimizableAttributeTypeConverter.cs
- MdImport.cs
- StatusBar.cs
- AppAction.cs
- Timer.cs
- DataGridViewCellStyleConverter.cs
- MethodMessage.cs
- ControlBuilderAttribute.cs
- TypeHelpers.cs
- ComponentResourceKeyConverter.cs
- XsdDuration.cs
- ViewStateException.cs
- HttpCacheParams.cs
- SynchronizedInputHelper.cs
- WhiteSpaceTrimStringConverter.cs
- AdRotator.cs