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
- VirtualPathProvider.cs
- AutomationPatternInfo.cs
- ButtonBase.cs
- SecurityStateEncoder.cs
- TextServicesContext.cs
- CookieParameter.cs
- ActivityDesignerResources.cs
- FrameDimension.cs
- ArrayMergeHelper.cs
- Block.cs
- TemplateColumn.cs
- PrintPreviewDialog.cs
- SerializationEventsCache.cs
- Message.cs
- DocumentPageViewAutomationPeer.cs
- ListViewContainer.cs
- MatrixTransform.cs
- IgnoreFileBuildProvider.cs
- TreeNodeCollection.cs
- LocationFactory.cs
- AnalyzedTree.cs
- MultilineStringConverter.cs
- ObsoleteAttribute.cs
- SortedList.cs
- Configuration.cs
- StringDictionary.cs
- SelectionChangedEventArgs.cs
- RadialGradientBrush.cs
- DataGridViewCell.cs
- RepeaterItem.cs
- ObjectDataSourceMethodEventArgs.cs
- ButtonField.cs
- ThreadAbortException.cs
- SQLBytesStorage.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- UDPClient.cs
- CompatibleComparer.cs
- DrawingVisual.cs
- CapabilitiesSection.cs
- DefaultAssemblyResolver.cs
- PackWebRequestFactory.cs
- GuidConverter.cs
- DefaultTextStoreTextComposition.cs
- PipelineModuleStepContainer.cs
- AppDomainManager.cs
- XmlSchemaException.cs
- TypeDelegator.cs
- HiddenFieldPageStatePersister.cs
- SeekStoryboard.cs
- OleDbConnectionInternal.cs
- CopyOnWriteList.cs
- Tool.cs
- SqlNotificationEventArgs.cs
- XmlToDatasetMap.cs
- DbSource.cs
- FormViewModeEventArgs.cs
- FormViewUpdateEventArgs.cs
- CodePrimitiveExpression.cs
- FilteredAttributeCollection.cs
- AnnotationComponentChooser.cs
- TypeTypeConverter.cs
- PersonalizablePropertyEntry.cs
- ExtentKey.cs
- SQLRoleProvider.cs
- TypeExtensionConverter.cs
- DropTarget.cs
- GenericWebPart.cs
- CounterSampleCalculator.cs
- QueryContinueDragEvent.cs
- DataGridViewAdvancedBorderStyle.cs
- DefaultExpressionVisitor.cs
- DataGridViewCellValidatingEventArgs.cs
- TimeZoneNotFoundException.cs
- Drawing.cs
- RuntimeConfigLKG.cs
- BigInt.cs
- ActivityCodeGenerator.cs
- AttributeProviderAttribute.cs
- SourceChangedEventArgs.cs
- ToolBarButton.cs
- UrlAuthFailedErrorFormatter.cs
- Point3D.cs
- TextEditorThreadLocalStore.cs
- CuspData.cs
- EFAssociationProvider.cs
- PasswordPropertyTextAttribute.cs
- MediaTimeline.cs
- URLMembershipCondition.cs
- MbpInfo.cs
- SortedSetDebugView.cs
- DataGridViewComboBoxEditingControl.cs
- MaskInputRejectedEventArgs.cs
- FamilyTypeface.cs
- FormViewUpdatedEventArgs.cs
- AuthorizationRuleCollection.cs
- _Win32.cs
- XmlDownloadManager.cs
- WebPartZoneBaseDesigner.cs
- Decorator.cs
- DetailsViewDesigner.cs