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
- OptimisticConcurrencyException.cs
- CTreeGenerator.cs
- DataGridPreparingCellForEditEventArgs.cs
- BitmapEffect.cs
- StatusBarPanel.cs
- SQLCharsStorage.cs
- DataSourceProvider.cs
- AccessDataSourceView.cs
- XmlTextReaderImpl.cs
- ScrollContentPresenter.cs
- SystemDiagnosticsSection.cs
- XmlDictionary.cs
- IPEndPointCollection.cs
- StateMachineHelpers.cs
- InvalidOperationException.cs
- SettingsProperty.cs
- WindowsTab.cs
- Renderer.cs
- ZipIORawDataFileBlock.cs
- ISO2022Encoding.cs
- RelatedCurrencyManager.cs
- BindUriHelper.cs
- RightsManagementSuppressedStream.cs
- Symbol.cs
- _SingleItemRequestCache.cs
- HelpEvent.cs
- PackagePartCollection.cs
- ServiceDesigner.xaml.cs
- DbConnectionPool.cs
- OleDbSchemaGuid.cs
- SoapTypeAttribute.cs
- XPathNodeHelper.cs
- ImageMapEventArgs.cs
- processwaithandle.cs
- PermissionToken.cs
- PersonalizationEntry.cs
- TextMetrics.cs
- UnauthorizedWebPart.cs
- ConsumerConnectionPoint.cs
- ScrollPattern.cs
- NegatedCellConstant.cs
- NavigationProperty.cs
- SelectionRange.cs
- StringValidator.cs
- GiveFeedbackEventArgs.cs
- __TransparentProxy.cs
- ComplexLine.cs
- ForwardPositionQuery.cs
- PartialArray.cs
- HandlerFactoryCache.cs
- WebHostUnsafeNativeMethods.cs
- WebPartEditorCancelVerb.cs
- AutomationPatternInfo.cs
- ToolboxDataAttribute.cs
- CDSsyncETWBCLProvider.cs
- MatrixTransform3D.cs
- Registry.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- ClientFormsAuthenticationCredentials.cs
- Rect.cs
- ClientTargetSection.cs
- TemplateComponentConnector.cs
- FlagPanel.cs
- DataGridHeaderBorder.cs
- SoapAttributes.cs
- EntityStoreSchemaGenerator.cs
- PeerEndPoint.cs
- CompoundFileStreamReference.cs
- AutoResizedEvent.cs
- DatagridviewDisplayedBandsData.cs
- RichTextBox.cs
- ObfuscateAssemblyAttribute.cs
- PreservationFileReader.cs
- ValueTypeFixupInfo.cs
- InitializingNewItemEventArgs.cs
- RijndaelCryptoServiceProvider.cs
- SymbolMethod.cs
- ConfigurationException.cs
- HttpListenerResponse.cs
- WSSecureConversation.cs
- XsdDuration.cs
- TargetParameterCountException.cs
- CreateUserErrorEventArgs.cs
- FtpCachePolicyElement.cs
- UserControlParser.cs
- ObjectDataSourceEventArgs.cs
- DataKeyArray.cs
- PlainXmlSerializer.cs
- TextSelectionHelper.cs
- contentDescriptor.cs
- TextPatternIdentifiers.cs
- DataContractJsonSerializer.cs
- TypeDependencyAttribute.cs
- CompiledQueryCacheKey.cs
- AttachmentCollection.cs
- CustomWebEventKey.cs
- DesignerForm.cs
- TriggerAction.cs
- EntityClassGenerator.cs
- SqlMultiplexer.cs