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
- PropertyMapper.cs
- ValidationError.cs
- TextSelectionHelper.cs
- EntityDescriptor.cs
- ContainerUtilities.cs
- IOThreadTimer.cs
- DataGridViewRowPrePaintEventArgs.cs
- safelink.cs
- HtmlInputCheckBox.cs
- SchemaUtility.cs
- TypeUtil.cs
- CheckedPointers.cs
- AsyncCompletedEventArgs.cs
- ProcessingInstructionAction.cs
- SqlClientFactory.cs
- OrderedEnumerableRowCollection.cs
- SystemIPGlobalProperties.cs
- PlacementWorkspace.cs
- DoWorkEventArgs.cs
- ChoiceConverter.cs
- IdnMapping.cs
- EmbeddedMailObjectsCollection.cs
- GridItemProviderWrapper.cs
- Codec.cs
- NumericExpr.cs
- XamlClipboardData.cs
- StatusBarAutomationPeer.cs
- SchemaNotation.cs
- XmlnsPrefixAttribute.cs
- NetNamedPipeSecurityElement.cs
- OleDbConnection.cs
- KeySpline.cs
- ProviderMetadata.cs
- TextElement.cs
- EntityDataSourceWrapper.cs
- ConfigurationManagerHelperFactory.cs
- EncryptedKeyIdentifierClause.cs
- SqlBuffer.cs
- RtfToXamlLexer.cs
- WSSecurityOneDotZeroReceiveSecurityHeader.cs
- RequestTimeoutManager.cs
- XmlSchemaSimpleContentExtension.cs
- SettingsPropertyCollection.cs
- StringHandle.cs
- DelegateHelpers.Generated.cs
- SRef.cs
- ConnectAlgorithms.cs
- OperandQuery.cs
- SafeEventHandle.cs
- HttpModuleCollection.cs
- xmlsaver.cs
- RandomDelaySendsAsyncResult.cs
- MulticastDelegate.cs
- CFStream.cs
- WindowsStartMenu.cs
- ProxyWebPartManager.cs
- ServicePoint.cs
- XsltInput.cs
- GZipUtils.cs
- StringDictionaryEditor.cs
- Facet.cs
- MulticastOption.cs
- CfgArc.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- Literal.cs
- KeyTime.cs
- UpdatePanelTrigger.cs
- PageMediaType.cs
- ColumnMap.cs
- TextHintingModeValidation.cs
- CultureTableRecord.cs
- SqlMethods.cs
- XmlProcessingInstruction.cs
- InlineCollection.cs
- CallId.cs
- SqlBulkCopyColumnMappingCollection.cs
- exports.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- SqlUserDefinedTypeAttribute.cs
- GridViewEditEventArgs.cs
- Int32KeyFrameCollection.cs
- FileReader.cs
- XmlStreamStore.cs
- TableCell.cs
- HScrollProperties.cs
- InkCanvas.cs
- _FtpDataStream.cs
- SafeWaitHandle.cs
- SecUtil.cs
- DataGridViewControlCollection.cs
- EntityDataSourceDesigner.cs
- Command.cs
- Subtree.cs
- Primitive.cs
- DateTimeFormatInfo.cs
- MarginsConverter.cs
- RotationValidation.cs
- ColumnPropertiesGroup.cs
- SweepDirectionValidation.cs
- BlurBitmapEffect.cs