Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- PrePostDescendentsWalker.cs
- LoadedOrUnloadedOperation.cs
- UIElementCollection.cs
- IntSecurity.cs
- ExceptionUtility.cs
- DynamicValidatorEventArgs.cs
- DocumentApplication.cs
- __Filters.cs
- LayoutDump.cs
- ConstraintCollection.cs
- BamlResourceContent.cs
- Parallel.cs
- UnsafeNativeMethods.cs
- OleDbParameter.cs
- TextEffect.cs
- followingsibling.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- CircleHotSpot.cs
- TimerEventSubscription.cs
- RolePrincipal.cs
- CodeCatchClause.cs
- PathGradientBrush.cs
- HttpCapabilitiesEvaluator.cs
- HtmlInputControl.cs
- XsltSettings.cs
- EpmCustomContentDeSerializer.cs
- BuildDependencySet.cs
- CompositeControl.cs
- ResourceAttributes.cs
- PointHitTestResult.cs
- MetadataException.cs
- ForeignKeyFactory.cs
- MetadataCache.cs
- FileResponseElement.cs
- DeploymentSection.cs
- RangeBaseAutomationPeer.cs
- LabelInfo.cs
- IgnoreFlushAndCloseStream.cs
- DeferredRunTextReference.cs
- ValidationSummary.cs
- GridViewItemAutomationPeer.cs
- ProgressBarRenderer.cs
- ObjectSet.cs
- WebRequestModuleElementCollection.cs
- WebRequest.cs
- StringResourceManager.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ArrayWithOffset.cs
- TextAutomationPeer.cs
- SHA256Managed.cs
- ParseNumbers.cs
- GlobalizationAssembly.cs
- EditorZone.cs
- WsatServiceAddress.cs
- FactoryMaker.cs
- RichTextBoxDesigner.cs
- DataServiceQuery.cs
- ResourcesChangeInfo.cs
- PasswordPropertyTextAttribute.cs
- loginstatus.cs
- GridItemPattern.cs
- NotifyCollectionChangedEventArgs.cs
- CheckStoreFileValidityRequest.cs
- FacetValues.cs
- SqlHelper.cs
- DbReferenceCollection.cs
- HwndSubclass.cs
- HttpServerVarsCollection.cs
- LineUtil.cs
- FileStream.cs
- XmlSchemaSimpleContentRestriction.cs
- GeometryDrawing.cs
- MasterPage.cs
- EncoderBestFitFallback.cs
- TextEditorThreadLocalStore.cs
- ByteAnimation.cs
- SortAction.cs
- dbenumerator.cs
- ResourcePermissionBaseEntry.cs
- AmbientValueAttribute.cs
- SystemColorTracker.cs
- updatecommandorderer.cs
- OpenTypeLayout.cs
- Constants.cs
- LinqDataSourceDeleteEventArgs.cs
- CodeEventReferenceExpression.cs
- InputScopeNameConverter.cs
- DeferredReference.cs
- Pts.cs
- SetIterators.cs
- TransactionManager.cs
- InvokeProviderWrapper.cs
- SourceLocation.cs
- Repeater.cs
- CompiledQueryCacheEntry.cs
- QueryFunctions.cs
- AmbientProperties.cs
- HtmlInputSubmit.cs
- MetadataItemEmitter.cs
- DecryptedHeader.cs