Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- Size3DConverter.cs
- PropertyGridCommands.cs
- WorkBatch.cs
- PropertySegmentSerializer.cs
- StateChangeEvent.cs
- PrimitiveSchema.cs
- XamlBrushSerializer.cs
- FilteredDataSetHelper.cs
- HelpFileFileNameEditor.cs
- PrinterUnitConvert.cs
- ToolStripSeparator.cs
- VirtualPathProvider.cs
- Section.cs
- GenericTextProperties.cs
- TypeRestriction.cs
- ClickablePoint.cs
- XPathPatternBuilder.cs
- RuleSettingsCollection.cs
- ConditionCollection.cs
- DrawingContextDrawingContextWalker.cs
- SafeIUnknown.cs
- FontStretch.cs
- StreamReader.cs
- AppDomainUnloadedException.cs
- XmlDataImplementation.cs
- Facet.cs
- WeakReferenceEnumerator.cs
- PartialCachingControl.cs
- AlphaSortedEnumConverter.cs
- TreeNodeBindingCollection.cs
- ReachUIElementCollectionSerializer.cs
- _BufferOffsetSize.cs
- MemoryStream.cs
- VerificationException.cs
- ProgressChangedEventArgs.cs
- XhtmlBasicObjectListAdapter.cs
- InternalResources.cs
- FormatterConverter.cs
- DesignerAdapterUtil.cs
- CompilerError.cs
- RuleProcessor.cs
- DCSafeHandle.cs
- DataGridViewRowStateChangedEventArgs.cs
- DataGridBoolColumn.cs
- ActionFrame.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- DiagnosticsConfigurationHandler.cs
- SmuggledIUnknown.cs
- ActiveXSite.cs
- DomainConstraint.cs
- DefaultExpressionVisitor.cs
- ObjectStorage.cs
- ChildTable.cs
- CodePageEncoding.cs
- ParseChildrenAsPropertiesAttribute.cs
- XmlMemberMapping.cs
- HostedBindingBehavior.cs
- BaseUriHelper.cs
- FunctionImportElement.cs
- XmlComplianceUtil.cs
- BitmapVisualManager.cs
- XamlStream.cs
- TrackingServices.cs
- CompiledRegexRunner.cs
- VirtualizedItemPattern.cs
- XmlSchemaValidator.cs
- ICspAsymmetricAlgorithm.cs
- TableLayoutSettingsTypeConverter.cs
- TraceListeners.cs
- HttpModuleActionCollection.cs
- RepeaterItem.cs
- Blend.cs
- BufferAllocator.cs
- IImplicitResourceProvider.cs
- ElementUtil.cs
- SliderAutomationPeer.cs
- JumpTask.cs
- ParentUndoUnit.cs
- QilScopedVisitor.cs
- InputLanguageManager.cs
- TextDecorations.cs
- DataBinder.cs
- PropertyPushdownHelper.cs
- ServiceXNameTypeConverter.cs
- ParserContext.cs
- WorkflowMarkupElementEventArgs.cs
- RuleConditionDialog.Designer.cs
- DbConnectionStringBuilder.cs
- DataGridViewLinkCell.cs
- DecimalMinMaxAggregationOperator.cs
- SafeCryptoHandles.cs
- RayMeshGeometry3DHitTestResult.cs
- ipaddressinformationcollection.cs
- CreateUserWizard.cs
- HtmlContainerControl.cs
- StringValidator.cs
- UserControlParser.cs
- EncryptRequest.cs
- XmlDigitalSignatureProcessor.cs
- EntityModelBuildProvider.cs