Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / ComponentChangedEvent.cs / 1305376 / 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
- LoginStatusDesigner.cs
- DataObjectFieldAttribute.cs
- HostedElements.cs
- TextOptions.cs
- FocusTracker.cs
- Single.cs
- Version.cs
- WebPartZone.cs
- ButtonBaseDesigner.cs
- IISMapPath.cs
- IdnMapping.cs
- ToolboxComponentsCreatingEventArgs.cs
- TextBoxBase.cs
- ErrorHandlerFaultInfo.cs
- Roles.cs
- MemberHolder.cs
- PrintingPermissionAttribute.cs
- RoutedEventConverter.cs
- FunctionDescription.cs
- ControlIdConverter.cs
- Models.cs
- MasterPageCodeDomTreeGenerator.cs
- StorageMappingItemLoader.cs
- SafeBitVector32.cs
- CalculatedColumn.cs
- AnalyzedTree.cs
- ButtonBaseAutomationPeer.cs
- RIPEMD160.cs
- HttpCookiesSection.cs
- log.cs
- MetadataPropertyvalue.cs
- SessionParameter.cs
- WinFormsSpinner.cs
- TemplateInstanceAttribute.cs
- DeobfuscatingStream.cs
- MeasureData.cs
- PathData.cs
- ConfigUtil.cs
- ListViewUpdateEventArgs.cs
- ClientBase.cs
- ExtendedPropertyDescriptor.cs
- QueryRewriter.cs
- XPathScanner.cs
- SocketAddress.cs
- CodeTypeOfExpression.cs
- BitmapMetadataBlob.cs
- Walker.cs
- EntityDataSourceWizardForm.cs
- RestClientProxyHandler.cs
- XPathNode.cs
- WebPart.cs
- DefaultBinder.cs
- QueryInterceptorAttribute.cs
- TypeReference.cs
- ItemDragEvent.cs
- BamlMapTable.cs
- QilIterator.cs
- _AutoWebProxyScriptEngine.cs
- PartManifestEntry.cs
- XmlSchemaGroup.cs
- SqlDependencyListener.cs
- HitTestResult.cs
- DirectionalAction.cs
- ImageInfo.cs
- ListViewPagedDataSource.cs
- ControlAdapter.cs
- EmptyWithCancelationCheckWorkItem.cs
- Cursor.cs
- ListBoxChrome.cs
- RadioButtonPopupAdapter.cs
- Brush.cs
- AdjustableArrowCap.cs
- GlyphCache.cs
- Wizard.cs
- ResolveCompletedEventArgs.cs
- WindowVisualStateTracker.cs
- LinkUtilities.cs
- XPathDocumentIterator.cs
- MDIControlStrip.cs
- AutomationPatternInfo.cs
- AmbiguousMatchException.cs
- StoreItemCollection.cs
- XmlBufferReader.cs
- SortKey.cs
- StateMachineExecutionState.cs
- OleDbMetaDataFactory.cs
- ExpressionBuilderContext.cs
- Accessible.cs
- FontStyle.cs
- BindingExpressionUncommonField.cs
- _FtpDataStream.cs
- SkewTransform.cs
- UnmanagedHandle.cs
- AsymmetricCryptoHandle.cs
- ObjectDisposedException.cs
- SafeLocalAllocation.cs
- CommandEventArgs.cs
- ViewStateModeByIdAttribute.cs
- FixedStringLookup.cs
- EmptyImpersonationContext.cs