Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / ComponentChangedEvent.cs / 1305376 / 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
- FixedSOMFixedBlock.cs
- DateTimeValueSerializer.cs
- Thread.cs
- SiteMapPath.cs
- SafeTokenHandle.cs
- ViewStateModeByIdAttribute.cs
- Soap.cs
- StorageEndPropertyMapping.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- DrawingCollection.cs
- CharAnimationUsingKeyFrames.cs
- XmlComplianceUtil.cs
- linebase.cs
- XNameTypeConverter.cs
- BrowserCapabilitiesCompiler.cs
- ServiceModelReg.cs
- ConfigurationElementCollection.cs
- HwndSourceParameters.cs
- RegexGroup.cs
- PermissionRequestEvidence.cs
- ApplicationId.cs
- ColorInterpolationModeValidation.cs
- RawStylusInputCustomData.cs
- Guid.cs
- MediaContext.cs
- ContextMenuService.cs
- ToolStripContentPanelDesigner.cs
- NetworkCredential.cs
- NullableDoubleMinMaxAggregationOperator.cs
- CodeCastExpression.cs
- FixedSOMGroup.cs
- TabControlAutomationPeer.cs
- _IPv6Address.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- UserControlParser.cs
- FrameworkElementFactory.cs
- DSASignatureDeformatter.cs
- cookiecollection.cs
- ProxyWebPart.cs
- FirstQueryOperator.cs
- FormCollection.cs
- DataRelationCollection.cs
- BoolLiteral.cs
- CollectionMarkupSerializer.cs
- SolidColorBrush.cs
- LayoutUtils.cs
- XmlBinaryWriter.cs
- ToolTip.cs
- RawKeyboardInputReport.cs
- UiaCoreApi.cs
- ConnectivityStatus.cs
- MemberExpression.cs
- FolderBrowserDialog.cs
- PackageRelationshipCollection.cs
- XhtmlConformanceSection.cs
- DataGridItemCollection.cs
- CreateUserWizard.cs
- WindowsListViewScroll.cs
- MultiTrigger.cs
- FileLoadException.cs
- returneventsaver.cs
- PropertyChangeTracker.cs
- KeyboardNavigation.cs
- FactoryGenerator.cs
- RuleRefElement.cs
- RequestResizeEvent.cs
- HelpEvent.cs
- Matrix3DStack.cs
- AtomServiceDocumentSerializer.cs
- DodSequenceMerge.cs
- DisplayMemberTemplateSelector.cs
- DefaultParameterValueAttribute.cs
- KnownBoxes.cs
- ConstraintManager.cs
- CompModSwitches.cs
- DataGridDesigner.cs
- Fonts.cs
- DataGridViewComponentPropertyGridSite.cs
- SQLCharsStorage.cs
- Parameter.cs
- RequestCachePolicyConverter.cs
- controlskin.cs
- ArrayWithOffset.cs
- NativeMethods.cs
- Content.cs
- FlowLayoutPanel.cs
- SelectorAutomationPeer.cs
- SystemIcmpV6Statistics.cs
- TextRangeEditTables.cs
- HuffCodec.cs
- PerfService.cs
- EventPropertyMap.cs
- DataGridViewLayoutData.cs
- XmlArrayItemAttributes.cs
- FontStyleConverter.cs
- ClientConfigurationHost.cs
- RequestCacheEntry.cs
- wgx_sdk_version.cs
- TextSelection.cs
- PrimitiveDataContract.cs