Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / ComponentModel / Design / ComponentRenameEvent.cs / 1 / ComponentRenameEvent.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.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class ComponentRenameEventArgs : EventArgs { private object component; private string oldName; private string newName; ///Provides data for the ///event. /// public object Component { get { return component; } } ////// Gets or sets the component that is being renamed. /// ////// public virtual string OldName { get { return oldName; } } ////// Gets or /// sets the name of the component before the rename. /// ////// public virtual string NewName { get { return newName; } } ////// Gets or /// sets the current name of the component. /// ////// public ComponentRenameEventArgs(object component, string oldName, string newName) { this.oldName = oldName; this.newName = newName; this.component = component; } } } // 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.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class ComponentRenameEventArgs : EventArgs { private object component; private string oldName; private string newName; ///Provides data for the ///event. /// public object Component { get { return component; } } ////// Gets or sets the component that is being renamed. /// ////// public virtual string OldName { get { return oldName; } } ////// Gets or /// sets the name of the component before the rename. /// ////// public virtual string NewName { get { return newName; } } ////// Gets or /// sets the current name of the component. /// ////// public ComponentRenameEventArgs(object component, string oldName, string newName) { this.oldName = oldName; this.newName = newName; this.component = component; } } } // 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
- UpDownEvent.cs
- Point3DValueSerializer.cs
- OperationInfoBase.cs
- SqlPersonalizationProvider.cs
- MulticastIPAddressInformationCollection.cs
- SurrogateSelector.cs
- CheckedListBox.cs
- FatalException.cs
- DataObjectPastingEventArgs.cs
- SortFieldComparer.cs
- SystemGatewayIPAddressInformation.cs
- MatrixTransform3D.cs
- ConfigDefinitionUpdates.cs
- SplayTreeNode.cs
- PropertyBuilder.cs
- CodeComment.cs
- SQLSingleStorage.cs
- CustomCredentialPolicy.cs
- TextDecorationCollection.cs
- ConstructorNeedsTagAttribute.cs
- FileRecordSequenceHelper.cs
- ViewGenerator.cs
- StateChangeEvent.cs
- WCFServiceClientProxyGenerator.cs
- PipelineComponent.cs
- RawTextInputReport.cs
- DataBoundControl.cs
- FileCodeGroup.cs
- CrossSiteScriptingValidation.cs
- _ListenerAsyncResult.cs
- SHA1Managed.cs
- BufferedStream.cs
- _UncName.cs
- SiteMembershipCondition.cs
- StorageFunctionMapping.cs
- BitmapEffectInputConnector.cs
- ConfigXmlAttribute.cs
- LineGeometry.cs
- ProfileManager.cs
- MD5CryptoServiceProvider.cs
- TimeZoneNotFoundException.cs
- HttpStreamMessage.cs
- EdmSchemaAttribute.cs
- ScrollProviderWrapper.cs
- InlineCollection.cs
- AsyncStreamReader.cs
- ProofTokenCryptoHandle.cs
- AssemblyGen.cs
- WindowsFormsHost.cs
- TextContainer.cs
- Formatter.cs
- XmlSchemaInferenceException.cs
- XsdDataContractImporter.cs
- MatrixAnimationBase.cs
- AppDomainFactory.cs
- DefaultAuthorizationContext.cs
- DisplayNameAttribute.cs
- EntryPointNotFoundException.cs
- Memoizer.cs
- ScriptIgnoreAttribute.cs
- X509ChainElement.cs
- UpdateCommand.cs
- ForEach.cs
- TextContainerChangeEventArgs.cs
- MenuCommands.cs
- SqlDataAdapter.cs
- RegionInfo.cs
- SqlCrossApplyToCrossJoin.cs
- ListControlBuilder.cs
- WizardPanelChangingEventArgs.cs
- ZipIOLocalFileBlock.cs
- RuleAction.cs
- MsmqProcessProtocolHandler.cs
- InvalidCommandTreeException.cs
- HtmlInputFile.cs
- PolicyChain.cs
- CompensatableTransactionScopeActivity.cs
- WmfPlaceableFileHeader.cs
- StateBag.cs
- ComponentResourceManager.cs
- ResXResourceWriter.cs
- ConfigurationProperty.cs
- PrivilegeNotHeldException.cs
- CatalogPartChrome.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- CodeBlockBuilder.cs
- WindowsPen.cs
- CheckoutException.cs
- CompositeScriptReference.cs
- ServiceControllerDesigner.cs
- CookieHandler.cs
- NamespaceInfo.cs
- DashStyles.cs
- SmtpReplyReaderFactory.cs
- BufferedReadStream.cs
- CategoryGridEntry.cs
- MimeWriter.cs
- SplineKeyFrames.cs
- MetabaseSettings.cs
- CharacterMetrics.cs