Code:
/ DotNET / DotNET / 8.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
- FixedTextContainer.cs
- EntityConnectionStringBuilder.cs
- CodeDirectoryCompiler.cs
- XmlDocument.cs
- ParsedAttributeCollection.cs
- ProcessModuleCollection.cs
- SpeechEvent.cs
- InfoCardServiceInstallComponent.cs
- Deflater.cs
- CreateUserWizardStep.cs
- QueryContext.cs
- Registry.cs
- ItemDragEvent.cs
- DataTableMappingCollection.cs
- XMLUtil.cs
- SQLMoneyStorage.cs
- StylusOverProperty.cs
- AuthenticateEventArgs.cs
- RouteParametersHelper.cs
- MethodCallConverter.cs
- GZipDecoder.cs
- SqlTransaction.cs
- RoutedPropertyChangedEventArgs.cs
- DigestTraceRecordHelper.cs
- DataServiceProcessingPipelineEventArgs.cs
- SynchronousChannelMergeEnumerator.cs
- BitmapDecoder.cs
- LineGeometry.cs
- EdmTypeAttribute.cs
- ConfigXmlAttribute.cs
- GradientStop.cs
- ZipIOModeEnforcingStream.cs
- Pens.cs
- CodeSnippetExpression.cs
- TemplatedWizardStep.cs
- ComplexTypeEmitter.cs
- RegexInterpreter.cs
- DeploymentSectionCache.cs
- UndirectedGraph.cs
- RuntimeConfig.cs
- SyndicationSerializer.cs
- TabControlCancelEvent.cs
- Command.cs
- WindowAutomationPeer.cs
- MetadataSerializer.cs
- WebBrowser.cs
- XmlStringTable.cs
- SqlFunctionAttribute.cs
- SafeThreadHandle.cs
- _FtpControlStream.cs
- WindowsTokenRoleProvider.cs
- RestClientProxyHandler.cs
- ConfigurationManagerInternal.cs
- ProxyHelper.cs
- TextEditorParagraphs.cs
- ImageMapEventArgs.cs
- ButtonChrome.cs
- ClientApiGenerator.cs
- CorrelationKeyCalculator.cs
- ClientEventManager.cs
- FontCollection.cs
- HexParser.cs
- TypeConverterHelper.cs
- TraceHandler.cs
- DeclarativeCatalogPart.cs
- HashHelper.cs
- MessageAction.cs
- OleDbSchemaGuid.cs
- Constraint.cs
- TableAdapterManagerMethodGenerator.cs
- MaskedTextBoxTextEditorDropDown.cs
- Int64KeyFrameCollection.cs
- RuntimeHandles.cs
- Int64Storage.cs
- WebScriptMetadataFormatter.cs
- BulletedListEventArgs.cs
- EntityContainerEmitter.cs
- StandardToolWindows.cs
- DynamicDiscoSearcher.cs
- LinkClickEvent.cs
- ClientType.cs
- InfiniteTimeSpanConverter.cs
- SizeAnimationBase.cs
- NetworkCredential.cs
- EntityDataSourceView.cs
- Timer.cs
- Nodes.cs
- SessionPageStatePersister.cs
- GroupPartitionExpr.cs
- SqlDuplicator.cs
- InputProviderSite.cs
- SizeKeyFrameCollection.cs
- DiscreteKeyFrames.cs
- _AutoWebProxyScriptHelper.cs
- RuntimeCompatibilityAttribute.cs
- DragStartedEventArgs.cs
- UniqueIdentifierService.cs
- XmlConvert.cs
- HashHelpers.cs
- UserControlDocumentDesigner.cs