Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / ComponentModel / Design / ComponentChangingEvent.cs / 1 / 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
- RadioButtonDesigner.cs
- KeyValueSerializer.cs
- CallbackValidatorAttribute.cs
- ExceptionRoutedEventArgs.cs
- TextEffect.cs
- Privilege.cs
- WS2007HttpBinding.cs
- Trustee.cs
- ColumnMapProcessor.cs
- EnterpriseServicesHelper.cs
- ISAPIApplicationHost.cs
- SiteMapNodeItem.cs
- TextEncodedRawTextWriter.cs
- Error.cs
- ReadOnlyHierarchicalDataSourceView.cs
- IPEndPoint.cs
- TemplateParser.cs
- LineSegment.cs
- GridPattern.cs
- DataObjectEventArgs.cs
- ToolStripContentPanel.cs
- BroadcastEventHelper.cs
- MimeTextImporter.cs
- DataServiceResponse.cs
- RemotingConfiguration.cs
- EventDescriptorCollection.cs
- SrgsSemanticInterpretationTag.cs
- PrintPreviewGraphics.cs
- TypeElement.cs
- ValuePatternIdentifiers.cs
- SerializationHelper.cs
- PrinterUnitConvert.cs
- MessageQueueException.cs
- SapiRecognizer.cs
- ConfigurationStrings.cs
- ViewCellRelation.cs
- GenericTextProperties.cs
- FixedDocumentPaginator.cs
- FixedPageAutomationPeer.cs
- HwndKeyboardInputProvider.cs
- SafePipeHandle.cs
- BounceEase.cs
- DataControlImageButton.cs
- FontDifferentiator.cs
- PackageProperties.cs
- ExpressionBuilder.cs
- LazyInitializer.cs
- GridViewCommandEventArgs.cs
- CustomAttributeFormatException.cs
- CacheEntry.cs
- WebPartMenu.cs
- Model3D.cs
- RectangleGeometry.cs
- FormConverter.cs
- WebMethodAttribute.cs
- CriticalFileToken.cs
- StateDesigner.Helpers.cs
- ToolStripLabel.cs
- XmlUnspecifiedAttribute.cs
- GestureRecognizer.cs
- UpdateEventArgs.cs
- SafeNativeMethods.cs
- HtmlTable.cs
- InvocationExpression.cs
- CorrelationManager.cs
- PerfService.cs
- CodeBinaryOperatorExpression.cs
- DataGridViewRowsAddedEventArgs.cs
- EntityKeyElement.cs
- XmlArrayItemAttributes.cs
- BindToObject.cs
- XsltContext.cs
- externdll.cs
- SelectionRange.cs
- OdbcConnectionHandle.cs
- OleDbRowUpdatingEvent.cs
- MappingModelBuildProvider.cs
- AppSettingsSection.cs
- ScopelessEnumAttribute.cs
- WebEventTraceProvider.cs
- NavigationPropertyEmitter.cs
- InteropAutomationProvider.cs
- DataContract.cs
- DataGrid.cs
- _SafeNetHandles.cs
- State.cs
- RegexBoyerMoore.cs
- PageRanges.cs
- ListBoxChrome.cs
- TypeConstant.cs
- BaseHashHelper.cs
- XamlRtfConverter.cs
- VisemeEventArgs.cs
- TransactionProxy.cs
- DataGridPageChangedEventArgs.cs
- SoapFaultCodes.cs
- PolyLineSegmentFigureLogic.cs
- RequestQueue.cs
- ServerIdentity.cs
- SystemTcpStatistics.cs