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
- CryptoApi.cs
- PartialCachingControl.cs
- SessionPageStatePersister.cs
- TableFieldsEditor.cs
- HttpCapabilitiesSectionHandler.cs
- XmlValueConverter.cs
- BitSet.cs
- HitTestParameters.cs
- SubpageParagraph.cs
- RepeatButton.cs
- LineGeometry.cs
- PrimitiveRenderer.cs
- Win32MouseDevice.cs
- WindowsListViewSubItem.cs
- BrushMappingModeValidation.cs
- ConfigXmlDocument.cs
- LineServicesCallbacks.cs
- CodeMemberProperty.cs
- UIElementPropertyUndoUnit.cs
- PageParser.cs
- Decorator.cs
- ModelItemImpl.cs
- DefaultMemberAttribute.cs
- XPathConvert.cs
- MemberAccessException.cs
- ListViewSelectEventArgs.cs
- Button.cs
- TabControlEvent.cs
- GenerateTemporaryTargetAssembly.cs
- validationstate.cs
- TripleDESCryptoServiceProvider.cs
- ValidationEventArgs.cs
- Properties.cs
- KeyGestureConverter.cs
- TreeSet.cs
- RC2.cs
- VisualBasicReference.cs
- DataServiceException.cs
- ParameterCollection.cs
- Point3DAnimationUsingKeyFrames.cs
- DashStyle.cs
- CalendarButton.cs
- DecoderBestFitFallback.cs
- EmptyQuery.cs
- MultiPropertyDescriptorGridEntry.cs
- UpdateCommand.cs
- UnmanagedHandle.cs
- VisualBrush.cs
- String.cs
- ObfuscationAttribute.cs
- TagMapCollection.cs
- RenderOptions.cs
- CollectionConverter.cs
- PathTooLongException.cs
- FileAuthorizationModule.cs
- SamlAssertionKeyIdentifierClause.cs
- EnterpriseServicesHelper.cs
- XmlILConstructAnalyzer.cs
- FolderNameEditor.cs
- OAVariantLib.cs
- Queue.cs
- SubMenuStyle.cs
- WmiEventSink.cs
- HttpContext.cs
- UpdateRecord.cs
- XmlWellformedWriter.cs
- EntityCommandExecutionException.cs
- LinkTarget.cs
- AttributeProviderAttribute.cs
- WhitespaceRule.cs
- TerminatorSinks.cs
- IncrementalHitTester.cs
- SqlFacetAttribute.cs
- X509ClientCertificateCredentialsElement.cs
- DataSourceView.cs
- ProcessStartInfo.cs
- StylusEditingBehavior.cs
- PersonalizationEntry.cs
- CheckBoxList.cs
- ParseNumbers.cs
- CapacityStreamGeometryContext.cs
- CodeAccessSecurityEngine.cs
- SessionPageStateSection.cs
- SmiXetterAccessMap.cs
- NameValuePair.cs
- RelatedView.cs
- TypeConverterValueSerializer.cs
- SystemParameters.cs
- JournalEntry.cs
- GraphicsPath.cs
- UriTemplateEquivalenceComparer.cs
- KeyEvent.cs
- DiagnosticTrace.cs
- QilSortKey.cs
- HttpServerUtilityWrapper.cs
- GridViewRowEventArgs.cs
- CqlWriter.cs
- ZipPackagePart.cs
- GridItemProviderWrapper.cs
- EditBehavior.cs