Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- PasswordRecovery.cs
- ContextQuery.cs
- DataQuery.cs
- TTSVoice.cs
- MasterPageBuildProvider.cs
- SchemaTableOptionalColumn.cs
- Type.cs
- HttpWebRequest.cs
- ReadOnlyCollection.cs
- IndentedTextWriter.cs
- ClassData.cs
- MessageBox.cs
- SymbolTable.cs
- ScriptBehaviorDescriptor.cs
- DataServiceHost.cs
- Attributes.cs
- PagedDataSource.cs
- ContractBase.cs
- ExtentJoinTreeNode.cs
- TabItem.cs
- SelectedDatesCollection.cs
- ParallelTimeline.cs
- SupportingTokenSecurityTokenResolver.cs
- ListDataBindEventArgs.cs
- CodeSubDirectoriesCollection.cs
- BinaryNode.cs
- SessionStateModule.cs
- FontFamilyConverter.cs
- WebPartAuthorizationEventArgs.cs
- DetailsViewDeleteEventArgs.cs
- AnimationClockResource.cs
- ChineseLunisolarCalendar.cs
- LinqDataSourceStatusEventArgs.cs
- TextParagraphCache.cs
- ReadOnlyDictionary.cs
- ConstantSlot.cs
- QilTypeChecker.cs
- DeviceContext.cs
- DataControlFieldCell.cs
- AvTrace.cs
- AndCondition.cs
- handlecollector.cs
- ApplicationActivator.cs
- HtmlMeta.cs
- HttpUnhandledOperationInvoker.cs
- AncillaryOps.cs
- ListBoxItem.cs
- DrawingBrush.cs
- XmlWrappingReader.cs
- DesignerAttribute.cs
- ProfileSettingsCollection.cs
- RowCache.cs
- ModelItemDictionary.cs
- DataGridColumnHeadersPresenter.cs
- ValidationError.cs
- TableCell.cs
- OdbcEnvironment.cs
- Int32Storage.cs
- MissingMemberException.cs
- DataGridTextColumn.cs
- SingleConverter.cs
- PageScaling.cs
- AliasedExpr.cs
- UxThemeWrapper.cs
- AudioLevelUpdatedEventArgs.cs
- FocusManager.cs
- OdbcCommand.cs
- DetailsViewPageEventArgs.cs
- ConstrainedDataObject.cs
- ColumnHeaderConverter.cs
- BulletedList.cs
- OleDbSchemaGuid.cs
- ColumnHeader.cs
- EventPropertyMap.cs
- XhtmlBasicValidatorAdapter.cs
- RemotingClientProxy.cs
- NominalTypeEliminator.cs
- DataFormat.cs
- ImplicitInputBrush.cs
- ImageBrush.cs
- SqlStream.cs
- NonParentingControl.cs
- XmlParser.cs
- PageAsyncTaskManager.cs
- RSATokenProvider.cs
- ExtendedPropertyCollection.cs
- TextPenaltyModule.cs
- SimpleWorkerRequest.cs
- Condition.cs
- CodeSnippetTypeMember.cs
- XmlSchemaImport.cs
- WindowsStatusBar.cs
- thaishape.cs
- Lookup.cs
- OleDbParameter.cs
- ClientApiGenerator.cs
- CounterCreationDataCollection.cs
- nulltextcontainer.cs
- SafeFreeMibTable.cs
- WaitHandle.cs