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
- SystemIPv4InterfaceProperties.cs
- PolicyStatement.cs
- MenuItemAutomationPeer.cs
- ReferenceService.cs
- DesignerDataConnection.cs
- SqlBuilder.cs
- ZipIOModeEnforcingStream.cs
- DeferredSelectedIndexReference.cs
- RealizationContext.cs
- GridItemProviderWrapper.cs
- __Error.cs
- CalendarDateRangeChangingEventArgs.cs
- SizeAnimationUsingKeyFrames.cs
- IPipelineRuntime.cs
- DescriptionAttribute.cs
- EventMappingSettings.cs
- DictionaryContent.cs
- WebRequestModulesSection.cs
- XmlSchemaInclude.cs
- MessageHeaderAttribute.cs
- SystemNetworkInterface.cs
- DefaultTraceListener.cs
- ValuePattern.cs
- Trustee.cs
- FileSystemInfo.cs
- SiteMembershipCondition.cs
- RegexWorker.cs
- oledbmetadatacollectionnames.cs
- Convert.cs
- ProcessInfo.cs
- IPEndPoint.cs
- SpeakInfo.cs
- MetadataSource.cs
- ModulesEntry.cs
- LineVisual.cs
- ScriptControl.cs
- Repeater.cs
- TemplateBaseAction.cs
- WindowsComboBox.cs
- XmlDocumentFragment.cs
- IndentedTextWriter.cs
- HtmlLabelAdapter.cs
- LocalizationParserHooks.cs
- RectIndependentAnimationStorage.cs
- DataColumnSelectionConverter.cs
- KeyPressEvent.cs
- LambdaCompiler.Binary.cs
- AttachedPropertyBrowsableAttribute.cs
- MetadataSource.cs
- InvalidCommandTreeException.cs
- AccessText.cs
- ImageListImageEditor.cs
- DbProviderFactories.cs
- SecurityTokenProvider.cs
- AppDomainManager.cs
- Profiler.cs
- RoleGroup.cs
- CodeNamespaceImportCollection.cs
- FigureParagraph.cs
- ResponseStream.cs
- CleanUpVirtualizedItemEventArgs.cs
- AmbiguousMatchException.cs
- WebPart.cs
- wmiprovider.cs
- RuntimeHandles.cs
- ProfilePropertyMetadata.cs
- XmlStreamStore.cs
- TablePattern.cs
- SafeUserTokenHandle.cs
- XmlSchemaComplexContent.cs
- MultipartContentParser.cs
- FacetDescription.cs
- PathSegmentCollection.cs
- SettingsSection.cs
- RegisteredScript.cs
- ManageRequest.cs
- XmlArrayAttribute.cs
- InputBinding.cs
- DefaultBindingPropertyAttribute.cs
- WinFormsUtils.cs
- TableLayoutStyleCollection.cs
- PrintControllerWithStatusDialog.cs
- XmlSchemaSimpleContentExtension.cs
- _UncName.cs
- IProvider.cs
- InputLanguageCollection.cs
- ExceptionRoutedEventArgs.cs
- RadialGradientBrush.cs
- BaseComponentEditor.cs
- SwitchElementsCollection.cs
- ComNativeDescriptor.cs
- OdbcDataAdapter.cs
- X509Certificate.cs
- DesignTimeValidationFeature.cs
- Form.cs
- SingleConverter.cs
- ToolStripPanelRenderEventArgs.cs
- WebControlParameterProxy.cs
- DataGridViewColumnCollection.cs
- TypefaceMetricsCache.cs