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
- basevalidator.cs
- ColumnReorderedEventArgs.cs
- SR.cs
- _HeaderInfoTable.cs
- DocumentEventArgs.cs
- _LocalDataStore.cs
- CheckedListBox.cs
- RelOps.cs
- KeyGesture.cs
- CodeTypeOfExpression.cs
- AnnotationComponentChooser.cs
- ApplicationInfo.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- WebPartEventArgs.cs
- PermissionSet.cs
- MsdtcClusterUtils.cs
- TraceSection.cs
- RoleManagerEventArgs.cs
- PointCollection.cs
- ThreadInterruptedException.cs
- SystemColors.cs
- ReaderOutput.cs
- XmlSchemaSimpleType.cs
- SmtpNegotiateAuthenticationModule.cs
- UIntPtr.cs
- DataGridColumn.cs
- FixedSOMTable.cs
- DependencyPropertyHelper.cs
- MessageBox.cs
- SafeArrayTypeMismatchException.cs
- BamlRecords.cs
- UserControl.cs
- PersonalizationAdministration.cs
- EditorPart.cs
- LocalIdCollection.cs
- ConfigurationLocationCollection.cs
- RadioButtonStandardAdapter.cs
- PathFigureCollection.cs
- PreservationFileReader.cs
- ActiveXHelper.cs
- ObjectStateFormatter.cs
- DateTimeConverter.cs
- LinqDataSourceContextData.cs
- RowBinding.cs
- MultilineStringEditor.cs
- ClientFormsIdentity.cs
- TraceFilter.cs
- FrameworkElement.cs
- RSAPKCS1SignatureDeformatter.cs
- FrameworkRichTextComposition.cs
- TraceLog.cs
- ParseChildrenAsPropertiesAttribute.cs
- DataGridViewColumnStateChangedEventArgs.cs
- QuaternionKeyFrameCollection.cs
- SqlDependencyListener.cs
- FileChangesMonitor.cs
- ImageMapEventArgs.cs
- RelationshipEnd.cs
- EmptyEnumerator.cs
- Not.cs
- RotateTransform.cs
- StylusLogic.cs
- NativeMethods.cs
- ClientSession.cs
- ContextProperty.cs
- PersonalizationEntry.cs
- Control.cs
- GridViewColumnHeaderAutomationPeer.cs
- ParseChildrenAsPropertiesAttribute.cs
- HttpProfileBase.cs
- SqlTypeConverter.cs
- ProfileParameter.cs
- IfJoinedCondition.cs
- CircleHotSpot.cs
- NetMsmqBindingElement.cs
- SnapshotChangeTrackingStrategy.cs
- AnimatedTypeHelpers.cs
- RotateTransform.cs
- ControlAdapter.cs
- DataGridViewColumnCollection.cs
- WebPermission.cs
- HttpHandlerActionCollection.cs
- PrintingPermission.cs
- AssertFilter.cs
- SerializationObjectManager.cs
- JsonEnumDataContract.cs
- ButtonBaseAdapter.cs
- TrustManagerPromptUI.cs
- Parameter.cs
- XPathDescendantIterator.cs
- DPTypeDescriptorContext.cs
- TypedAsyncResult.cs
- MessageBox.cs
- CharAnimationBase.cs
- LifetimeMonitor.cs
- DataGridViewAccessibleObject.cs
- HttpCapabilitiesEvaluator.cs
- SimpleRecyclingCache.cs
- ScriptingWebServicesSectionGroup.cs
- MenuRendererStandards.cs