Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } }Initializes a new instance of the ///class.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BCryptHashAlgorithm.cs
- DirectoryInfo.cs
- TemplateInstanceAttribute.cs
- CodeEventReferenceExpression.cs
- MonthCalendar.cs
- RTLAwareMessageBox.cs
- TemplateBindingExtension.cs
- QueryParameter.cs
- ValidationHelpers.cs
- SynchronizingStream.cs
- HasCopySemanticsAttribute.cs
- SystemIPv4InterfaceProperties.cs
- NumericUpDownAccelerationCollection.cs
- WizardPanel.cs
- DrawToolTipEventArgs.cs
- BindableAttribute.cs
- TableStyle.cs
- ConsumerConnectionPoint.cs
- MemberMemberBinding.cs
- Parser.cs
- ListViewItemEventArgs.cs
- OdbcConnectionString.cs
- RegexStringValidator.cs
- XmlSchemaProviderAttribute.cs
- XamlFxTrace.cs
- LinqDataSourceInsertEventArgs.cs
- TargetInvocationException.cs
- AlphabetConverter.cs
- TransportConfigurationTypeElement.cs
- SymDocumentType.cs
- BindingParameterCollection.cs
- Calendar.cs
- Propagator.ExtentPlaceholderCreator.cs
- DeploymentSectionCache.cs
- XamlLoadErrorInfo.cs
- XmlUTF8TextReader.cs
- ExpressionConverter.cs
- UnsafeNativeMethodsTablet.cs
- CommandBinding.cs
- ScrollBarAutomationPeer.cs
- cache.cs
- XmlValidatingReaderImpl.cs
- UrlRoutingHandler.cs
- ExpressionWriter.cs
- ComboBox.cs
- QuaternionAnimationBase.cs
- DataGridViewCellParsingEventArgs.cs
- DataRelation.cs
- FormatException.cs
- Perspective.cs
- Misc.cs
- CompositeFontParser.cs
- FixedFlowMap.cs
- RootCodeDomSerializer.cs
- TaskExceptionHolder.cs
- FlowLayout.cs
- MobileControlDesigner.cs
- SoapMessage.cs
- TextSelectionProcessor.cs
- HtmlTableRow.cs
- DisplayMemberTemplateSelector.cs
- ToolboxComponentsCreatedEventArgs.cs
- SystemIcons.cs
- SubMenuStyleCollection.cs
- CleanUpVirtualizedItemEventArgs.cs
- EntityDataSourceWrapper.cs
- sqlmetadatafactory.cs
- ObjectSet.cs
- Win32NamedPipes.cs
- TextFormatterImp.cs
- TreeNodeBindingCollection.cs
- EdgeModeValidation.cs
- ManagementBaseObject.cs
- ConnectionManagementElementCollection.cs
- FilteredAttributeCollection.cs
- GenericUriParser.cs
- hresults.cs
- ExecutionContext.cs
- LocalFileSettingsProvider.cs
- InvalidCastException.cs
- UriScheme.cs
- ComponentCommands.cs
- AttributeCollection.cs
- EntityTemplateUserControl.cs
- SqlRowUpdatedEvent.cs
- Model3D.cs
- BamlTreeNode.cs
- WindowsImpersonationContext.cs
- VectorConverter.cs
- BoolLiteral.cs
- DiscoveryClientProtocol.cs
- BaseDataList.cs
- CompiledRegexRunnerFactory.cs
- NetCodeGroup.cs
- X509ThumbprintKeyIdentifierClause.cs
- CfgSemanticTag.cs
- CopyOfAction.cs
- MenuAdapter.cs
- CompressedStack.cs
- PreservationFileWriter.cs