Code:
/ 4.0 / 4.0 / 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. /// // 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
- UriTemplateTrieLocation.cs
- StreamUpdate.cs
- ScrollEvent.cs
- SQLByte.cs
- AutoResizedEvent.cs
- EasingKeyFrames.cs
- PeerNameResolver.cs
- EmptyEnumerator.cs
- CqlParser.cs
- ScriptControl.cs
- Symbol.cs
- CheckBox.cs
- ImageField.cs
- ObjectAnimationBase.cs
- MemoryPressure.cs
- InternalConfigHost.cs
- WhitespaceRuleReader.cs
- WinHttpWebProxyFinder.cs
- CombinedHttpChannel.cs
- Content.cs
- DATA_BLOB.cs
- SqlDataSourceView.cs
- PartialClassGenerationTask.cs
- WebControl.cs
- GeometryHitTestParameters.cs
- Color.cs
- SpanIndex.cs
- AspCompat.cs
- CorruptingExceptionCommon.cs
- Rect3D.cs
- SerTrace.cs
- SolidColorBrush.cs
- RoleManagerEventArgs.cs
- XmlSchemaAll.cs
- AssemblyNameProxy.cs
- NullableIntMinMaxAggregationOperator.cs
- ReliableMessagingVersionConverter.cs
- Object.cs
- ScriptIgnoreAttribute.cs
- UpWmlMobileTextWriter.cs
- UrlParameterWriter.cs
- SpotLight.cs
- CacheOutputQuery.cs
- TrackingProfile.cs
- ConnectionProviderAttribute.cs
- HttpResponseBase.cs
- UpdateException.cs
- printdlgexmarshaler.cs
- BindingGroup.cs
- RegexTypeEditor.cs
- StyleCollection.cs
- CryptoHelper.cs
- TreeViewDesigner.cs
- XmlSequenceWriter.cs
- GridViewItemAutomationPeer.cs
- Matrix3D.cs
- NativeMethods.cs
- DesignerValidationSummaryAdapter.cs
- MailSettingsSection.cs
- CommonXSendMessage.cs
- Collection.cs
- TextEditorLists.cs
- EndPoint.cs
- RenderCapability.cs
- HttpApplicationStateWrapper.cs
- PinnedBufferMemoryStream.cs
- SamlAdvice.cs
- CompilerTypeWithParams.cs
- IImplicitResourceProvider.cs
- Odbc32.cs
- ConsoleCancelEventArgs.cs
- MsmqIntegrationProcessProtocolHandler.cs
- cookiecontainer.cs
- DBSqlParserTable.cs
- ExpressionBinding.cs
- _ListenerAsyncResult.cs
- ExtentJoinTreeNode.cs
- XmlObjectSerializerReadContext.cs
- ExpressionDumper.cs
- BuilderPropertyEntry.cs
- TableAutomationPeer.cs
- BaseCollection.cs
- MultiPropertyDescriptorGridEntry.cs
- XLinq.cs
- TextEffectCollection.cs
- WebScriptClientGenerator.cs
- CodeAttachEventStatement.cs
- Condition.cs
- PaperSource.cs
- AnnotationHighlightLayer.cs
- CoTaskMemHandle.cs
- XmlSchemaComplexContentRestriction.cs
- Configuration.cs
- TransactionManager.cs
- UMPAttributes.cs
- XsltArgumentList.cs
- CallContext.cs
- DataColumnChangeEvent.cs
- CoreChannel.cs
- AsymmetricKeyExchangeDeformatter.cs