Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } }/// Initializes a new instance of the ////// class. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BindStream.cs
- Ray3DHitTestResult.cs
- SamlAuthorizationDecisionClaimResource.cs
- SchemaElementLookUpTable.cs
- Pool.cs
- TemplateControlParser.cs
- TextTrailingWordEllipsis.cs
- HealthMonitoringSectionHelper.cs
- PackWebRequestFactory.cs
- ResourceCategoryAttribute.cs
- Models.cs
- LinqDataSourceContextEventArgs.cs
- ContainerUIElement3D.cs
- StringComparer.cs
- SystemFonts.cs
- XmlAnyAttributeAttribute.cs
- BuildProvider.cs
- IIS7WorkerRequest.cs
- ConfigurationElementCollection.cs
- EnumCodeDomSerializer.cs
- FigureParaClient.cs
- ComEventsSink.cs
- ClientRuntimeConfig.cs
- PageContentCollection.cs
- CompilerGeneratedAttribute.cs
- SvcMapFile.cs
- TextDecorationCollection.cs
- PropertyMetadata.cs
- Bidi.cs
- MILUtilities.cs
- CollectionType.cs
- FlatButtonAppearance.cs
- MediaTimeline.cs
- ColumnPropertiesGroup.cs
- DesignerActionUI.cs
- TextEffectResolver.cs
- DurableErrorHandler.cs
- ReadOnlyDataSourceView.cs
- URLMembershipCondition.cs
- Itemizer.cs
- SqlBuilder.cs
- ElementNotEnabledException.cs
- typedescriptorpermission.cs
- TextBoxDesigner.cs
- EntityCommandExecutionException.cs
- HttpRuntime.cs
- SplitterEvent.cs
- ComponentEditorForm.cs
- PeerCollaboration.cs
- MetadataSerializer.cs
- addressfiltermode.cs
- NullableConverter.cs
- FormatSettings.cs
- SchemaInfo.cs
- FontStretches.cs
- ResXFileRef.cs
- SemanticValue.cs
- SoapTransportImporter.cs
- X509Certificate.cs
- WindowsRichEditRange.cs
- StructuredTypeEmitter.cs
- XmlnsCompatibleWithAttribute.cs
- Rect.cs
- SchemaLookupTable.cs
- CompositeKey.cs
- XmlAttributeCollection.cs
- XmlQueryType.cs
- ErrorStyle.cs
- HtmlWindow.cs
- RemotingServices.cs
- AutomationElement.cs
- VectorAnimation.cs
- DataGridViewCheckBoxColumn.cs
- Compiler.cs
- NameScopePropertyAttribute.cs
- TextBoxBase.cs
- ImageIndexConverter.cs
- UInt16.cs
- adornercollection.cs
- XPathNavigatorReader.cs
- WebBrowsableAttribute.cs
- InkPresenterAutomationPeer.cs
- DataObjectMethodAttribute.cs
- BrowserCapabilitiesFactoryBase.cs
- MetricEntry.cs
- CopyNodeSetAction.cs
- ListItemConverter.cs
- SymmetricCryptoHandle.cs
- RequiredFieldValidator.cs
- HttpGetProtocolReflector.cs
- ZoneLinkButton.cs
- Int32CollectionValueSerializer.cs
- FixUp.cs
- WindowsListViewItemCheckBox.cs
- TableRowGroup.cs
- SharedConnectionWorkflowTransactionService.cs
- SqlDependency.cs
- DtrList.cs
- ProcessModuleDesigner.cs
- TypefaceCollection.cs