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
- LocationChangedEventArgs.cs
- InvalidContentTypeException.cs
- XsltLoader.cs
- HwndKeyboardInputProvider.cs
- MethodBody.cs
- AssemblySettingAttributes.cs
- ControlParser.cs
- AutoGeneratedField.cs
- DesignerToolboxInfo.cs
- ContextMenuStripActionList.cs
- Triangle.cs
- BitmapFrameEncode.cs
- DataControlFieldCell.cs
- BufferModesCollection.cs
- EventManager.cs
- GridItemCollection.cs
- TrackingStringDictionary.cs
- AssemblyName.cs
- JavaScriptObjectDeserializer.cs
- AuthenticatedStream.cs
- InfoCardSchemas.cs
- SimpleType.cs
- GetCardDetailsRequest.cs
- MouseBinding.cs
- TemplateBindingExpression.cs
- HtmlInputFile.cs
- LeafCellTreeNode.cs
- SystemUnicastIPAddressInformation.cs
- WindowsIdentity.cs
- WindowsFormsSynchronizationContext.cs
- Scalars.cs
- SecurityVersion.cs
- PartManifestEntry.cs
- ActiveDocumentEvent.cs
- EntityContainerAssociationSet.cs
- RequestQueue.cs
- EventItfInfo.cs
- CryptoHandle.cs
- BufferedGraphicsContext.cs
- HtmlInputCheckBox.cs
- XmlSecureResolver.cs
- StreamGeometryContext.cs
- DataGridColumn.cs
- ServiceDeploymentInfo.cs
- ContextMenuAutomationPeer.cs
- OleDbErrorCollection.cs
- TreeViewHitTestInfo.cs
- Solver.cs
- WebServicesSection.cs
- WebPartHeaderCloseVerb.cs
- CheckoutException.cs
- SqlVersion.cs
- PaginationProgressEventArgs.cs
- WriteLine.cs
- NativeMethods.cs
- CodeEntryPointMethod.cs
- SystemIcmpV6Statistics.cs
- DataExpression.cs
- DataRelationCollection.cs
- WindowsPen.cs
- RadioButtonRenderer.cs
- HttpProfileGroupBase.cs
- CqlLexer.cs
- AutomationIdentifierGuids.cs
- LocalFileSettingsProvider.cs
- SafeUserTokenHandle.cs
- SecurityBindingElement.cs
- BindingExpressionBase.cs
- OracleNumber.cs
- OraclePermissionAttribute.cs
- WebDescriptionAttribute.cs
- FileNameEditor.cs
- LabelInfo.cs
- Int16.cs
- XmlSchemaAnnotation.cs
- NativeRightsManagementAPIsStructures.cs
- GridViewRowPresenter.cs
- DesignerDataStoredProcedure.cs
- TextTreeTextBlock.cs
- SqlConnectionPoolProviderInfo.cs
- MessageHeader.cs
- DictionaryManager.cs
- SplineKeyFrames.cs
- DocumentXPathNavigator.cs
- ComponentDesigner.cs
- CommonRemoteMemoryBlock.cs
- AppDomain.cs
- CodeNamespaceImport.cs
- RadioButton.cs
- BuildDependencySet.cs
- TypeDescriptor.cs
- SoapTransportImporter.cs
- GridItemCollection.cs
- XmlWrappingReader.cs
- ScriptingScriptResourceHandlerSection.cs
- ClientScriptManager.cs
- RequiredAttributeAttribute.cs
- InstanceKeyView.cs
- Calendar.cs
- TextRenderer.cs