Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / ComponentRenameEvent.cs / 1305376 / 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. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TimeIntervalCollection.cs
- TemplateDefinition.cs
- XmlSchemaObject.cs
- XamlWriter.cs
- CollectionViewGroup.cs
- QilValidationVisitor.cs
- HtmlInputFile.cs
- OdbcTransaction.cs
- WriteableOnDemandPackagePart.cs
- WindowsPen.cs
- WebCategoryAttribute.cs
- DataGridViewColumnCollection.cs
- CacheModeConverter.cs
- TagNameToTypeMapper.cs
- _HeaderInfoTable.cs
- GraphicsState.cs
- ADConnectionHelper.cs
- SqlUserDefinedTypeAttribute.cs
- PnrpPermission.cs
- TransactionScopeDesigner.cs
- DbConnectionStringCommon.cs
- PeerChannelListener.cs
- DelegateSerializationHolder.cs
- FormViewPageEventArgs.cs
- StickyNote.cs
- RectValueSerializer.cs
- NestPullup.cs
- Matrix.cs
- WindowsFormsSynchronizationContext.cs
- TreeBuilderXamlTranslator.cs
- XamlGridLengthSerializer.cs
- EventlogProvider.cs
- TextTreeRootTextBlock.cs
- MeasureData.cs
- ExpandoClass.cs
- TextOptions.cs
- Resources.Designer.cs
- CTreeGenerator.cs
- RMEnrollmentPage2.cs
- DeclarativeExpressionConditionDeclaration.cs
- IsolatedStorageException.cs
- TargetControlTypeAttribute.cs
- ModifiableIteratorCollection.cs
- StylusOverProperty.cs
- TreeNode.cs
- GridViewColumn.cs
- SqlServer2KCompatibilityAnnotation.cs
- BrowserInteropHelper.cs
- FlowLayoutPanel.cs
- RIPEMD160Managed.cs
- ValueTypeFixupInfo.cs
- DataGridPageChangedEventArgs.cs
- TextInfo.cs
- XmlSchemaSubstitutionGroup.cs
- SemanticTag.cs
- RoleService.cs
- TextTrailingCharacterEllipsis.cs
- ProtocolsConfiguration.cs
- MessageBox.cs
- HtmlTableRow.cs
- InputQueue.cs
- NativeMethodsCLR.cs
- HostVisual.cs
- CommandID.cs
- localization.cs
- MsmqHostedTransportConfiguration.cs
- AlphaSortedEnumConverter.cs
- CodeNamespace.cs
- ToolStripEditorManager.cs
- CollectionEditorDialog.cs
- TextTrailingWordEllipsis.cs
- CancellationHandlerDesigner.cs
- CompensationToken.cs
- NativeMethods.cs
- EventProxy.cs
- GACIdentityPermission.cs
- CommentAction.cs
- BadImageFormatException.cs
- XhtmlConformanceSection.cs
- TextSyndicationContent.cs
- DateTimeFormatInfo.cs
- DateTimeSerializationSection.cs
- FontDialog.cs
- PageStatePersister.cs
- TraceListener.cs
- SchemaElementDecl.cs
- DataRowView.cs
- Latin1Encoding.cs
- ImageMapEventArgs.cs
- ProgressBar.cs
- hwndwrapper.cs
- LinearQuaternionKeyFrame.cs
- HttpUnhandledOperationInvoker.cs
- ManipulationCompletedEventArgs.cs
- ConfigurationStrings.cs
- SelectiveScrollingGrid.cs
- OlePropertyStructs.cs
- ResourceDictionaryCollection.cs
- SynchronizingStream.cs
- CustomWebEventKey.cs