Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- AsyncOperationManager.cs
- InheritedPropertyChangedEventArgs.cs
- ListViewContainer.cs
- QueryCacheEntry.cs
- SamlAdvice.cs
- GeometryValueSerializer.cs
- FixedSOMLineCollection.cs
- DragDropManager.cs
- TextTreeInsertElementUndoUnit.cs
- Timer.cs
- ToolStripDropDownMenu.cs
- CachedPathData.cs
- SettingsBase.cs
- SettingsPropertyNotFoundException.cs
- EventLog.cs
- Baml6ConstructorInfo.cs
- SafeIUnknown.cs
- EventLogger.cs
- RewritingSimplifier.cs
- WindowsListBox.cs
- PageBreakRecord.cs
- SynchronizedDispatch.cs
- ToolStripDropDownItem.cs
- MouseBinding.cs
- DefaultDiscoveryService.cs
- DataTrigger.cs
- ClientSettings.cs
- InvalidDataException.cs
- SharedUtils.cs
- FindCompletedEventArgs.cs
- DynamicPropertyReader.cs
- QueryCorrelationInitializer.cs
- SmtpNegotiateAuthenticationModule.cs
- TextSimpleMarkerProperties.cs
- MailHeaderInfo.cs
- HttpConfigurationSystem.cs
- TemplateControlCodeDomTreeGenerator.cs
- MexHttpBindingElement.cs
- TimeSpanOrInfiniteConverter.cs
- HtmlInputSubmit.cs
- XamlStream.cs
- PropertyPushdownHelper.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- InfoCardRSACryptoProvider.cs
- ClientTarget.cs
- ViewgenContext.cs
- ScrollBarRenderer.cs
- CmsUtils.cs
- BufferedWebEventProvider.cs
- LinqDataSourceDeleteEventArgs.cs
- PlainXmlSerializer.cs
- SelectionEditor.cs
- XamlSerializer.cs
- MethodExpr.cs
- SystemException.cs
- XmlValueConverter.cs
- LinkedResource.cs
- DataSourceCacheDurationConverter.cs
- _RequestCacheProtocol.cs
- BackgroundFormatInfo.cs
- BatchParser.cs
- DataError.cs
- ToolStripItemRenderEventArgs.cs
- querybuilder.cs
- RadioButton.cs
- TraceData.cs
- SetterBaseCollection.cs
- SimpleTypeResolver.cs
- NullableDecimalSumAggregationOperator.cs
- WhitespaceSignificantCollectionAttribute.cs
- NavigationWindowAutomationPeer.cs
- ResourceProperty.cs
- altserialization.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- Expression.cs
- Activity.cs
- EventLogger.cs
- DataGridViewRowPrePaintEventArgs.cs
- WindowsHyperlink.cs
- GcHandle.cs
- ConnectionInterfaceCollection.cs
- LinkArea.cs
- BCryptHashAlgorithm.cs
- Helper.cs
- UriSection.cs
- Point4DValueSerializer.cs
- NonVisualControlAttribute.cs
- OleDbDataReader.cs
- Int32EqualityComparer.cs
- CodeRemoveEventStatement.cs
- ModelProperty.cs
- DetailsViewPageEventArgs.cs
- ToolStripManager.cs
- XmlText.cs
- DictionaryChange.cs
- ImageKeyConverter.cs
- SqlWebEventProvider.cs
- InnerItemCollectionView.cs
- EncoderReplacementFallback.cs
- ADRole.cs