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
- OutputCacheProfileCollection.cs
- ContentElementAutomationPeer.cs
- EntityContainerEntitySet.cs
- Window.cs
- PolyBezierSegment.cs
- CodeDOMProvider.cs
- PipeStream.cs
- WindowInteropHelper.cs
- FileLogRecordEnumerator.cs
- XPathSelfQuery.cs
- Metafile.cs
- DataControlField.cs
- ListControl.cs
- ProcessHostFactoryHelper.cs
- RC2.cs
- MenuCommands.cs
- CustomBindingElement.cs
- SectionInput.cs
- DataSourceHelper.cs
- PersonalizationAdministration.cs
- ExitEventArgs.cs
- BooleanStorage.cs
- DocumentAutomationPeer.cs
- Freezable.cs
- XmlNamespaceDeclarationsAttribute.cs
- UnsafeNativeMethods.cs
- KeyGestureValueSerializer.cs
- PointUtil.cs
- FormsAuthentication.cs
- ListSortDescriptionCollection.cs
- ConnectionStringSettingsCollection.cs
- TrackPointCollection.cs
- UnsafeMethods.cs
- PreservationFileWriter.cs
- ConditionBrowserDialog.cs
- ConstantExpression.cs
- DetectRunnableInstancesTask.cs
- XsdBuildProvider.cs
- _SSPIWrapper.cs
- WebEventTraceProvider.cs
- HostingEnvironment.cs
- InvokeProviderWrapper.cs
- SctClaimSerializer.cs
- RegistryConfigurationProvider.cs
- SiteMapNode.cs
- CriticalHandle.cs
- TreeViewEvent.cs
- CompiledIdentityConstraint.cs
- QilPatternFactory.cs
- ClientUrlResolverWrapper.cs
- Int16.cs
- HtmlWindowCollection.cs
- PlatformCulture.cs
- Helpers.cs
- SplitContainer.cs
- CacheDependency.cs
- ContentIterators.cs
- Source.cs
- Ray3DHitTestResult.cs
- UserControl.cs
- ByteAnimation.cs
- __TransparentProxy.cs
- ComponentCollection.cs
- ButtonPopupAdapter.cs
- ActivationServices.cs
- ListViewCommandEventArgs.cs
- HMACMD5.cs
- DateTimeFormatInfo.cs
- TypeNameHelper.cs
- WindowsStatic.cs
- WorkflowInvoker.cs
- EntityDesignPluralizationHandler.cs
- DetailsView.cs
- DataColumnPropertyDescriptor.cs
- WeakReadOnlyCollection.cs
- MSAAEventDispatcher.cs
- PropertyPathConverter.cs
- SqlProviderServices.cs
- MouseEvent.cs
- BrushMappingModeValidation.cs
- CodeMemberField.cs
- XmlSchemaAnnotated.cs
- ListBindableAttribute.cs
- NewExpression.cs
- securitycriticaldataClass.cs
- BitmapEffect.cs
- RegisteredScript.cs
- UIElementPropertyUndoUnit.cs
- WbemException.cs
- ExceptionValidationRule.cs
- ObjectItemAttributeAssemblyLoader.cs
- BindingManagerDataErrorEventArgs.cs
- ExpandCollapsePattern.cs
- ParseChildrenAsPropertiesAttribute.cs
- xmlsaver.cs
- SignedXmlDebugLog.cs
- ApplicationTrust.cs
- SafeArrayTypeMismatchException.cs
- TabControl.cs
- Matrix.cs