Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / ComponentChangingEvent.cs / 1305376 / ComponentChangingEvent.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 ComponentChangingEventArgs : EventArgs { private object component; private MemberDescriptor member; ///Provides data for the ///event. /// public object Component { get { return component; } } ////// Gets or sets the component that is being changed or that is the parent container of the member being changed. /// ////// public MemberDescriptor Member { get { return member; } } ////// Gets or sets the member of the component that is about to be changed. /// ////// public ComponentChangingEventArgs(object component, MemberDescriptor member) { this.component = component; this.member = member; } } } // 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 ComponentChangingEventArgs : EventArgs { private object component; private MemberDescriptor member; ///Provides data for the ///event. /// public object Component { get { return component; } } ////// Gets or sets the component that is being changed or that is the parent container of the member being changed. /// ////// public MemberDescriptor Member { get { return member; } } ////// Gets or sets the member of the component that is about to be changed. /// ////// public ComponentChangingEventArgs(object component, MemberDescriptor member) { this.component = component; this.member = member; } } } // 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
- HtmlTableCellCollection.cs
- Variant.cs
- WebPartPersonalization.cs
- Renderer.cs
- WebPartConnectionsConfigureVerb.cs
- XmlSignificantWhitespace.cs
- SelectQueryOperator.cs
- PrePrepareMethodAttribute.cs
- CodeExporter.cs
- RelationshipManager.cs
- XComponentModel.cs
- StrongBox.cs
- SByteStorage.cs
- HwndStylusInputProvider.cs
- ChtmlSelectionListAdapter.cs
- BamlStream.cs
- BlurBitmapEffect.cs
- indexingfiltermarshaler.cs
- MatrixTransform3D.cs
- CssTextWriter.cs
- CalendarButton.cs
- BufferBuilder.cs
- HebrewNumber.cs
- InkCanvasSelection.cs
- Barrier.cs
- FtpWebRequest.cs
- EntityDataSourceValidationException.cs
- WebSysDefaultValueAttribute.cs
- LongValidator.cs
- MembershipSection.cs
- CompositeControlDesigner.cs
- DiscoveryExceptionDictionary.cs
- SimpleExpression.cs
- DataKeyCollection.cs
- followingsibling.cs
- UpdateTranslator.cs
- RichTextBoxConstants.cs
- SettingsAttributes.cs
- PerfCounters.cs
- ProcessModelInfo.cs
- ProviderConnectionPoint.cs
- CharacterBufferReference.cs
- DetailsViewDeletedEventArgs.cs
- CodeIterationStatement.cs
- AvTraceDetails.cs
- RawKeyboardInputReport.cs
- LifetimeServices.cs
- ToolStripPanelCell.cs
- HtmlLinkAdapter.cs
- ExceptionValidationRule.cs
- rsa.cs
- DataServiceHostFactory.cs
- Item.cs
- ComponentResourceKey.cs
- dataprotectionpermission.cs
- HttpTransportManager.cs
- entityreference_tresulttype.cs
- WebEventCodes.cs
- ToolStripDropDownDesigner.cs
- Currency.cs
- StrictAndMessageFilter.cs
- PropertyGridEditorPart.cs
- XmlSchemaSimpleType.cs
- DiscoveryClientReferences.cs
- URLMembershipCondition.cs
- ClientSession.cs
- ButtonFieldBase.cs
- SqlTransaction.cs
- SelectionChangedEventArgs.cs
- StatusBarPanelClickEvent.cs
- ListDictionaryInternal.cs
- SmiMetaDataProperty.cs
- DecimalAnimation.cs
- XmlSerializationGeneratedCode.cs
- GridPattern.cs
- FullTextState.cs
- Faults.cs
- EqualityComparer.cs
- ErrorHandlerFaultInfo.cs
- _CommandStream.cs
- FontSource.cs
- Rights.cs
- TextCompositionManager.cs
- WindowsIdentity.cs
- Duration.cs
- CompositeTypefaceMetrics.cs
- DataGridViewCellStyle.cs
- EdmItemError.cs
- Inline.cs
- BindingMemberInfo.cs
- SqlInternalConnectionSmi.cs
- Binding.cs
- ToolStripScrollButton.cs
- DataGridBoolColumn.cs
- AmbientEnvironment.cs
- PolyLineSegmentFigureLogic.cs
- SchemaNotation.cs
- ExpandableObjectConverter.cs
- InstanceHandleReference.cs
- OletxResourceManager.cs