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
- ReliableMessagingHelpers.cs
- DrawingAttributeSerializer.cs
- ListControl.cs
- UnitySerializationHolder.cs
- OrderedEnumerableRowCollection.cs
- DCSafeHandle.cs
- HintTextMaxWidthConverter.cs
- ClientCredentialsSecurityTokenManager.cs
- SqlDataSourceCommandParser.cs
- AttachmentService.cs
- StringValidatorAttribute.cs
- XmlDictionaryString.cs
- BitmapDownload.cs
- InternalConfigSettingsFactory.cs
- SqlDataSourceCache.cs
- CommonObjectSecurity.cs
- ScriptServiceAttribute.cs
- ToolStripContentPanel.cs
- RadialGradientBrush.cs
- Rectangle.cs
- TreeViewDataItemAutomationPeer.cs
- UnsafeNativeMethods.cs
- HtmlContainerControl.cs
- ErrorLog.cs
- ResourceDisplayNameAttribute.cs
- BamlResourceContent.cs
- DataQuery.cs
- AppDomainProtocolHandler.cs
- TextTreeNode.cs
- Parser.cs
- ExcCanonicalXml.cs
- InputGestureCollection.cs
- RepeaterItemCollection.cs
- XmlSerializerFactory.cs
- XmlAttributeCache.cs
- EntityDataSourceReferenceGroup.cs
- CacheDependency.cs
- GZipDecoder.cs
- ProtectedConfigurationProviderCollection.cs
- XsdBuilder.cs
- HitTestResult.cs
- EntityClientCacheKey.cs
- ThreadNeutralSemaphore.cs
- CookielessHelper.cs
- AmbiguousMatchException.cs
- WindowExtensionMethods.cs
- RequestCacheValidator.cs
- VirtualPathProvider.cs
- Hyperlink.cs
- CreateParams.cs
- HandleCollector.cs
- DragEventArgs.cs
- ToolStripDropDown.cs
- DataGridSortingEventArgs.cs
- ToolStripStatusLabel.cs
- ECDiffieHellman.cs
- DebugTracing.cs
- VideoDrawing.cs
- ConfigXmlAttribute.cs
- XmlSiteMapProvider.cs
- ValueQuery.cs
- CodeTryCatchFinallyStatement.cs
- DataServiceProviderWrapper.cs
- Int16AnimationBase.cs
- ProvidePropertyAttribute.cs
- StreamGeometry.cs
- SimpleExpression.cs
- UnitySerializationHolder.cs
- HScrollBar.cs
- XPathItem.cs
- DataGridGeneralPage.cs
- SecureStringHasher.cs
- Walker.cs
- GlyphRunDrawing.cs
- ChildTable.cs
- KnownBoxes.cs
- SQLDecimal.cs
- WizardStepCollectionEditor.cs
- XamlUtilities.cs
- ComplexTypeEmitter.cs
- SystemIcons.cs
- ShaperBuffers.cs
- XmlWrappingReader.cs
- UrlMapping.cs
- SerializationHelper.cs
- XmlSerializableWriter.cs
- ListBindingHelper.cs
- CacheVirtualItemsEvent.cs
- TiffBitmapDecoder.cs
- LineUtil.cs
- FilterQuery.cs
- VersionPair.cs
- WebBodyFormatMessageProperty.cs
- PageBreakRecord.cs
- PersonalizationProviderHelper.cs
- SmiContextFactory.cs
- ManipulationDeltaEventArgs.cs
- CancellationHandlerDesigner.cs
- EventSinkHelperWriter.cs
- BinaryFormatterWriter.cs