Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- DataBoundControlHelper.cs
- FileLevelControlBuilderAttribute.cs
- Privilege.cs
- TargetException.cs
- ServiceNotStartedException.cs
- NumberFormatInfo.cs
- SelectedGridItemChangedEvent.cs
- ApplicationBuildProvider.cs
- DebugHandleTracker.cs
- WhitespaceRuleLookup.cs
- WindowsFormsHelpers.cs
- SplayTreeNode.cs
- XmlFormatExtensionPointAttribute.cs
- Delegate.cs
- Transform.cs
- PropertyEmitterBase.cs
- DefaultMemberAttribute.cs
- RequestResponse.cs
- DictationGrammar.cs
- SoapReflectionImporter.cs
- XmlValueConverter.cs
- Cursor.cs
- SynchronizationLockException.cs
- DataGridViewTopRowAccessibleObject.cs
- FtpWebResponse.cs
- AnnotationService.cs
- TextElement.cs
- StringCollection.cs
- XamlTypeMapper.cs
- SkipStoryboardToFill.cs
- ColorTransform.cs
- ActiveDocumentEvent.cs
- ParallelTimeline.cs
- ObjectPropertyMapping.cs
- SqlGatherConsumedAliases.cs
- TextEvent.cs
- InputLanguageProfileNotifySink.cs
- DropTarget.cs
- CustomError.cs
- TextRangeAdaptor.cs
- ComboBoxRenderer.cs
- WebExceptionStatus.cs
- Point4DConverter.cs
- RequiredFieldValidator.cs
- TextContainerChangedEventArgs.cs
- DrawingGroup.cs
- safelinkcollection.cs
- StringAttributeCollection.cs
- HostedElements.cs
- ImageAttributes.cs
- EnumConverter.cs
- ReservationNotFoundException.cs
- DataGridViewUtilities.cs
- TextTreeUndoUnit.cs
- AlgoModule.cs
- PersistenceMetadataNamespace.cs
- ListViewCancelEventArgs.cs
- CounterSetInstance.cs
- Bidi.cs
- XmlSchemaFacet.cs
- TextSpan.cs
- FixedSOMPageConstructor.cs
- Function.cs
- SerializationTrace.cs
- SplitterCancelEvent.cs
- XmlAggregates.cs
- HtmlProps.cs
- KnownBoxes.cs
- ServiceRouteHandler.cs
- CachedFontFamily.cs
- DNS.cs
- ExeContext.cs
- XmlSchemaGroupRef.cs
- SmiContextFactory.cs
- SimpleApplicationHost.cs
- UITypeEditor.cs
- JoinTreeSlot.cs
- ManagementQuery.cs
- NetworkInterface.cs
- StringValidatorAttribute.cs
- RectangleGeometry.cs
- MeasureData.cs
- SessionSwitchEventArgs.cs
- TrustManagerMoreInformation.cs
- ToolStripPanel.cs
- XmlDocumentFragment.cs
- Attributes.cs
- WebPartEditorApplyVerb.cs
- SqlGatherConsumedAliases.cs
- MatrixStack.cs
- ObjectToken.cs
- ImageSourceConverter.cs
- BitmapEffectDrawingContextState.cs
- BeginCreateSecurityTokenRequest.cs
- DelegateSerializationHolder.cs
- AudioLevelUpdatedEventArgs.cs
- RightsManagementInformation.cs
- GridViewPageEventArgs.cs
- ServiceEndpointElement.cs
- WorkflowServiceBehavior.cs