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
- ListChangedEventArgs.cs
- LayoutInformation.cs
- WindowsListViewSubItem.cs
- ConcurrentDictionary.cs
- SmtpException.cs
- VisualState.cs
- Zone.cs
- SeekStoryboard.cs
- Rule.cs
- RecordBuilder.cs
- Mutex.cs
- PrintPreviewDialog.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- Rect3DValueSerializer.cs
- RemoteWebConfigurationHostStream.cs
- DisposableCollectionWrapper.cs
- ListBoxAutomationPeer.cs
- PersonalizableAttribute.cs
- ToolZone.cs
- TypeReference.cs
- SqlServices.cs
- HtmlLabelAdapter.cs
- AsyncStreamReader.cs
- RunClient.cs
- ActivityCodeDomSerializer.cs
- BrowserCapabilitiesCodeGenerator.cs
- LinqDataView.cs
- PathParser.cs
- RegexGroup.cs
- AccessedThroughPropertyAttribute.cs
- EventLogEntryCollection.cs
- DebugInfoExpression.cs
- DataTableMappingCollection.cs
- SingleObjectCollection.cs
- ComponentResourceManager.cs
- ListMarkerLine.cs
- ExtenderProvidedPropertyAttribute.cs
- ColorAnimationUsingKeyFrames.cs
- NameValuePair.cs
- AccessDataSource.cs
- WebServiceClientProxyGenerator.cs
- FontNameConverter.cs
- DataGridState.cs
- UnsafeNetInfoNativeMethods.cs
- PrintPreviewDialog.cs
- DefaultBinder.cs
- SqlUnionizer.cs
- DataException.cs
- TextBoxRenderer.cs
- EmbeddedMailObject.cs
- CodeAccessPermission.cs
- DependencyPropertyAttribute.cs
- XhtmlConformanceSection.cs
- DependencyProperty.cs
- ScriptResourceHandler.cs
- FileVersionInfo.cs
- WinEventQueueItem.cs
- PeerNameResolver.cs
- SspiHelper.cs
- ThreadStartException.cs
- XmlSchemaParticle.cs
- TypedTableBase.cs
- Relationship.cs
- Wildcard.cs
- ToolStripDropDownButton.cs
- DbgCompiler.cs
- TextBoxAutomationPeer.cs
- FontFamilyIdentifier.cs
- SelectedDatesCollection.cs
- BrowserCapabilitiesCompiler.cs
- MenuStrip.cs
- SqlStream.cs
- HuffModule.cs
- ByteFacetDescriptionElement.cs
- TCEAdapterGenerator.cs
- FeatureSupport.cs
- ValidationResult.cs
- KnownBoxes.cs
- WebBrowserDesigner.cs
- HttpPostProtocolImporter.cs
- RsaSecurityToken.cs
- PenLineJoinValidation.cs
- UnauthorizedWebPart.cs
- EventLog.cs
- GradientBrush.cs
- CodeExpressionStatement.cs
- AndCondition.cs
- MethodImplAttribute.cs
- ListGeneralPage.cs
- FunctionNode.cs
- pingexception.cs
- SerTrace.cs
- Duration.cs
- DataControlFieldCollection.cs
- TrackingMemoryStreamFactory.cs
- NavigationEventArgs.cs
- WmpBitmapDecoder.cs
- ChangesetResponse.cs
- HttpFileCollection.cs
- XmlSchemaObjectCollection.cs