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
- PopOutPanel.cs
- DataTableMappingCollection.cs
- GenericEnumConverter.cs
- SessionStateUtil.cs
- ObjectQueryProvider.cs
- Base64Encoder.cs
- DynamicMethod.cs
- UpdatePanel.cs
- CommentEmitter.cs
- DefaultAuthorizationContext.cs
- DrawingImage.cs
- graph.cs
- ExtendedProperty.cs
- ApplicationDirectoryMembershipCondition.cs
- PropertyChangedEventManager.cs
- XmlHierarchyData.cs
- OdbcConnectionStringbuilder.cs
- SmtpNtlmAuthenticationModule.cs
- DateTimeOffsetConverter.cs
- UnmanagedBitmapWrapper.cs
- __Filters.cs
- ComboBox.cs
- InternalTypeHelper.cs
- SHA1.cs
- StringKeyFrameCollection.cs
- TlsnegoTokenAuthenticator.cs
- LookupBindingPropertiesAttribute.cs
- SslStream.cs
- HttpModulesSection.cs
- RadioButtonBaseAdapter.cs
- TreeNode.cs
- ListViewTableRow.cs
- GridViewEditEventArgs.cs
- bindurihelper.cs
- FileDialogPermission.cs
- HostedBindingBehavior.cs
- _AutoWebProxyScriptEngine.cs
- SchemaElementLookUpTable.cs
- Baml2006KnownTypes.cs
- Pen.cs
- ForEachAction.cs
- IApplicationTrustManager.cs
- SoapSchemaExporter.cs
- CustomCredentialPolicy.cs
- WriterOutput.cs
- DataPager.cs
- Funcletizer.cs
- ForeignKeyConstraint.cs
- DoubleUtil.cs
- TextRangeProviderWrapper.cs
- BasicExpandProvider.cs
- RegisteredScript.cs
- FixedBufferAttribute.cs
- _NativeSSPI.cs
- FontClient.cs
- ListItemParagraph.cs
- PaperSize.cs
- ScrollPatternIdentifiers.cs
- UnknownWrapper.cs
- VariableQuery.cs
- MarkedHighlightComponent.cs
- StorageComplexTypeMapping.cs
- Timeline.cs
- ProxyElement.cs
- LiteralLink.cs
- CompensationTokenData.cs
- StorageMappingItemCollection.cs
- Header.cs
- FragmentQuery.cs
- DES.cs
- ObjectSecurity.cs
- IndexExpression.cs
- UpdateRecord.cs
- Int32Rect.cs
- DispatcherOperation.cs
- WebBrowser.cs
- GeneralTransform3DGroup.cs
- PropVariant.cs
- DefaultTraceListener.cs
- httpstaticobjectscollection.cs
- CollectionBase.cs
- MimeAnyImporter.cs
- ISCIIEncoding.cs
- URL.cs
- TraceContextEventArgs.cs
- RegexGroupCollection.cs
- SQLInt32Storage.cs
- EdmConstants.cs
- ToolStripDropDownButton.cs
- Switch.cs
- _SecureChannel.cs
- ClusterRegistryConfigurationProvider.cs
- _DisconnectOverlappedAsyncResult.cs
- CodeCompiler.cs
- HttpCachePolicy.cs
- XmlDictionaryReaderQuotas.cs
- AssemblyCollection.cs
- ZipIOLocalFileBlock.cs
- PersianCalendar.cs
- QEncodedStream.cs