Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } }Initializes a new instance of the ///class.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RepeaterDesigner.cs
- lengthconverter.cs
- SynchronizationContext.cs
- LineSegment.cs
- DocumentSchemaValidator.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- ITextView.cs
- Convert.cs
- TextRunCache.cs
- DSACryptoServiceProvider.cs
- GridViewEditEventArgs.cs
- XmlCharCheckingWriter.cs
- SessionState.cs
- ConstructorBuilder.cs
- MimeFormatter.cs
- ItemCollectionEditor.cs
- ContextMenu.cs
- ClientRequest.cs
- RegistryHandle.cs
- AdapterUtil.cs
- DecimalConstantAttribute.cs
- login.cs
- HtmlWindowCollection.cs
- PrimitiveDataContract.cs
- XmlILIndex.cs
- TextWriter.cs
- RegexWorker.cs
- ContractUtils.cs
- TextCharacters.cs
- StringSorter.cs
- DataGridLinkButton.cs
- Trigger.cs
- Page.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- DbConnectionPoolGroupProviderInfo.cs
- AdditionalEntityFunctions.cs
- FixedSOMPageElement.cs
- TaskHelper.cs
- HandlerWithFactory.cs
- FileNotFoundException.cs
- DownloadProgressEventArgs.cs
- DbMetaDataCollectionNames.cs
- TextTreeTextNode.cs
- AutomationIdentifier.cs
- SessionStateModule.cs
- SHA384.cs
- VectorCollectionConverter.cs
- NameTable.cs
- SQLResource.cs
- ViewCellRelation.cs
- ImageMap.cs
- _SslStream.cs
- FixedHyperLink.cs
- Fx.cs
- EnumType.cs
- Int32Rect.cs
- SQLInt64.cs
- ThousandthOfEmRealDoubles.cs
- PartialCachingControl.cs
- Image.cs
- RequiredFieldValidator.cs
- CultureTable.cs
- PropertyInfoSet.cs
- LinqDataSource.cs
- AssemblySettingAttributes.cs
- ProgressChangedEventArgs.cs
- ComponentTray.cs
- HTTPNotFoundHandler.cs
- ResourceSetExpression.cs
- ServiceConfigurationTraceRecord.cs
- ImageIndexConverter.cs
- TimersDescriptionAttribute.cs
- MsmqBindingElementBase.cs
- ContentPresenter.cs
- EventProviderClassic.cs
- ApplicationDirectory.cs
- SystemFonts.cs
- CollectionViewGroupRoot.cs
- SafeFileHandle.cs
- SecurityToken.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- MsmqInputChannelListenerBase.cs
- Deflater.cs
- TraceRecord.cs
- CodeIdentifiers.cs
- UserControl.cs
- GetFileNameResult.cs
- DataGridViewCell.cs
- HMACRIPEMD160.cs
- _SSPISessionCache.cs
- Invariant.cs
- HttpCacheVary.cs
- TypeViewSchema.cs
- XmlSchemaDatatype.cs
- SecurityTraceRecordHelper.cs
- CellRelation.cs
- ToolStripManager.cs
- Codec.cs
- NonParentingControl.cs
- Win32Interop.cs