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
- _IPv4Address.cs
- NameSpaceExtractor.cs
- ComplexBindingPropertiesAttribute.cs
- RelatedPropertyManager.cs
- KnownBoxes.cs
- FormatterConverter.cs
- HyperLinkField.cs
- ObjectHelper.cs
- TypeHelpers.cs
- ToolStripSystemRenderer.cs
- QueryableDataSource.cs
- SmiConnection.cs
- FontWeights.cs
- WindowsPrincipal.cs
- CollectionsUtil.cs
- KeyManager.cs
- DefaultAssemblyResolver.cs
- versioninfo.cs
- SafePointer.cs
- EmptyControlCollection.cs
- TextCompositionEventArgs.cs
- ListViewHitTestInfo.cs
- DataGridViewAccessibleObject.cs
- ComplexObject.cs
- ReachDocumentPageSerializer.cs
- GridViewAutomationPeer.cs
- X509Certificate2.cs
- Exceptions.cs
- ActivityIdHeader.cs
- FileCodeGroup.cs
- Panel.cs
- HtmlLink.cs
- IpcServerChannel.cs
- Journal.cs
- XmlSchemaRedefine.cs
- XPathParser.cs
- MultiTrigger.cs
- Int32Rect.cs
- Constraint.cs
- HttpHeaderCollection.cs
- StreamReader.cs
- CodeStatement.cs
- Win32.cs
- TextTreeUndoUnit.cs
- TabOrder.cs
- PriorityItem.cs
- InvalidComObjectException.cs
- NavigatingCancelEventArgs.cs
- DataControlFieldCollection.cs
- WmpBitmapDecoder.cs
- SpeechAudioFormatInfo.cs
- EasingKeyFrames.cs
- ReaderWriterLockWrapper.cs
- ScrollBar.cs
- DmlSqlGenerator.cs
- TraceHandlerErrorFormatter.cs
- BaseTemplateCodeDomTreeGenerator.cs
- ContractAdapter.cs
- DirectoryLocalQuery.cs
- SqlPersonalizationProvider.cs
- XPathSingletonIterator.cs
- MaskedTextBoxTextEditor.cs
- HttpModulesSection.cs
- ErrorFormatter.cs
- AbstractExpressions.cs
- TypeHelpers.cs
- TemplateBindingExtension.cs
- PackagePart.cs
- ArrayHelper.cs
- BreakRecordTable.cs
- ClientConfigurationSystem.cs
- TrackingValidationObjectDictionary.cs
- XmlExtensionFunction.cs
- DocumentEventArgs.cs
- SafeArrayTypeMismatchException.cs
- ListBoxItemWrapperAutomationPeer.cs
- SpecularMaterial.cs
- SourceInterpreter.cs
- WindowsSpinner.cs
- MiniMapControl.xaml.cs
- MobileFormsAuthentication.cs
- DataGridColumn.cs
- WorkflowNamespace.cs
- GridViewCellAutomationPeer.cs
- Opcode.cs
- LinkLabelLinkClickedEvent.cs
- CheckBoxAutomationPeer.cs
- BinaryObjectInfo.cs
- WebEventCodes.cs
- BaseValidator.cs
- Exceptions.cs
- CachedPathData.cs
- BinaryReader.cs
- DataReaderContainer.cs
- MemberDescriptor.cs
- ToolStripRenderEventArgs.cs
- Serializer.cs
- XmlQuerySequence.cs
- ServiceNameElement.cs
- HttpSessionStateWrapper.cs