Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- FixedNode.cs
- SchemaReference.cs
- OperandQuery.cs
- ProcessHostConfigUtils.cs
- Int16AnimationUsingKeyFrames.cs
- WebPartConnectionsCancelEventArgs.cs
- FontStretch.cs
- FrugalList.cs
- CodeAttributeDeclarationCollection.cs
- WsatAdminException.cs
- ProcessThread.cs
- ColumnResizeAdorner.cs
- FileUtil.cs
- GridViewColumnHeaderAutomationPeer.cs
- WebPartCancelEventArgs.cs
- ClickablePoint.cs
- Site.cs
- LineBreakRecord.cs
- SignedXml.cs
- XmlDataLoader.cs
- CommandConverter.cs
- CommentAction.cs
- _AcceptOverlappedAsyncResult.cs
- HostProtectionException.cs
- SqlRemoveConstantOrderBy.cs
- FixedSOMTable.cs
- ObjectKeyFrameCollection.cs
- SystemUdpStatistics.cs
- EnumerableCollectionView.cs
- NodeFunctions.cs
- UnmanagedMemoryStreamWrapper.cs
- StrongNameUtility.cs
- CompoundFileIOPermission.cs
- WorkItem.cs
- TimerElapsedEvenArgs.cs
- ListDictionaryInternal.cs
- ImageSourceTypeConverter.cs
- SspiSafeHandles.cs
- CustomCategoryAttribute.cs
- OdbcConnectionHandle.cs
- TypedDataSetSchemaImporterExtension.cs
- ConfigurationLocationCollection.cs
- PKCS1MaskGenerationMethod.cs
- ZipIOBlockManager.cs
- StylusPointProperty.cs
- TableLayoutSettings.cs
- ObjectTag.cs
- ProtocolsInstallComponent.cs
- RepeaterItemEventArgs.cs
- ContentElement.cs
- ProcessModuleCollection.cs
- Publisher.cs
- Canvas.cs
- Socket.cs
- SignedPkcs7.cs
- KeyNotFoundException.cs
- HMACSHA512.cs
- TdsParameterSetter.cs
- ScalarType.cs
- XPathAxisIterator.cs
- ListViewInsertEventArgs.cs
- DecimalConstantAttribute.cs
- FixedPageStructure.cs
- DBParameter.cs
- MouseGestureConverter.cs
- UrlPath.cs
- Size3DConverter.cs
- ProcessingInstructionAction.cs
- RadioButton.cs
- DecoderReplacementFallback.cs
- ProfessionalColors.cs
- Header.cs
- MostlySingletonList.cs
- TransformerInfo.cs
- Wizard.cs
- PropertyGridCommands.cs
- TypeLoadException.cs
- SingleAnimation.cs
- DataBinder.cs
- BamlResourceContent.cs
- _Events.cs
- Misc.cs
- OSFeature.cs
- EntityClassGenerator.cs
- MenuItemBinding.cs
- SiteMembershipCondition.cs
- _StreamFramer.cs
- GifBitmapDecoder.cs
- PageThemeCodeDomTreeGenerator.cs
- DrawingVisualDrawingContext.cs
- BaseDataBoundControl.cs
- Transform3D.cs
- ReachVisualSerializerAsync.cs
- ArrayTypeMismatchException.cs
- QueryOutputWriter.cs
- HitTestWithGeometryDrawingContextWalker.cs
- VisualBasicExpressionConverter.cs
- TransactionInformation.cs
- ContextActivityUtils.cs
- IPAddressCollection.cs