Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- HtmlTableRowCollection.cs
- ActivityCollectionMarkupSerializer.cs
- WmiEventSink.cs
- TaskFactory.cs
- Permission.cs
- XsdBuilder.cs
- KeyBinding.cs
- ClientTargetCollection.cs
- RoutingService.cs
- CodeDefaultValueExpression.cs
- ViewStateException.cs
- ToolStripRendererSwitcher.cs
- XmlSchemaGroup.cs
- webproxy.cs
- WindowsSecurityTokenAuthenticator.cs
- GeometryConverter.cs
- ViewLoader.cs
- SerializationFieldInfo.cs
- XmlSchemaSimpleTypeUnion.cs
- ObjectNavigationPropertyMapping.cs
- DocumentSequence.cs
- UIElementAutomationPeer.cs
- PropertyDescriptorGridEntry.cs
- XmlMapping.cs
- BindingExpressionUncommonField.cs
- VersionedStream.cs
- SqlDataReaderSmi.cs
- CodeValidator.cs
- Assert.cs
- UnknownWrapper.cs
- XComponentModel.cs
- Figure.cs
- EntitySetDataBindingList.cs
- And.cs
- InitializerFacet.cs
- ComNativeDescriptor.cs
- securitycriticaldata.cs
- GlyphCache.cs
- Enumerable.cs
- StylusPlugin.cs
- DataGridPagerStyle.cs
- WebPartAddingEventArgs.cs
- XmlIlGenerator.cs
- validationstate.cs
- ItemContainerProviderWrapper.cs
- List.cs
- CodeSubDirectory.cs
- XPathNodeIterator.cs
- UserMapPath.cs
- WebPartDescription.cs
- DoubleStorage.cs
- FieldDescriptor.cs
- XmlCharacterData.cs
- OperatingSystem.cs
- XmlMessageFormatter.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- ContainerControl.cs
- RepeaterItemCollection.cs
- UidManager.cs
- StringArrayConverter.cs
- JpegBitmapEncoder.cs
- ZipIOModeEnforcingStream.cs
- UnitySerializationHolder.cs
- RepeaterItemEventArgs.cs
- AssociationType.cs
- DynamicObject.cs
- SessionStateContainer.cs
- ToolStripPanelRow.cs
- UrlMappingCollection.cs
- CodeTypeDelegate.cs
- HtmlElementErrorEventArgs.cs
- MulticastDelegate.cs
- CoreSwitches.cs
- CopyOnWriteList.cs
- Int32KeyFrameCollection.cs
- SubMenuStyleCollection.cs
- FileClassifier.cs
- LoginName.cs
- WindowsAuthenticationModule.cs
- UnsafeNativeMethodsTablet.cs
- PropertyEntry.cs
- CursorInteropHelper.cs
- ThemeableAttribute.cs
- IsolatedStorage.cs
- PropertyDescriptorGridEntry.cs
- SystemIPAddressInformation.cs
- Dynamic.cs
- MarkupCompilePass1.cs
- PolyLineSegment.cs
- indexingfiltermarshaler.cs
- Matrix3DStack.cs
- Activator.cs
- WhitespaceRuleLookup.cs
- HttpVersion.cs
- TypeBuilderInstantiation.cs
- MapPathBasedVirtualPathProvider.cs
- BuildProviderAppliesToAttribute.cs
- FileDialog.cs
- Rectangle.cs
- SqlClientWrapperSmiStreamChars.cs