Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ModelItemImpl.cs
- ChooseAction.cs
- WebConfigurationHost.cs
- UITypeEditor.cs
- HttpListenerRequest.cs
- DataPagerFieldCollection.cs
- AsyncCompletedEventArgs.cs
- SHA384.cs
- ListControl.cs
- ValidationErrorCollection.cs
- CmsInterop.cs
- SortQuery.cs
- BlobPersonalizationState.cs
- DrawingAttributes.cs
- RelationshipManager.cs
- Executor.cs
- AbstractDataSvcMapFileLoader.cs
- Encoder.cs
- ScrollItemPattern.cs
- Variable.cs
- PathFigure.cs
- MetadataArtifactLoaderCompositeResource.cs
- RectAnimation.cs
- Transactions.cs
- Speller.cs
- SecureStringHasher.cs
- DelayedRegex.cs
- MediaScriptCommandRoutedEventArgs.cs
- SemanticResolver.cs
- MetadataWorkspace.cs
- RoleService.cs
- ResourceLoader.cs
- IntSecurity.cs
- KeyManager.cs
- PagesChangedEventArgs.cs
- SQLInt16.cs
- RuntimeCompatibilityAttribute.cs
- OdbcFactory.cs
- TraceXPathNavigator.cs
- OdbcPermission.cs
- EpmTargetTree.cs
- ModulesEntry.cs
- Int64KeyFrameCollection.cs
- Barrier.cs
- MissingSatelliteAssemblyException.cs
- SizeLimitedCache.cs
- ValueTypeFixupInfo.cs
- OdbcRowUpdatingEvent.cs
- TcpConnectionPoolSettingsElement.cs
- WebPartZone.cs
- StringValidator.cs
- WebServiceAttribute.cs
- TextContainerHelper.cs
- StylusPointPropertyInfo.cs
- MemberAccessException.cs
- FormViewPagerRow.cs
- X509Utils.cs
- RootProfilePropertySettingsCollection.cs
- FileIOPermission.cs
- InteropAutomationProvider.cs
- DecimalConstantAttribute.cs
- SocketSettings.cs
- RangeBase.cs
- ProxyAttribute.cs
- PointHitTestParameters.cs
- CfgArc.cs
- IndexedString.cs
- PublisherIdentityPermission.cs
- BindingContext.cs
- ListItem.cs
- OlePropertyStructs.cs
- ObjectListSelectEventArgs.cs
- ControlBuilderAttribute.cs
- ErrorEventArgs.cs
- UnsafeNativeMethodsTablet.cs
- PreviewKeyDownEventArgs.cs
- DataViewManager.cs
- MD5HashHelper.cs
- ParagraphResult.cs
- FontInfo.cs
- DependencyObject.cs
- EnterpriseServicesHelper.cs
- ManipulationDevice.cs
- unitconverter.cs
- TimeoutException.cs
- MessageDescription.cs
- NumericExpr.cs
- DynamicAttribute.cs
- AsyncStreamReader.cs
- NameTable.cs
- CookieParameter.cs
- Compiler.cs
- HttpChannelListener.cs
- AnimationTimeline.cs
- ReceiveMessageAndVerifySecurityAsyncResultBase.cs
- CodeCommentStatement.cs
- PathGradientBrush.cs
- SmtpCommands.cs
- ContextCorrelationInitializer.cs
- ServiceReference.cs