Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / ComponentRenameEvent.cs / 1305376 / 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. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ClientUrlResolverWrapper.cs
- ObjectCacheHost.cs
- XmlHierarchyData.cs
- SystemColorTracker.cs
- InvokeProviderWrapper.cs
- DataGridAddNewRow.cs
- CqlWriter.cs
- __TransparentProxy.cs
- SurrogateSelector.cs
- FunctionNode.cs
- TraceLevelStore.cs
- HttpRequestTraceRecord.cs
- PrintPreviewControl.cs
- ConfigurationSchemaErrors.cs
- SignerInfo.cs
- HashHelper.cs
- GridViewEditEventArgs.cs
- Translator.cs
- PhoneCall.cs
- ProviderException.cs
- NativeMethods.cs
- CqlBlock.cs
- CodeSubDirectory.cs
- SatelliteContractVersionAttribute.cs
- DriveNotFoundException.cs
- StylusPoint.cs
- Assembly.cs
- FullTrustAssemblyCollection.cs
- DataSourceHelper.cs
- PreProcessInputEventArgs.cs
- DataBoundControlHelper.cs
- TreeNodeCollection.cs
- InheritablePropertyChangeInfo.cs
- DataServiceException.cs
- XmlSerializerSection.cs
- TreeNodeCollection.cs
- Point3DValueSerializer.cs
- FactoryRecord.cs
- NumericUpDownAcceleration.cs
- ImageListUtils.cs
- SizeConverter.cs
- TextElementAutomationPeer.cs
- SqlAggregateChecker.cs
- IntSecurity.cs
- TraceSection.cs
- ObjectMemberMapping.cs
- ServiceNameElementCollection.cs
- WpfPayload.cs
- ButtonStandardAdapter.cs
- GridSplitterAutomationPeer.cs
- CellRelation.cs
- _TransmitFileOverlappedAsyncResult.cs
- TreeWalker.cs
- RSAPKCS1KeyExchangeFormatter.cs
- Rectangle.cs
- AuthenticateEventArgs.cs
- MetaForeignKeyColumn.cs
- BasicCellRelation.cs
- DuplexChannel.cs
- RegistrationServices.cs
- RecoverInstanceLocksCommand.cs
- StaticTextPointer.cs
- DataRowComparer.cs
- OleDbMetaDataFactory.cs
- ClientFormsIdentity.cs
- SerializableAttribute.cs
- ReversePositionQuery.cs
- ControlIdConverter.cs
- Splitter.cs
- ObjectSet.cs
- HttpResponseBase.cs
- ServiceProviders.cs
- SafeNativeMethods.cs
- SpeechSeg.cs
- Request.cs
- RegistryPermission.cs
- ViewGenResults.cs
- TreeNodeBindingCollection.cs
- DisplayNameAttribute.cs
- iisPickupDirectory.cs
- StoreAnnotationsMap.cs
- LambdaValue.cs
- XPathMessageFilterTable.cs
- Help.cs
- ErrorsHelper.cs
- XmlValueConverter.cs
- EmptyStringExpandableObjectConverter.cs
- SchemaMerger.cs
- MergeFailedEvent.cs
- MailAddress.cs
- TextEditorCharacters.cs
- SpoolingTask.cs
- DES.cs
- DataBoundLiteralControl.cs
- configsystem.cs
- ClientRuntime.cs
- PrivateFontCollection.cs
- CommonXSendMessage.cs
- AtomMaterializer.cs
- Error.cs