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
- SoapIgnoreAttribute.cs
- SineEase.cs
- TreeNodeEventArgs.cs
- JpegBitmapDecoder.cs
- XPathQilFactory.cs
- ListBindingConverter.cs
- NavigationPropertySingletonExpression.cs
- ListComponentEditorPage.cs
- MultiTouchSystemGestureLogic.cs
- GenericTypeParameterConverter.cs
- HostProtectionPermission.cs
- VectorCollectionValueSerializer.cs
- QuadraticBezierSegment.cs
- SslStream.cs
- TimeSpanStorage.cs
- ColorTransformHelper.cs
- SplitContainer.cs
- TimelineGroup.cs
- LogConverter.cs
- HostingMessageProperty.cs
- ExpressionBuilder.cs
- ListViewDeletedEventArgs.cs
- StructuredTypeInfo.cs
- Misc.cs
- SessionStateModule.cs
- ThreadExceptionDialog.cs
- Composition.cs
- DataGridViewColumnHeaderCell.cs
- SqlProcedureAttribute.cs
- JsonGlobals.cs
- AssertSection.cs
- NumberSubstitution.cs
- SQLMoneyStorage.cs
- EdmProviderManifest.cs
- ControlCollection.cs
- SiteMapNode.cs
- CompilationRelaxations.cs
- XmlWrappingWriter.cs
- BitHelper.cs
- XmlAttributeCache.cs
- TileBrush.cs
- LinkedList.cs
- TableItemPattern.cs
- RbTree.cs
- XmlConvert.cs
- GlyphsSerializer.cs
- Unit.cs
- LocalFileSettingsProvider.cs
- SmtpMail.cs
- ADRole.cs
- CodeGenerationManager.cs
- MenuItemStyle.cs
- Quad.cs
- D3DImage.cs
- ContextMenuService.cs
- OracleConnectionStringBuilder.cs
- MobileListItemCollection.cs
- ConsumerConnectionPointCollection.cs
- TextWriter.cs
- XPathDescendantIterator.cs
- ObjectPersistData.cs
- SchemaRegistration.cs
- ThreadAttributes.cs
- Bitmap.cs
- DesignerCommandSet.cs
- DataSourceProvider.cs
- BinaryReader.cs
- ObjectTypeMapping.cs
- ListViewDeleteEventArgs.cs
- LoginNameDesigner.cs
- DataMisalignedException.cs
- SerialErrors.cs
- PersistenceMetadataNamespace.cs
- DataGridCell.cs
- ObjectViewEntityCollectionData.cs
- InvokePatternIdentifiers.cs
- LastQueryOperator.cs
- WebServicesSection.cs
- BatchParser.cs
- ToolStripContainer.cs
- UniformGrid.cs
- RegistryExceptionHelper.cs
- AutoScrollHelper.cs
- SortFieldComparer.cs
- RenderData.cs
- AdornedElementPlaceholder.cs
- ProviderSettingsCollection.cs
- InkCanvasFeedbackAdorner.cs
- DBDataPermissionAttribute.cs
- CornerRadius.cs
- CodeBinaryOperatorExpression.cs
- ListViewAutomationPeer.cs
- EntityCollection.cs
- RightsManagementEncryptionTransform.cs
- HttpApplicationFactory.cs
- SmuggledIUnknown.cs
- PolicyValidationException.cs
- XPathDocumentNavigator.cs
- XPathDocumentBuilder.cs
- TabControlAutomationPeer.cs