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
- XmlUtf8RawTextWriter.cs
- TypedElement.cs
- TemplateEditingFrame.cs
- RawStylusSystemGestureInputReport.cs
- ApplicationManager.cs
- FormsAuthenticationEventArgs.cs
- SignedXml.cs
- TextWriter.cs
- CodeNamespaceImport.cs
- SymbolTable.cs
- WebContext.cs
- XPathExpr.cs
- GradientBrush.cs
- SimpleTypesSurrogate.cs
- RenderDataDrawingContext.cs
- SiteMapNodeItemEventArgs.cs
- WebChannelFactory.cs
- EntityDataSourceReferenceGroup.cs
- AuthenticateEventArgs.cs
- DocumentViewer.cs
- ServiceContractAttribute.cs
- DrawingContextFlattener.cs
- StoreContentChangedEventArgs.cs
- DES.cs
- TextFormattingConverter.cs
- ConnectionConsumerAttribute.cs
- WorkflowServiceInstance.cs
- CodeTypeMemberCollection.cs
- __Filters.cs
- ServiceOperationParameter.cs
- QualifiedCellIdBoolean.cs
- Material.cs
- PlainXmlDeserializer.cs
- FormatterServices.cs
- DotNetATv1WindowsLogEntryDeserializer.cs
- _PooledStream.cs
- GridViewRow.cs
- ContainerSelectorGlyph.cs
- Win32MouseDevice.cs
- ExtensionQuery.cs
- ValidationErrorCollection.cs
- NotifyParentPropertyAttribute.cs
- Function.cs
- ComponentChangedEvent.cs
- Monitor.cs
- DataGridRowDetailsEventArgs.cs
- SplitContainerDesigner.cs
- PropertyTab.cs
- CleanUpVirtualizedItemEventArgs.cs
- DataGridState.cs
- TreeNodeClickEventArgs.cs
- WaitingCursor.cs
- ThemeDirectoryCompiler.cs
- PhysicalOps.cs
- VoiceObjectToken.cs
- HttpResponseHeader.cs
- StateMachineTimers.cs
- DashStyle.cs
- XmlCDATASection.cs
- OrderedDictionary.cs
- XsdDateTime.cs
- LayoutEditorPart.cs
- SingleTagSectionHandler.cs
- Point3DAnimationUsingKeyFrames.cs
- CreateCardRequest.cs
- ProxyElement.cs
- Window.cs
- ClientScriptItem.cs
- BasicHttpBindingCollectionElement.cs
- HttpListenerContext.cs
- ListBindingConverter.cs
- FlowDecisionLabelFeature.cs
- AliasExpr.cs
- NetMsmqSecurityMode.cs
- DeleteStoreRequest.cs
- DataViewManager.cs
- ApplicationServiceHelper.cs
- ColumnClickEvent.cs
- indexingfiltermarshaler.cs
- WindowsServiceCredential.cs
- PropertyOrder.cs
- ComponentCodeDomSerializer.cs
- TransportSecurityProtocolFactory.cs
- CacheVirtualItemsEvent.cs
- PropertyManager.cs
- FileStream.cs
- SqlCachedBuffer.cs
- SigningCredentials.cs
- ToolboxComponentsCreatedEventArgs.cs
- ClassImporter.cs
- NativeWrapper.cs
- Classification.cs
- DocumentPaginator.cs
- PageRouteHandler.cs
- OperationParameterInfoCollection.cs
- PrimitiveDataContract.cs
- CacheOutputQuery.cs
- TypeUsage.cs
- EncryptedKey.cs
- ConfigurationSectionHelper.cs