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
- XPathSingletonIterator.cs
- LogicalExpr.cs
- DoubleAnimationClockResource.cs
- ObjectSecurity.cs
- SchemaTypeEmitter.cs
- MetadataCacheItem.cs
- DecoratedNameAttribute.cs
- InvalidEnumArgumentException.cs
- XPathChildIterator.cs
- ExceptionUtil.cs
- ToolboxItemFilterAttribute.cs
- InvalidOperationException.cs
- SemaphoreSlim.cs
- AttachmentCollection.cs
- Activator.cs
- GeneralTransformGroup.cs
- ExpressionBuilder.cs
- TextEditorTables.cs
- ContractComponent.cs
- Binding.cs
- SamlAudienceRestrictionCondition.cs
- HtmlForm.cs
- ServiceX509SecurityTokenProvider.cs
- ObjectQuery_EntitySqlExtensions.cs
- AnnotationAdorner.cs
- EventBookmark.cs
- CssClassPropertyAttribute.cs
- HtmlTable.cs
- NamespaceTable.cs
- RadioButton.cs
- TreeViewItemAutomationPeer.cs
- TypeHelper.cs
- Lasso.cs
- RowToParametersTransformer.cs
- ThreadAttributes.cs
- ObjectQuery.cs
- CompatibleIComparer.cs
- ListViewDesigner.cs
- DataGridViewControlCollection.cs
- LinqDataSource.cs
- DiagnosticTrace.cs
- GlobalizationSection.cs
- MatrixTransform.cs
- UpdateExpressionVisitor.cs
- ImageAutomationPeer.cs
- VSWCFServiceContractGenerator.cs
- Style.cs
- ItemContainerProviderWrapper.cs
- ToolStripManager.cs
- COM2AboutBoxPropertyDescriptor.cs
- VirtualPathUtility.cs
- ArcSegment.cs
- DBSqlParserTableCollection.cs
- EnvironmentPermission.cs
- NavigationFailedEventArgs.cs
- Point.cs
- DataSourceXmlSerializer.cs
- ListenUriMode.cs
- OdbcEnvironment.cs
- SynchronousReceiveElement.cs
- ListSortDescriptionCollection.cs
- TreeViewBindingsEditorForm.cs
- ToolCreatedEventArgs.cs
- ScriptingRoleServiceSection.cs
- RegistrationServices.cs
- Scene3D.cs
- SamlNameIdentifierClaimResource.cs
- AuthenticationModuleElementCollection.cs
- ApplicationManager.cs
- FloaterBaseParaClient.cs
- PrintingPermissionAttribute.cs
- Missing.cs
- DataContractSerializerSection.cs
- FtpWebResponse.cs
- TypeExtensionConverter.cs
- GuidelineSet.cs
- DelegateCompletionCallbackWrapper.cs
- ComponentDispatcher.cs
- _SSPISessionCache.cs
- WebPartZone.cs
- MemberAccessException.cs
- EventMappingSettings.cs
- TextParentUndoUnit.cs
- QilLiteral.cs
- GcSettings.cs
- OrderByQueryOptionExpression.cs
- SafeLibraryHandle.cs
- Membership.cs
- StylusEventArgs.cs
- SqlSelectClauseBuilder.cs
- XmlSubtreeReader.cs
- ACE.cs
- AccessDataSourceView.cs
- Int32Converter.cs
- FirstMatchCodeGroup.cs
- DataControlLinkButton.cs
- TrackingStringDictionary.cs
- ZipIOCentralDirectoryBlock.cs
- _NetRes.cs
- TemplateContent.cs