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
- OdbcException.cs
- OdbcReferenceCollection.cs
- IRCollection.cs
- UnsafeNativeMethods.cs
- Random.cs
- MouseGestureValueSerializer.cs
- ProcessProtocolHandler.cs
- TextChangedEventArgs.cs
- Compiler.cs
- FixedSOMLineRanges.cs
- FormViewInsertedEventArgs.cs
- ContextProperty.cs
- ProfilePropertySettingsCollection.cs
- LinqDataSourceView.cs
- RoleService.cs
- BitmapSourceSafeMILHandle.cs
- DecoderExceptionFallback.cs
- CqlGenerator.cs
- SequentialUshortCollection.cs
- AnonymousIdentificationModule.cs
- ControlCollection.cs
- OneToOneMappingSerializer.cs
- ObjectPropertyMapping.cs
- Point3DCollectionConverter.cs
- DefaultAssemblyResolver.cs
- DataViewSettingCollection.cs
- ApplicationInfo.cs
- AutoResetEvent.cs
- TextModifierScope.cs
- RequestDescription.cs
- BitmapEffectGeneralTransform.cs
- SqlXml.cs
- SqlStatistics.cs
- ProtocolsSection.cs
- AnimationClockResource.cs
- ArrayEditor.cs
- DockPanel.cs
- QueryNode.cs
- RegisteredDisposeScript.cs
- SignedInfo.cs
- GPStream.cs
- FixedSOMContainer.cs
- InlinedAggregationOperatorEnumerator.cs
- counter.cs
- AssemblyBuilder.cs
- FontFaceLayoutInfo.cs
- EnumBuilder.cs
- PathFigureCollection.cs
- RepeaterItemEventArgs.cs
- EntityWrapperFactory.cs
- ContractDescription.cs
- WorkflowApplication.cs
- DoubleAnimation.cs
- BrowserCapabilitiesFactoryBase.cs
- TransportSecurityProtocol.cs
- DataAdapter.cs
- StandardOleMarshalObject.cs
- DesignOnlyAttribute.cs
- EditorAttribute.cs
- GeneratedContractType.cs
- X509ServiceCertificateAuthenticationElement.cs
- DbXmlEnabledProviderManifest.cs
- ReflectionUtil.cs
- ReachUIElementCollectionSerializerAsync.cs
- SessionStateItemCollection.cs
- PropertyInfoSet.cs
- TableLayout.cs
- ExtensionFile.cs
- LocalizationComments.cs
- BypassElementCollection.cs
- Bezier.cs
- SamlSerializer.cs
- BooleanSwitch.cs
- SequentialActivityDesigner.cs
- TextTreeUndoUnit.cs
- TextEditorParagraphs.cs
- DataGridViewCellValueEventArgs.cs
- ConcurrentStack.cs
- WindowHelperService.cs
- QilGenerator.cs
- Line.cs
- AlternateView.cs
- ZoomPercentageConverter.cs
- CaseStatement.cs
- TraceContextEventArgs.cs
- SmiTypedGetterSetter.cs
- EventToken.cs
- BinaryCommonClasses.cs
- DataGridPagingPage.cs
- SatelliteContractVersionAttribute.cs
- DiagnosticsConfiguration.cs
- ImageAutomationPeer.cs
- BufferedWebEventProvider.cs
- CodeObjectCreateExpression.cs
- TextEditorCopyPaste.cs
- DataGridItemCollection.cs
- ExecutionContext.cs
- AggregateNode.cs
- ExtensionSimplifierMarkupObject.cs
- ArgIterator.cs