Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- WSSecurityPolicy11.cs
- GridViewDeleteEventArgs.cs
- OracleBFile.cs
- TraceData.cs
- ChangeBlockUndoRecord.cs
- CqlParserHelpers.cs
- SoapAttributeOverrides.cs
- RectangleF.cs
- PersonalizationDictionary.cs
- ServiceBuildProvider.cs
- Transform3DGroup.cs
- IntAverageAggregationOperator.cs
- UpdateException.cs
- WmlPhoneCallAdapter.cs
- DynamicILGenerator.cs
- InitializerFacet.cs
- ByteKeyFrameCollection.cs
- _CookieModule.cs
- MasterPageParser.cs
- ParameterReplacerVisitor.cs
- OrderingExpression.cs
- ScriptResourceMapping.cs
- SamlAdvice.cs
- Int32Rect.cs
- TextInfo.cs
- ConversionValidationRule.cs
- EditorPartCollection.cs
- Point3DAnimationBase.cs
- AnonymousIdentificationModule.cs
- LOSFormatter.cs
- _UncName.cs
- ChannelTokenTypeConverter.cs
- BehaviorService.cs
- CounterNameConverter.cs
- CallbackValidator.cs
- EditCommandColumn.cs
- Trace.cs
- InputScopeNameConverter.cs
- VisualBrush.cs
- Button.cs
- FactoryGenerator.cs
- XmlDataCollection.cs
- BuildManagerHost.cs
- SoapBinding.cs
- WindowsFormsHost.cs
- TrimSurroundingWhitespaceAttribute.cs
- FileVersion.cs
- glyphs.cs
- ObjectNavigationPropertyMapping.cs
- HtmlTable.cs
- _AutoWebProxyScriptHelper.cs
- WmlPhoneCallAdapter.cs
- LocalizationComments.cs
- VisualBasicImportReference.cs
- DocumentSequenceHighlightLayer.cs
- PositiveTimeSpanValidator.cs
- DataComponentNameHandler.cs
- DecoderBestFitFallback.cs
- LinkConverter.cs
- EnlistmentState.cs
- BinaryKeyIdentifierClause.cs
- DbConnectionPool.cs
- AsymmetricSignatureDeformatter.cs
- Scene3D.cs
- TaskHelper.cs
- ValidatingReaderNodeData.cs
- _DynamicWinsockMethods.cs
- TdsParserHelperClasses.cs
- RoutingTable.cs
- SafeHandle.cs
- ScrollItemPatternIdentifiers.cs
- QueryContinueDragEvent.cs
- AddInContractAttribute.cs
- OracleBinary.cs
- DBConcurrencyException.cs
- DataControlImageButton.cs
- DataServiceQueryOfT.cs
- FixedSOMImage.cs
- SystemIPAddressInformation.cs
- _RequestCacheProtocol.cs
- MimeMultiPart.cs
- DynamicValidatorEventArgs.cs
- ResXFileRef.cs
- InvokePattern.cs
- SiteMapProvider.cs
- BuildProvider.cs
- ColumnReorderedEventArgs.cs
- DataColumnMappingCollection.cs
- RequestCachePolicy.cs
- TableRow.cs
- FormsAuthenticationTicket.cs
- DataBindingList.cs
- SamlAuthorizationDecisionStatement.cs
- GC.cs
- WindowsAuthenticationEventArgs.cs
- OperationInvokerTrace.cs
- ManagedIStream.cs
- Pair.cs
- KerberosRequestorSecurityToken.cs
- Operators.cs