Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } }Initializes a new instance of the ///class.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- NameHandler.cs
- FrameworkRichTextComposition.cs
- IIS7UserPrincipal.cs
- NominalTypeEliminator.cs
- DrawingCollection.cs
- ArgumentOutOfRangeException.cs
- OAVariantLib.cs
- EmptyEnumerable.cs
- CollectionDataContract.cs
- BinaryParser.cs
- InkCanvas.cs
- SqlInternalConnection.cs
- counter.cs
- DecimalStorage.cs
- NavigatorInvalidBodyAccessException.cs
- MD5CryptoServiceProvider.cs
- ExtentKey.cs
- ClientCultureInfo.cs
- PrintDialog.cs
- ADMembershipProvider.cs
- MergeFilterQuery.cs
- ScrollChrome.cs
- AttachedAnnotation.cs
- StringAnimationUsingKeyFrames.cs
- AsmxEndpointPickerExtension.cs
- DefaultAssemblyResolver.cs
- TableRow.cs
- DataStorage.cs
- uribuilder.cs
- GetPageCompletedEventArgs.cs
- DocumentViewerHelper.cs
- ToolStripPanelDesigner.cs
- StringConcat.cs
- PointAnimationBase.cs
- FillErrorEventArgs.cs
- ResourceKey.cs
- ClusterSafeNativeMethods.cs
- ConstantSlot.cs
- DebugView.cs
- SqlUserDefinedTypeAttribute.cs
- _UncName.cs
- InstanceData.cs
- _ListenerAsyncResult.cs
- JulianCalendar.cs
- Type.cs
- ListViewHitTestInfo.cs
- BindableTemplateBuilder.cs
- XsltSettings.cs
- XmlWriter.cs
- ListenerServiceInstallComponent.cs
- ArrangedElement.cs
- GridPattern.cs
- RequestNavigateEventArgs.cs
- RowsCopiedEventArgs.cs
- TextBox.cs
- SchemaImporter.cs
- CharEnumerator.cs
- Logging.cs
- MembershipPasswordException.cs
- ChameleonKey.cs
- SectionVisual.cs
- Expressions.cs
- URLString.cs
- Validator.cs
- IRCollection.cs
- PipeStream.cs
- WindowsPen.cs
- CursorConverter.cs
- XmlNodeReader.cs
- KeyGestureConverter.cs
- ValidationSummary.cs
- Single.cs
- SharedStatics.cs
- SoapEnumAttribute.cs
- OuterGlowBitmapEffect.cs
- DataGridViewImageCell.cs
- EditorPart.cs
- XmlIgnoreAttribute.cs
- StateMachine.cs
- DataSourceControl.cs
- CryptoConfig.cs
- EditorBrowsableAttribute.cs
- WebAdminConfigurationHelper.cs
- ObjectManager.cs
- AutomationPatternInfo.cs
- XsltSettings.cs
- XamlWriter.cs
- TerminatingOperationBehavior.cs
- ImageClickEventArgs.cs
- TableColumn.cs
- UmAlQuraCalendar.cs
- SqlNotificationRequest.cs
- QilDataSource.cs
- ObjectResult.cs
- SelectionEditor.cs
- TypeDelegator.cs
- FilterQuery.cs
- Char.cs
- BlurEffect.cs
- designeractionbehavior.cs