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
- LinqToSqlWrapper.cs
- CompilationUnit.cs
- XamlGridLengthSerializer.cs
- DbParameterCollectionHelper.cs
- XmlObjectSerializerReadContextComplexJson.cs
- BitmapCache.cs
- DrawTreeNodeEventArgs.cs
- IdleTimeoutMonitor.cs
- StringValidator.cs
- ProfileSettings.cs
- Model3DCollection.cs
- StateBag.cs
- SuppressIldasmAttribute.cs
- AQNBuilder.cs
- FtpWebResponse.cs
- WinFormsComponentEditor.cs
- MD5.cs
- SizeAnimationUsingKeyFrames.cs
- PowerStatus.cs
- Visual3DCollection.cs
- VirtualPath.cs
- x509utils.cs
- CfgParser.cs
- EditorAttribute.cs
- WindowsGraphics2.cs
- XmlSiteMapProvider.cs
- ResourceIDHelper.cs
- NavigationCommands.cs
- DataGridHyperlinkColumn.cs
- Helpers.cs
- WindowExtensionMethods.cs
- ProviderMetadata.cs
- BuildManager.cs
- PasswordBox.cs
- ObjectDataSourceEventArgs.cs
- CodeMemberField.cs
- ZipPackage.cs
- SettingsPropertyWrongTypeException.cs
- UnsafeNetInfoNativeMethods.cs
- Select.cs
- NumberFunctions.cs
- Subset.cs
- ClientUtils.cs
- Marshal.cs
- SqlDelegatedTransaction.cs
- XmlWhitespace.cs
- FormViewModeEventArgs.cs
- IgnoreFileBuildProvider.cs
- NamespaceList.cs
- OpenTypeCommon.cs
- ElementsClipboardData.cs
- DependencyObjectCodeDomSerializer.cs
- NameObjectCollectionBase.cs
- HtmlInputFile.cs
- SqlParameter.cs
- WebPartZoneBase.cs
- ClickablePoint.cs
- XmlSubtreeReader.cs
- PropertyPanel.cs
- ModelPropertyImpl.cs
- DragStartedEventArgs.cs
- SqlClientFactory.cs
- SafeNativeMethods.cs
- HandlerMappingMemo.cs
- RequestCacheManager.cs
- ReflectionUtil.cs
- Selector.cs
- BitmapImage.cs
- WebBrowser.cs
- BinaryParser.cs
- ListViewItem.cs
- ProcessManager.cs
- ApplicationDirectory.cs
- DrawListViewSubItemEventArgs.cs
- IndexerNameAttribute.cs
- AudioFormatConverter.cs
- HandleExceptionArgs.cs
- TextParaLineResult.cs
- TextStore.cs
- TreeWalker.cs
- Bold.cs
- ConstraintStruct.cs
- DataGridViewHeaderCell.cs
- ServiceMetadataContractBehavior.cs
- PrintDialogDesigner.cs
- ContentOperations.cs
- UserPreference.cs
- BrowserCapabilitiesFactory35.cs
- WindowsFont.cs
- Trace.cs
- LinqDataSource.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- WebPartDisplayModeEventArgs.cs
- ColumnResizeAdorner.cs
- Model3DGroup.cs
- ProtocolsConfigurationEntry.cs
- PresentationSource.cs
- TableLayoutColumnStyleCollection.cs
- ByteStorage.cs
- ToolStripHighContrastRenderer.cs