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
- WebPartVerbCollection.cs
- Clipboard.cs
- TextInfo.cs
- XmlSchemaInclude.cs
- ToolStripItemClickedEventArgs.cs
- StructureChangedEventArgs.cs
- EllipticalNodeOperations.cs
- LoginUtil.cs
- ConfigurationStrings.cs
- UIPropertyMetadata.cs
- ProjectionPlanCompiler.cs
- TextPointer.cs
- Activity.cs
- LocalIdKeyIdentifierClause.cs
- ProxyWebPartManager.cs
- InvalidFilterCriteriaException.cs
- ListViewDataItem.cs
- PromptEventArgs.cs
- Propagator.Evaluator.cs
- SmtpMail.cs
- XNameConverter.cs
- ProtectedConfigurationSection.cs
- HashCodeCombiner.cs
- AssemblyAssociatedContentFileAttribute.cs
- CodeMemberProperty.cs
- FrameworkName.cs
- HtmlPageAdapter.cs
- LocalizationParserHooks.cs
- Zone.cs
- DbConnectionStringCommon.cs
- DependencyProperty.cs
- ExpandableObjectConverter.cs
- ValidationEventArgs.cs
- EventLogPermissionEntryCollection.cs
- CompareValidator.cs
- ObjectDataSourceStatusEventArgs.cs
- Int16AnimationBase.cs
- PathTooLongException.cs
- AnimationLayer.cs
- StringResourceManager.cs
- WebRequestModulesSection.cs
- MultiSelectRootGridEntry.cs
- ByteStorage.cs
- ToolStripControlHost.cs
- AuthorizationContext.cs
- SocketCache.cs
- SecurityHelper.cs
- InternalConfigEventArgs.cs
- RenderingBiasValidation.cs
- Barrier.cs
- ComplexObject.cs
- HitTestFilterBehavior.cs
- SqlClientMetaDataCollectionNames.cs
- GridViewRowEventArgs.cs
- AliasExpr.cs
- KeyboardEventArgs.cs
- PointAnimationClockResource.cs
- BindingValueChangedEventArgs.cs
- FormatConvertedBitmap.cs
- RepeatButton.cs
- TypeDescriptionProvider.cs
- DataGridViewControlCollection.cs
- CompilerError.cs
- Completion.cs
- BlurEffect.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- HtmlTitle.cs
- DataGridViewCell.cs
- Helper.cs
- _SecureChannel.cs
- AbandonedMutexException.cs
- OleDbReferenceCollection.cs
- ASCIIEncoding.cs
- AtomicFile.cs
- FontUnit.cs
- MailDefinitionBodyFileNameEditor.cs
- TextRangeEditLists.cs
- MailMessageEventArgs.cs
- CompilerScope.Storage.cs
- ELinqQueryState.cs
- validation.cs
- AdCreatedEventArgs.cs
- CatalogZoneDesigner.cs
- DataBinder.cs
- CachedFontFace.cs
- WebPartsPersonalizationAuthorization.cs
- Html32TextWriter.cs
- DefaultShape.cs
- TextElement.cs
- TextElementAutomationPeer.cs
- DateTimeOffsetConverter.cs
- Transform3DGroup.cs
- HostingEnvironmentException.cs
- OracleCommandBuilder.cs
- DesignerSerializationVisibilityAttribute.cs
- ExpandedProjectionNode.cs
- FixedSOMPage.cs
- CustomPopupPlacement.cs
- PatternMatchRules.cs
- SqlCaseSimplifier.cs