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
- RecognizeCompletedEventArgs.cs
- SqlAggregateChecker.cs
- GlyphElement.cs
- TemplateBamlRecordReader.cs
- NetDataContractSerializer.cs
- WebServiceEnumData.cs
- ImageCodecInfoPrivate.cs
- AnimationLayer.cs
- RequestQueue.cs
- RunWorkerCompletedEventArgs.cs
- MailWriter.cs
- TextBox.cs
- AuthenticationModuleElementCollection.cs
- HMACMD5.cs
- GridViewColumnHeader.cs
- LicenseContext.cs
- ping.cs
- HotCommands.cs
- SR.Designer.cs
- WebBrowserEvent.cs
- Scripts.cs
- HScrollBar.cs
- RadioButtonRenderer.cs
- OrderByBuilder.cs
- ToolStripSplitStackLayout.cs
- GroupAggregateExpr.cs
- InternalSafeNativeMethods.cs
- ExtractedStateEntry.cs
- uribuilder.cs
- SignedInfo.cs
- SendMailErrorEventArgs.cs
- ContentElementAutomationPeer.cs
- HostSecurityManager.cs
- TimeoutTimer.cs
- PerformanceCounterScope.cs
- FastPropertyAccessor.cs
- X509Chain.cs
- VectorValueSerializer.cs
- wmiprovider.cs
- Missing.cs
- SizeChangedInfo.cs
- ObjectViewFactory.cs
- FileIOPermission.cs
- DataViewSettingCollection.cs
- Bits.cs
- DBConnectionString.cs
- MsmqHostedTransportManager.cs
- InteropAutomationProvider.cs
- ClientRuntimeConfig.cs
- IdentityManager.cs
- StringUtil.cs
- SemaphoreSecurity.cs
- DeliveryRequirementsAttribute.cs
- PolicyLevel.cs
- MediaContextNotificationWindow.cs
- StreamProxy.cs
- HighContrastHelper.cs
- EntityDescriptor.cs
- MimeFormReflector.cs
- XmlUtil.cs
- AnonymousIdentificationSection.cs
- BindingOperations.cs
- DependencyPropertyConverter.cs
- WebPartUtil.cs
- ListViewHitTestInfo.cs
- CookielessHelper.cs
- NavigateEvent.cs
- DataControlCommands.cs
- GridViewColumnHeaderAutomationPeer.cs
- SimpleWebHandlerParser.cs
- WinEventTracker.cs
- Literal.cs
- PropertyGeneratedEventArgs.cs
- ConnectionsZone.cs
- ServiceDocument.cs
- SpeechDetectedEventArgs.cs
- AutomationElement.cs
- QilStrConcatenator.cs
- ReverseQueryOperator.cs
- QueryOutputWriter.cs
- SafeEventLogWriteHandle.cs
- ValidationErrorCollection.cs
- WaitHandle.cs
- ColumnMapProcessor.cs
- RtfToXamlReader.cs
- BasicExpandProvider.cs
- ProjectedSlot.cs
- XmlSerializerFactory.cs
- _OverlappedAsyncResult.cs
- FreezableDefaultValueFactory.cs
- FormViewDeletedEventArgs.cs
- ParallelEnumerableWrapper.cs
- Conditional.cs
- DownloadProgressEventArgs.cs
- DynamicFilterExpression.cs
- EasingQuaternionKeyFrame.cs
- XmlSchemaSubstitutionGroup.cs
- SecurityElement.cs
- StatusBarPanel.cs
- SimpleMailWebEventProvider.cs