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
- DotExpr.cs
- SiteMapNodeItem.cs
- MailMessage.cs
- _OverlappedAsyncResult.cs
- WeakEventManager.cs
- SettingsProperty.cs
- QueryResult.cs
- InvalidPrinterException.cs
- NativeActivityFaultContext.cs
- CorrelationValidator.cs
- DateTimeStorage.cs
- SettingsProperty.cs
- DocumentCollection.cs
- CompilationUtil.cs
- MachineKeySection.cs
- TextContainerHelper.cs
- ActiveDocumentEvent.cs
- DictionaryChange.cs
- XmlSchemaAnnotated.cs
- ValidationErrorEventArgs.cs
- PenCursorManager.cs
- RSACryptoServiceProvider.cs
- ConfigXmlElement.cs
- BamlLocalizationDictionary.cs
- Stackframe.cs
- Region.cs
- TextHidden.cs
- WinInet.cs
- SafeNativeMemoryHandle.cs
- EventLogPermissionEntry.cs
- HtmlButton.cs
- StrongNameUtility.cs
- xdrvalidator.cs
- KeyMatchBuilder.cs
- CustomTypeDescriptor.cs
- CopyOfAction.cs
- AutomationProperty.cs
- AuthenticodeSignatureInformation.cs
- CacheDependency.cs
- ComboBoxItem.cs
- Validator.cs
- AddingNewEventArgs.cs
- COM2PictureConverter.cs
- PieceNameHelper.cs
- EntityDataSourceView.cs
- DataGridViewUtilities.cs
- MoveSizeWinEventHandler.cs
- TaiwanCalendar.cs
- AnnotationHighlightLayer.cs
- ClientConvert.cs
- XhtmlBasicLabelAdapter.cs
- XhtmlBasicTextBoxAdapter.cs
- TextServicesCompartment.cs
- InternalTypeHelper.cs
- UnionExpr.cs
- DesignerDataColumn.cs
- SpnEndpointIdentity.cs
- RuntimeHandles.cs
- CapabilitiesRule.cs
- TypePresenter.xaml.cs
- FontFamily.cs
- InputMethodStateChangeEventArgs.cs
- PeerCollaboration.cs
- FunctionImportElement.cs
- TransactionTraceIdentifier.cs
- WebSysDefaultValueAttribute.cs
- ADMembershipUser.cs
- KeyProperty.cs
- BitVector32.cs
- UserControlBuildProvider.cs
- ForceCopyBuildProvider.cs
- KnownTypesHelper.cs
- ListViewItemEventArgs.cs
- BStrWrapper.cs
- CompositeScriptReference.cs
- WizardForm.cs
- WorkflowTransactionService.cs
- IncrementalReadDecoders.cs
- TableLayoutColumnStyleCollection.cs
- StringStorage.cs
- XmlParser.cs
- SHA256Managed.cs
- X509ChainElement.cs
- SocketStream.cs
- ScopedKnownTypes.cs
- PersonalizablePropertyEntry.cs
- X509ChainElement.cs
- DataException.cs
- UnsafeNativeMethods.cs
- DrawingContextDrawingContextWalker.cs
- StylesEditorDialog.cs
- IndexedGlyphRun.cs
- DesignerSerializationOptionsAttribute.cs
- RoutedEventValueSerializer.cs
- ListParagraph.cs
- CacheManager.cs
- XmlSchemaSimpleTypeRestriction.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- CachedPathData.cs
- EventLevel.cs