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
- ISFClipboardData.cs
- GB18030Encoding.cs
- ErrorLog.cs
- ElapsedEventArgs.cs
- TableSectionStyle.cs
- SessionStateSection.cs
- WebAdminConfigurationHelper.cs
- ScrollableControl.cs
- MouseButtonEventArgs.cs
- HotSpotCollection.cs
- PromptBuilder.cs
- LineVisual.cs
- SettingsSavedEventArgs.cs
- RegistryKey.cs
- EntityConnection.cs
- DATA_BLOB.cs
- XappLauncher.cs
- sqlnorm.cs
- Timer.cs
- ChtmlPageAdapter.cs
- LocalServiceSecuritySettings.cs
- TreeViewEvent.cs
- HtmlInputReset.cs
- ErrorFormatter.cs
- GroupBox.cs
- ValueType.cs
- ConstrainedDataObject.cs
- HttpWebRequest.cs
- HtmlHead.cs
- Table.cs
- ToolStripOverflowButton.cs
- MinMaxParagraphWidth.cs
- GenericTextProperties.cs
- PropertyChangedEventArgs.cs
- EnumUnknown.cs
- AdornerLayer.cs
- CharConverter.cs
- CompilationSection.cs
- CodeArgumentReferenceExpression.cs
- BufferModesCollection.cs
- MultipartContentParser.cs
- FileAccessException.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- ScrollableControl.cs
- _DisconnectOverlappedAsyncResult.cs
- ClientTarget.cs
- Adorner.cs
- ZipIOFileItemStream.cs
- ExpressionCopier.cs
- DeferredElementTreeState.cs
- AxParameterData.cs
- EncryptedHeader.cs
- CommandField.cs
- CacheRequest.cs
- CursorConverter.cs
- EncryptedKey.cs
- StringOutput.cs
- DesignSurface.cs
- DataGridViewCellParsingEventArgs.cs
- UnsafeNativeMethods.cs
- ZipPackagePart.cs
- DrawingImage.cs
- OdbcConnectionOpen.cs
- ColorConverter.cs
- BasicHttpBindingElement.cs
- RelationshipEnd.cs
- BaseAddressElementCollection.cs
- MdiWindowListItemConverter.cs
- RijndaelManaged.cs
- FilterException.cs
- SamlSecurityToken.cs
- SweepDirectionValidation.cs
- ServiceInfo.cs
- TemplateParser.cs
- SharedUtils.cs
- TrustExchangeException.cs
- IOThreadScheduler.cs
- AssertUtility.cs
- xml.cs
- FileInfo.cs
- ConnectionPointCookie.cs
- AppDomainEvidenceFactory.cs
- ToolStripCodeDomSerializer.cs
- HandlerWithFactory.cs
- CorrelationKey.cs
- SqlProcedureAttribute.cs
- TypeSemantics.cs
- DataFormats.cs
- COAUTHIDENTITY.cs
- BlurBitmapEffect.cs
- UIElementParagraph.cs
- VirtualPathUtility.cs
- HttpWriter.cs
- GestureRecognizer.cs
- TraversalRequest.cs
- EditorZone.cs
- GatewayDefinition.cs
- Internal.cs
- TreeNodeCollectionEditor.cs
- OperationContractGenerationContext.cs