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
- FunctionMappingTranslator.cs
- Application.cs
- DbDataReader.cs
- HMACSHA256.cs
- StrongNameUtility.cs
- WsdlContractConversionContext.cs
- AsyncOperationManager.cs
- AddressingVersion.cs
- QilInvoke.cs
- ChannelTracker.cs
- InternalCache.cs
- ExpressionBindings.cs
- DoubleLink.cs
- _AutoWebProxyScriptEngine.cs
- DataGridSortCommandEventArgs.cs
- MembershipUser.cs
- HtmlToClrEventProxy.cs
- AutomationPatternInfo.cs
- UiaCoreTypesApi.cs
- CatalogZoneBase.cs
- ScrollChangedEventArgs.cs
- HostedTransportConfigurationManager.cs
- SortAction.cs
- StandardOleMarshalObject.cs
- DefaultMemberAttribute.cs
- SplashScreen.cs
- TargetException.cs
- ProfessionalColorTable.cs
- MulticastOption.cs
- RenderContext.cs
- OdbcException.cs
- validation.cs
- TranslateTransform3D.cs
- ResourceReferenceExpressionConverter.cs
- OverflowException.cs
- FileCodeGroup.cs
- Rect3DConverter.cs
- OracleInfoMessageEventArgs.cs
- DependencyProperty.cs
- EntitySet.cs
- XmlSignificantWhitespace.cs
- PropertyReferenceSerializer.cs
- Size.cs
- FormatConvertedBitmap.cs
- OracleCommand.cs
- TiffBitmapEncoder.cs
- _RegBlobWebProxyDataBuilder.cs
- SmiEventSink.cs
- CompiledRegexRunner.cs
- BindingContext.cs
- EntityTypeEmitter.cs
- IDQuery.cs
- ActivityLocationReferenceEnvironment.cs
- CqlIdentifiers.cs
- AppSettingsReader.cs
- HtmlTableCell.cs
- BinaryMethodMessage.cs
- BasicKeyConstraint.cs
- TraceLog.cs
- PeerNameRecord.cs
- WebSysDefaultValueAttribute.cs
- XmlCharCheckingWriter.cs
- ActivityBuilderHelper.cs
- TableRow.cs
- isolationinterop.cs
- LockRecoveryTask.cs
- SmtpReplyReader.cs
- HttpListenerResponse.cs
- BinaryWriter.cs
- XslNumber.cs
- XmlDataSourceNodeDescriptor.cs
- Number.cs
- precedingquery.cs
- MessageQueueCriteria.cs
- UrlUtility.cs
- DataRecordInternal.cs
- EntityModelBuildProvider.cs
- AsyncCompletedEventArgs.cs
- RemotingServices.cs
- SplashScreenNativeMethods.cs
- ParallelActivityDesigner.cs
- XmlNamespaceManager.cs
- COM2EnumConverter.cs
- WebZone.cs
- ProtectedConfigurationProviderCollection.cs
- JsonClassDataContract.cs
- InterleavedZipPartStream.cs
- WebPartTransformer.cs
- HttpWebRequest.cs
- CollectionView.cs
- NullableConverter.cs
- XPathDocumentIterator.cs
- GeneratedCodeAttribute.cs
- ImportStoreException.cs
- TileBrush.cs
- ScriptRef.cs
- MulticastDelegate.cs
- DataPagerFieldCollection.cs
- _NestedMultipleAsyncResult.cs
- DialogDivider.cs