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
- VScrollProperties.cs
- HttpModulesSection.cs
- MemoryStream.cs
- DesignerValidatorAdapter.cs
- Nullable.cs
- CfgRule.cs
- MouseBinding.cs
- VectorCollectionConverter.cs
- GlobalizationSection.cs
- XmlTextReaderImpl.cs
- MemberInitExpression.cs
- XmlDocumentType.cs
- Resources.Designer.cs
- Regex.cs
- DataGridViewLinkColumn.cs
- securitymgrsite.cs
- GeometryGroup.cs
- _UriTypeConverter.cs
- ViewManagerAttribute.cs
- QueryNode.cs
- ExceptionHelpers.cs
- DataGridViewLinkColumn.cs
- UriParserTemplates.cs
- DbProviderFactoriesConfigurationHandler.cs
- SeekStoryboard.cs
- ClientSection.cs
- PaperSize.cs
- SafeFreeMibTable.cs
- HandleValueEditor.cs
- ScriptComponentDescriptor.cs
- ControlValuePropertyAttribute.cs
- CroppedBitmap.cs
- ScriptManagerProxy.cs
- AuditLog.cs
- KeyTimeConverter.cs
- CornerRadiusConverter.cs
- GenericTextProperties.cs
- EventMap.cs
- SubMenuStyleCollection.cs
- RowBinding.cs
- HatchBrush.cs
- LinqDataSourceStatusEventArgs.cs
- FileClassifier.cs
- ValidateNames.cs
- HMACSHA256.cs
- _AutoWebProxyScriptEngine.cs
- TemporaryBitmapFile.cs
- ChangeNode.cs
- PenThread.cs
- BinaryObjectReader.cs
- ArithmeticException.cs
- TabPage.cs
- TogglePattern.cs
- ByteStorage.cs
- XmlElementAttributes.cs
- ConfigurationStrings.cs
- FamilyTypeface.cs
- bindurihelper.cs
- OleServicesContext.cs
- DefaultAuthorizationContext.cs
- MatrixCamera.cs
- ListControlDataBindingHandler.cs
- XPathEmptyIterator.cs
- CreateUserWizardDesigner.cs
- ProxyHelper.cs
- Stylus.cs
- ZipIOExtraFieldZip64Element.cs
- ObjectStateEntryDbDataRecord.cs
- SoapTypeAttribute.cs
- EdmEntityTypeAttribute.cs
- ReliableChannelFactory.cs
- DrawingAttributeSerializer.cs
- SRGSCompiler.cs
- PropertyInformationCollection.cs
- ConnectionStringsSection.cs
- TransactionException.cs
- BamlLocalizableResourceKey.cs
- PageThemeBuildProvider.cs
- PipeConnection.cs
- MailBnfHelper.cs
- TreeNodeConverter.cs
- UIElement.cs
- Soap.cs
- DataGridColumnFloatingHeader.cs
- PermissionListSet.cs
- AVElementHelper.cs
- ValidationEventArgs.cs
- CachingHintValidation.cs
- FixedBufferAttribute.cs
- Blend.cs
- DataColumnCollection.cs
- ModelItemCollectionImpl.cs
- SafeRightsManagementQueryHandle.cs
- SoapTransportImporter.cs
- DataGridViewSelectedRowCollection.cs
- InputReport.cs
- Graphics.cs
- ClientSideProviderDescription.cs
- printdlgexmarshaler.cs
- DependencyObjectPropertyDescriptor.cs