Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / LabelEditEvent.cs / 1305376 / LabelEditEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Diagnostics; using System; using System.ComponentModel; using System.Drawing; using Microsoft.Win32; ////// /// public class LabelEditEventArgs : EventArgs { private readonly string label; private readonly int item; private bool cancelEdit = false; ////// Provides data for the ///event. /// /// /// public LabelEditEventArgs(int item) { this.item = item; this.label = null; } ////// Initializes a new instance /// of the ///class with the specified /// index to the to edit. /// /// /// public LabelEditEventArgs(int item, string label) { this.item = item; this.label = label; } ////// Initializes a new instance /// of the ///class with the specified index to the being /// edited and the new text for the label of the . /// /// /// public string Label { get { return label; } } ////// Gets the new text assigned to the label of the ///. /// /// /// public int Item { get { return item; } } ////// Gets the zero-based index of the ///containing the label to /// edit. /// /// /// public bool CancelEdit { get { return cancelEdit; } set { cancelEdit = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets a value indicating whether changes made to the label of /// the ///should be canceled. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridViewCellCollection.cs
- XmlSchemaObjectTable.cs
- ImageListUtils.cs
- Int64KeyFrameCollection.cs
- RectAnimationClockResource.cs
- XmlHierarchicalEnumerable.cs
- PageFunction.cs
- AppearanceEditorPart.cs
- WindowAutomationPeer.cs
- RuntimeHelpers.cs
- DataSetViewSchema.cs
- EntityContainer.cs
- XPathAncestorQuery.cs
- StateManagedCollection.cs
- RunInstallerAttribute.cs
- SortQuery.cs
- SecurityTokenTypes.cs
- SrgsText.cs
- ImpersonateTokenRef.cs
- XmlSchemaValidator.cs
- DbReferenceCollection.cs
- OdbcConnectionHandle.cs
- SiteMapHierarchicalDataSourceView.cs
- PackageRelationshipSelector.cs
- ProfileParameter.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- validation.cs
- DashStyle.cs
- RenamedEventArgs.cs
- SynchronizationValidator.cs
- EtwTrace.cs
- ZipIOExtraFieldElement.cs
- ContentPosition.cs
- DataServiceQueryProvider.cs
- SoapFaultCodes.cs
- SqlVersion.cs
- GlyphTypeface.cs
- CaseInsensitiveComparer.cs
- WebHttpElement.cs
- ElasticEase.cs
- LogEntrySerialization.cs
- WebPartsPersonalization.cs
- TrustSection.cs
- Msec.cs
- FrugalList.cs
- SignatureDescription.cs
- DbProviderFactories.cs
- TextProperties.cs
- Visual3DCollection.cs
- AvTraceFormat.cs
- ReadOnlyCollection.cs
- PageSettings.cs
- XsltLibrary.cs
- Zone.cs
- PageCache.cs
- DataControlPagerLinkButton.cs
- SubstitutionList.cs
- SetIndexBinder.cs
- TransformCollection.cs
- MediaScriptCommandRoutedEventArgs.cs
- HelpKeywordAttribute.cs
- Point3DAnimationBase.cs
- DataContractSerializerSection.cs
- DocumentNUp.cs
- LongValidator.cs
- PaperSource.cs
- AnchoredBlock.cs
- ExclusiveCanonicalizationTransform.cs
- SessionStateUtil.cs
- Graphics.cs
- CultureInfoConverter.cs
- ViewStateModeByIdAttribute.cs
- ConvertTextFrag.cs
- Translator.cs
- PropertyEmitter.cs
- DataSetUtil.cs
- CustomCategoryAttribute.cs
- MultiSelector.cs
- PreservationFileWriter.cs
- ErrorRuntimeConfig.cs
- MutexSecurity.cs
- ToolboxComponentsCreatingEventArgs.cs
- UxThemeWrapper.cs
- DiagnosticsConfiguration.cs
- SaveWorkflowCommand.cs
- XamlHttpHandlerFactory.cs
- RelationshipNavigation.cs
- CancellationHandler.cs
- FileUpload.cs
- ProtocolReflector.cs
- SslSecurityTokenParameters.cs
- NameNode.cs
- TransactionWaitAsyncResult.cs
- ProcessHostMapPath.cs
- InputBindingCollection.cs
- IntPtr.cs
- InvalidEnumArgumentException.cs
- KnownBoxes.cs
- DescendentsWalkerBase.cs
- FlatButtonAppearance.cs