Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- TemplateBuilder.cs
- FileAuthorizationModule.cs
- Cursors.cs
- WindowsSecurityToken.cs
- RadioButtonPopupAdapter.cs
- Convert.cs
- GuidelineSet.cs
- DataException.cs
- FontUnit.cs
- ImageCodecInfo.cs
- CaseInsensitiveOrdinalStringComparer.cs
- BitmapFrameDecode.cs
- ServiceRoute.cs
- PropertyCollection.cs
- MetadataHelper.cs
- SSmlParser.cs
- LicFileLicenseProvider.cs
- DirtyTextRange.cs
- ScriptResourceInfo.cs
- TextMessageEncodingBindingElement.cs
- XmlAnyElementAttribute.cs
- Rect3D.cs
- SoapAttributeOverrides.cs
- HtmlTableRowCollection.cs
- ElapsedEventArgs.cs
- WebPartCatalogCloseVerb.cs
- UIPermission.cs
- MetricEntry.cs
- MimeTypeAttribute.cs
- PackageRelationshipSelector.cs
- DebugController.cs
- XsltCompileContext.cs
- WebBrowserNavigatedEventHandler.cs
- Rethrow.cs
- ImmutableObjectAttribute.cs
- Timer.cs
- ControlEvent.cs
- Membership.cs
- UpdateException.cs
- XmlException.cs
- ObjectDataSourceStatusEventArgs.cs
- OperationContractAttribute.cs
- XmlSiteMapProvider.cs
- HttpContextWrapper.cs
- SliderAutomationPeer.cs
- TableAutomationPeer.cs
- Thumb.cs
- GB18030Encoding.cs
- InkCanvasAutomationPeer.cs
- SqlParameterizer.cs
- PersonalizationProviderCollection.cs
- InheritanceContextHelper.cs
- ProcessHostServerConfig.cs
- LexicalChunk.cs
- OuterGlowBitmapEffect.cs
- MediaScriptCommandRoutedEventArgs.cs
- SHA384Managed.cs
- StreamDocument.cs
- ClientSettingsProvider.cs
- ContractAdapter.cs
- CalendarDateRange.cs
- ModuleConfigurationInfo.cs
- _ConnectStream.cs
- SynchronizationLockException.cs
- ArrayHelper.cs
- TextWriterEngine.cs
- SQLBinary.cs
- ChannelEndpointElement.cs
- ExternalException.cs
- TableLayoutPanel.cs
- ProxyWebPartManager.cs
- ObjectManager.cs
- NativeConfigurationLoader.cs
- PLINQETWProvider.cs
- OleDbParameter.cs
- ProviderSettings.cs
- UpdatePanel.cs
- DataControlButton.cs
- CollectionEditorDialog.cs
- BezierSegment.cs
- ScriptResourceHandler.cs
- ColorAnimationUsingKeyFrames.cs
- XmlNode.cs
- SiteIdentityPermission.cs
- TreeChangeInfo.cs
- CLSCompliantAttribute.cs
- CodeDirectoryCompiler.cs
- ProviderManager.cs
- FlowDocument.cs
- DesignerGeometryHelper.cs
- RectAnimationBase.cs
- ConstantProjectedSlot.cs
- PhysicalOps.cs
- ContextStaticAttribute.cs
- MenuItemBindingCollection.cs
- TextProperties.cs
- ToolStripButton.cs
- ViewPort3D.cs
- InputReferenceExpression.cs
- HttpCookieCollection.cs