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 / 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
- DependencyPropertyValueSerializer.cs
- ServiceReference.cs
- BitmapEffectRenderDataResource.cs
- QueryModel.cs
- AppManager.cs
- CultureTableRecord.cs
- TraceContextRecord.cs
- FileResponseElement.cs
- ExecutionContext.cs
- XamlPoint3DCollectionSerializer.cs
- Deserializer.cs
- VectorConverter.cs
- DummyDataSource.cs
- ClientConfigurationSystem.cs
- SQLDouble.cs
- XmlSchemaCompilationSettings.cs
- XmlEncoding.cs
- StylusPointCollection.cs
- TimeSpanValidatorAttribute.cs
- Rights.cs
- RankException.cs
- DnsPermission.cs
- PasswordRecovery.cs
- UpdateProgress.cs
- ZipIOExtraFieldPaddingElement.cs
- PrtTicket_Public.cs
- NetworkAddressChange.cs
- OptimalTextSource.cs
- Point3DCollectionValueSerializer.cs
- XslAst.cs
- SqlError.cs
- WsdlHelpGeneratorElement.cs
- TreeViewImageKeyConverter.cs
- ContentOperations.cs
- AddInActivator.cs
- SubpageParagraph.cs
- Configuration.cs
- CharacterBuffer.cs
- DataSourceControlBuilder.cs
- CodeSnippetCompileUnit.cs
- FixedSchema.cs
- FieldNameLookup.cs
- DataSourceNameHandler.cs
- Label.cs
- GeneralTransformCollection.cs
- OutputCacheModule.cs
- DateTimeOffset.cs
- PerspectiveCamera.cs
- BitmapSourceSafeMILHandle.cs
- RequestCache.cs
- RectAnimationUsingKeyFrames.cs
- GroupItem.cs
- MsmqDiagnostics.cs
- ConnectionOrientedTransportChannelListener.cs
- SoapAttributes.cs
- EqualityComparer.cs
- InheritanceRules.cs
- ApplicationServiceHelper.cs
- BitStack.cs
- DrawingGroup.cs
- WorkflowRuntimeServiceElementCollection.cs
- ProcessInfo.cs
- TemplateEditingVerb.cs
- httpapplicationstate.cs
- UInt64Storage.cs
- LocalValueEnumerator.cs
- ToolstripProfessionalRenderer.cs
- HeaderedItemsControl.cs
- UniqueIdentifierService.cs
- MasterPage.cs
- XmlDataLoader.cs
- AssemblyAttributes.cs
- DataRow.cs
- ModuleBuilderData.cs
- HttpProtocolReflector.cs
- TreeNodeBinding.cs
- FixedDocument.cs
- DesignTimeType.cs
- HandlerWithFactory.cs
- ADConnectionHelper.cs
- MediaCommands.cs
- DataGridViewTopRowAccessibleObject.cs
- LogArchiveSnapshot.cs
- HtmlWindowCollection.cs
- WizardPanelChangingEventArgs.cs
- HttpDebugHandler.cs
- ResourceDisplayNameAttribute.cs
- SmtpFailedRecipientsException.cs
- TransactionContextManager.cs
- BulletChrome.cs
- ServiceX509SecurityTokenProvider.cs
- CapabilitiesAssignment.cs
- ContractBase.cs
- ProjectedWrapper.cs
- Dispatcher.cs
- SwitchAttribute.cs
- HtmlAnchor.cs
- PerformanceCounter.cs
- BaseTemplateBuildProvider.cs
- ClientRoleProvider.cs