Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Initializes a new instance of the ////// class. /// // 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
- SeparatorAutomationPeer.cs
- namescope.cs
- XmlAttributes.cs
- TextSelectionHelper.cs
- Vector3dCollection.cs
- BooleanToVisibilityConverter.cs
- GridViewPageEventArgs.cs
- GeneratedView.cs
- DesignerView.xaml.cs
- SortKey.cs
- BaseResourcesBuildProvider.cs
- EditingMode.cs
- CellTreeNodeVisitors.cs
- XmlCustomFormatter.cs
- ProcessProtocolHandler.cs
- ArraySegment.cs
- UnauthorizedWebPart.cs
- DataGridParentRows.cs
- UnsafeNativeMethods.cs
- EncryptedType.cs
- BehaviorEditorPart.cs
- TemplateInstanceAttribute.cs
- TempEnvironment.cs
- InstanceKeyNotReadyException.cs
- ScriptRegistrationManager.cs
- KeyValueConfigurationCollection.cs
- PersonalizationState.cs
- ValueOfAction.cs
- DataServiceExpressionVisitor.cs
- ListBox.cs
- StringResourceManager.cs
- XmlSerializationReader.cs
- SystemGatewayIPAddressInformation.cs
- AsynchronousChannel.cs
- ObjectContext.cs
- FilterElement.cs
- LZCodec.cs
- DataRowView.cs
- MappedMetaModel.cs
- _OverlappedAsyncResult.cs
- TextBoxAutoCompleteSourceConverter.cs
- Serializer.cs
- PathGradientBrush.cs
- EncoderParameter.cs
- StylusTip.cs
- DataError.cs
- Evaluator.cs
- DependsOnAttribute.cs
- EdmEntityTypeAttribute.cs
- ElementNotEnabledException.cs
- JsonByteArrayDataContract.cs
- LicenseException.cs
- StorageEntityContainerMapping.cs
- Message.cs
- PriorityQueue.cs
- TextTreeUndoUnit.cs
- updatecommandorderer.cs
- ObjectItemCachedAssemblyLoader.cs
- ConnectionInterfaceCollection.cs
- DataKeyPropertyAttribute.cs
- DataGridViewAutoSizeModeEventArgs.cs
- ListenerUnsafeNativeMethods.cs
- XmlHierarchicalEnumerable.cs
- MimeFormReflector.cs
- C14NUtil.cs
- TimeSpanSecondsConverter.cs
- ImportContext.cs
- TextTreeUndo.cs
- RightsManagementInformation.cs
- IntSecurity.cs
- PropertyIdentifier.cs
- WbmpConverter.cs
- BindingWorker.cs
- SQLMembershipProvider.cs
- _SSPISessionCache.cs
- CatalogZone.cs
- TextServicesHost.cs
- ScriptingJsonSerializationSection.cs
- ColumnMapCopier.cs
- CustomAttribute.cs
- DiscoveryClientReferences.cs
- FastEncoderStatics.cs
- SqlTriggerContext.cs
- PerfProviderCollection.cs
- EntityContainer.cs
- IFlowDocumentViewer.cs
- SchemaDeclBase.cs
- ArraySortHelper.cs
- PrivateFontCollection.cs
- CacheChildrenQuery.cs
- SetIterators.cs
- EdgeProfileValidation.cs
- SHA512.cs
- CategoryGridEntry.cs
- CodeSnippetTypeMember.cs
- _FixedSizeReader.cs
- RegexWorker.cs
- CharConverter.cs
- WebMessageEncodingBindingElement.cs
- CodeNamespaceImportCollection.cs