Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- QueryRewriter.cs
- NameValueCollection.cs
- ObjectConverter.cs
- GC.cs
- TakeQueryOptionExpression.cs
- BeginEvent.cs
- DocumentAutomationPeer.cs
- documentsequencetextcontainer.cs
- ValidationSummary.cs
- AdPostCacheSubstitution.cs
- WindowsImpersonationContext.cs
- CompositeDispatchFormatter.cs
- GifBitmapDecoder.cs
- BitmapInitialize.cs
- IdentityModelStringsVersion1.cs
- ZipIOFileItemStream.cs
- ConfigXmlReader.cs
- ProviderSettingsCollection.cs
- CleanUpVirtualizedItemEventArgs.cs
- ClrPerspective.cs
- FilePrompt.cs
- XAMLParseException.cs
- AttributedMetaModel.cs
- StringCollection.cs
- UnsafeNativeMethodsMilCoreApi.cs
- SocketAddress.cs
- BuildResultCache.cs
- TreeNodeBinding.cs
- BamlLocalizabilityResolver.cs
- TableLayoutStyle.cs
- CodeDOMUtility.cs
- DataControlFieldCollection.cs
- _ListenerResponseStream.cs
- OracleSqlParser.cs
- SharedPerformanceCounter.cs
- UserControlFileEditor.cs
- FilteredXmlReader.cs
- XmlChildNodes.cs
- ConnectionProviderAttribute.cs
- DataQuery.cs
- InputMethodStateTypeInfo.cs
- PointCollectionValueSerializer.cs
- UnsafeNativeMethods.cs
- Group.cs
- DisableDpiAwarenessAttribute.cs
- XomlCompilerResults.cs
- TableLayoutStyleCollection.cs
- ConvertersCollection.cs
- JavascriptXmlWriterWrapper.cs
- SoapSchemaExporter.cs
- RuleAttributes.cs
- TypeLibConverter.cs
- MSHTMLHostUtil.cs
- IndexedDataBuffer.cs
- DataViewManager.cs
- ConnectAlgorithms.cs
- CheckPair.cs
- HandlerFactoryCache.cs
- TextFormatter.cs
- DataTransferEventArgs.cs
- SmtpLoginAuthenticationModule.cs
- LambdaCompiler.Statements.cs
- BlobPersonalizationState.cs
- FlowDocumentFormatter.cs
- Canvas.cs
- DefaultPropertyAttribute.cs
- SqlProcedureAttribute.cs
- ListViewCancelEventArgs.cs
- TextHidden.cs
- TraceFilter.cs
- SqlCacheDependencyDatabase.cs
- RootDesignerSerializerAttribute.cs
- EventArgs.cs
- PopupControlService.cs
- DispatchChannelSink.cs
- DataGridViewMethods.cs
- EdmFunction.cs
- PolyQuadraticBezierSegment.cs
- ChameleonKey.cs
- SeekStoryboard.cs
- FocusManager.cs
- StyleBamlTreeBuilder.cs
- PropertyRef.cs
- MailAddress.cs
- ControllableStoryboardAction.cs
- XPathAncestorQuery.cs
- DBSqlParserColumnCollection.cs
- DesignerActionItemCollection.cs
- IdleTimeoutMonitor.cs
- QueryConverter.cs
- ServiceBuildProvider.cs
- WebResourceAttribute.cs
- CommandConverter.cs
- WebEventTraceProvider.cs
- SamlSecurityToken.cs
- PageAdapter.cs
- ImageMap.cs
- EditorOptionAttribute.cs
- KeyedHashAlgorithm.cs
- codemethodreferenceexpression.cs