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
- Int32CollectionConverter.cs
- TraceInternal.cs
- BackgroundWorker.cs
- RectAnimation.cs
- TreeNodeCollectionEditor.cs
- OrthographicCamera.cs
- MetadataCache.cs
- SettingsPropertyIsReadOnlyException.cs
- SQLUtility.cs
- XmlElementList.cs
- StringAnimationBase.cs
- MinimizableAttributeTypeConverter.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- Compiler.cs
- TargetPerspective.cs
- KeySplineConverter.cs
- TextElementEditingBehaviorAttribute.cs
- DateTimeOffset.cs
- ResXBuildProvider.cs
- SingleSelectRootGridEntry.cs
- ReferenceEqualityComparer.cs
- PaintEvent.cs
- IntellisenseTextBox.designer.cs
- ReadOnlyAttribute.cs
- GuidConverter.cs
- StorageEndPropertyMapping.cs
- WizardPanel.cs
- ReliableChannelListener.cs
- Pens.cs
- WebPartDeleteVerb.cs
- ResumeStoryboard.cs
- ColorAnimationBase.cs
- XmlILOptimizerVisitor.cs
- CheckableControlBaseAdapter.cs
- WindowsGrip.cs
- SpeechSeg.cs
- ChangeConflicts.cs
- TextCompositionManager.cs
- WebConfigurationManager.cs
- ReferentialConstraintRoleElement.cs
- FilterEventArgs.cs
- smtpconnection.cs
- AppDomainFactory.cs
- SafeTimerHandle.cs
- Baml2006Reader.cs
- MD5HashHelper.cs
- IncrementalCompileAnalyzer.cs
- UnmanagedMarshal.cs
- RealizationContext.cs
- RelatedView.cs
- SolidColorBrush.cs
- DataReceivedEventArgs.cs
- BevelBitmapEffect.cs
- PerformanceCounterNameAttribute.cs
- Brush.cs
- Operand.cs
- TransformGroup.cs
- DesignerForm.cs
- CodeTypeDelegate.cs
- ScriptControlManager.cs
- TreeView.cs
- TimeoutTimer.cs
- WorkflowDesignerMessageFilter.cs
- ChildTable.cs
- ReceiveContextCollection.cs
- WebScriptMetadataFormatter.cs
- EDesignUtil.cs
- ApplicationId.cs
- EdmRelationshipRoleAttribute.cs
- Component.cs
- CalendarDateRangeChangingEventArgs.cs
- RootNamespaceAttribute.cs
- WindowsServiceCredential.cs
- FileDetails.cs
- DataColumnSelectionConverter.cs
- DataServiceRequestOfT.cs
- Vector3DKeyFrameCollection.cs
- StringUtil.cs
- Soap.cs
- InputDevice.cs
- ObjectDataSourceSelectingEventArgs.cs
- _UriSyntax.cs
- CharacterString.cs
- LayoutEngine.cs
- NullRuntimeConfig.cs
- PropertyMapper.cs
- XmlHierarchicalEnumerable.cs
- TimeZone.cs
- HybridDictionary.cs
- CodeStatementCollection.cs
- RegionIterator.cs
- CompModSwitches.cs
- SyndicationDeserializer.cs
- LineBreak.cs
- InstanceHandle.cs
- ContainsRowNumberChecker.cs
- KeyValuePairs.cs
- DetailsViewRowCollection.cs
- WebEventTraceProvider.cs
- TextSelectionHighlightLayer.cs