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
- BitmapCodecInfo.cs
- TypeCollectionDesigner.xaml.cs
- Rfc2898DeriveBytes.cs
- XmlSiteMapProvider.cs
- ACL.cs
- AccessibleObject.cs
- Quad.cs
- LeaseManager.cs
- EntityContainerEntitySetDefiningQuery.cs
- SymbolDocumentGenerator.cs
- DataTableExtensions.cs
- MissingManifestResourceException.cs
- StoreContentChangedEventArgs.cs
- Point3D.cs
- ProfileBuildProvider.cs
- XmlDataSourceDesigner.cs
- ContextBase.cs
- CachedBitmap.cs
- GenericTextProperties.cs
- ReadOnlyCollectionBase.cs
- TransformedBitmap.cs
- CheckableControlBaseAdapter.cs
- HttpConfigurationContext.cs
- OutputCacheEntry.cs
- ListParagraph.cs
- DataGridItem.cs
- ComponentCommands.cs
- DbConnectionPoolIdentity.cs
- OrderPreservingPipeliningSpoolingTask.cs
- DataGridTable.cs
- JournalEntryListConverter.cs
- IsolatedStorageFilePermission.cs
- _LocalDataStore.cs
- SettingsBase.cs
- ObjectViewEntityCollectionData.cs
- ThemeDirectoryCompiler.cs
- Evaluator.cs
- LinearQuaternionKeyFrame.cs
- PropertyChangedEventArgs.cs
- Validator.cs
- XmlCustomFormatter.cs
- InfoCardSymmetricAlgorithm.cs
- ValidationHelper.cs
- HtmlTable.cs
- ParameterCollectionEditorForm.cs
- BrowserCapabilitiesCompiler.cs
- KeyInterop.cs
- OperationResponse.cs
- DataGridViewCellValueEventArgs.cs
- Vector3DConverter.cs
- TypeTypeConverter.cs
- DataGridColumnHeadersPresenter.cs
- TiffBitmapDecoder.cs
- Location.cs
- ScriptServiceAttribute.cs
- TripleDES.cs
- DesignTimeVisibleAttribute.cs
- RadioButtonAutomationPeer.cs
- httpserverutility.cs
- IndentedWriter.cs
- XmlReflectionMember.cs
- RSAOAEPKeyExchangeFormatter.cs
- XmlSchemaInclude.cs
- TextEditor.cs
- TimeSpanSecondsConverter.cs
- EUCJPEncoding.cs
- URLIdentityPermission.cs
- FieldBuilder.cs
- DirectionalLight.cs
- CheckedListBox.cs
- DefaultHttpHandler.cs
- ColumnWidthChangedEvent.cs
- MsmqHostedTransportConfiguration.cs
- SqlBuffer.cs
- EventSourceCreationData.cs
- Vector3DIndependentAnimationStorage.cs
- Annotation.cs
- Rect3DConverter.cs
- PngBitmapEncoder.cs
- PassportAuthenticationModule.cs
- NominalTypeEliminator.cs
- CollectionAdapters.cs
- XhtmlConformanceSection.cs
- CorePropertiesFilter.cs
- WpfMemberInvoker.cs
- FixedPageStructure.cs
- Publisher.cs
- BindingOperations.cs
- ExpressionTable.cs
- WebServiceHandlerFactory.cs
- WebControlAdapter.cs
- SqlFileStream.cs
- WebHeaderCollection.cs
- OptimisticConcurrencyException.cs
- ContextBase.cs
- EmbeddedMailObjectsCollection.cs
- peersecuritysettings.cs
- Panel.cs
- ResourceLoader.cs
- BitmapEffect.cs