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
- MembershipSection.cs
- TaskFormBase.cs
- RawStylusSystemGestureInputReport.cs
- ValidationSummary.cs
- ServiceParser.cs
- DataListItem.cs
- RequestQueryProcessor.cs
- CreateDataSourceDialog.cs
- PageThemeParser.cs
- _DigestClient.cs
- BinaryParser.cs
- StretchValidation.cs
- ServiceObjectContainer.cs
- CodePageEncoding.cs
- DataSetMappper.cs
- xmlglyphRunInfo.cs
- EntityDataSourceContextCreatingEventArgs.cs
- DataSourceConverter.cs
- CompoundFileStreamReference.cs
- ListQueryResults.cs
- PriorityQueue.cs
- CodeTryCatchFinallyStatement.cs
- PathGradientBrush.cs
- IpcChannel.cs
- GACMembershipCondition.cs
- CompositeDataBoundControl.cs
- Rect.cs
- ImageSource.cs
- _WinHttpWebProxyDataBuilder.cs
- MonthChangedEventArgs.cs
- SQLString.cs
- DataGridViewCellEventArgs.cs
- COM2Enum.cs
- ParameterExpression.cs
- ComPlusServiceHost.cs
- ObjectListCommandEventArgs.cs
- SubpageParagraph.cs
- ServiceObjectContainer.cs
- HyperLink.cs
- GuidTagList.cs
- OleStrCAMarshaler.cs
- CommandCollectionEditor.cs
- FileEnumerator.cs
- DictionarySurrogate.cs
- StreamInfo.cs
- WSHttpBindingElement.cs
- JumpTask.cs
- UndirectedGraph.cs
- BuildProviderCollection.cs
- formatter.cs
- DataGridViewMethods.cs
- RulePatternOps.cs
- ConfigXmlText.cs
- DependencyPropertyAttribute.cs
- MemoryMappedViewAccessor.cs
- HtmlTableRowCollection.cs
- WebPartAddingEventArgs.cs
- HttpListenerRequest.cs
- GradientStop.cs
- OleDbError.cs
- DataBinder.cs
- XmlAnyAttributeAttribute.cs
- HatchBrush.cs
- InlineUIContainer.cs
- Vector.cs
- ReadOnlyCollectionBase.cs
- PropertyConverter.cs
- HitTestParameters.cs
- XamlBrushSerializer.cs
- ToggleButton.cs
- Transaction.cs
- BinaryObjectWriter.cs
- SHA1Cng.cs
- RelationshipWrapper.cs
- GroupBoxAutomationPeer.cs
- PropertySegmentSerializationProvider.cs
- ResourcePart.cs
- EncryptedPackage.cs
- Point3DAnimationBase.cs
- TextSelection.cs
- XslAst.cs
- SqlDeflator.cs
- OrderPreservingPipeliningMergeHelper.cs
- EventLogEntryCollection.cs
- ImageCodecInfoPrivate.cs
- Point3DIndependentAnimationStorage.cs
- SqlConnection.cs
- UnsafeNativeMethods.cs
- WebPartConnectionCollection.cs
- EntityTransaction.cs
- basevalidator.cs
- SqlBulkCopy.cs
- SQLString.cs
- TagPrefixCollection.cs
- PathSegment.cs
- EventlogProvider.cs
- _ConnectionGroup.cs
- NumberFormatInfo.cs
- ContentOperations.cs
- ErrorLog.cs