Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / LabelEditEvent.cs / 1 / 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. // Copyright (c) Microsoft Corporation. All rights reserved./// 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
- XmlSchema.cs
- GroupBoxDesigner.cs
- DataGridState.cs
- RepeaterItemCollection.cs
- WmlLinkAdapter.cs
- httpapplicationstate.cs
- LocatorBase.cs
- MemoryStream.cs
- RijndaelManagedTransform.cs
- Vector3DCollection.cs
- UpdateEventArgs.cs
- OutputCacheSettings.cs
- LinkedList.cs
- StartUpEventArgs.cs
- XmlReturnWriter.cs
- TransactionalPackage.cs
- DocumentsTrace.cs
- ComplusTypeValidator.cs
- ResourcesBuildProvider.cs
- XmlValidatingReaderImpl.cs
- CompilerErrorCollection.cs
- CookieParameter.cs
- TextRange.cs
- JpegBitmapDecoder.cs
- ResourceExpressionBuilder.cs
- DataGridViewHitTestInfo.cs
- ColumnWidthChangingEvent.cs
- XmlEncoding.cs
- InvalidOperationException.cs
- UnitySerializationHolder.cs
- COM2IProvidePropertyBuilderHandler.cs
- CodeExpressionCollection.cs
- ThreadPoolTaskScheduler.cs
- TeredoHelper.cs
- SelectionGlyphBase.cs
- SamlDelegatingWriter.cs
- DoubleAnimationUsingKeyFrames.cs
- DiscoveryDocumentReference.cs
- XmlSchemaSequence.cs
- TextRange.cs
- AdRotator.cs
- QueryRelOp.cs
- HostingEnvironmentSection.cs
- ZoneLinkButton.cs
- SafeUserTokenHandle.cs
- StrongBox.cs
- ExpressionBuilder.cs
- AppManager.cs
- OleDbReferenceCollection.cs
- XmlSchemaAppInfo.cs
- Int32.cs
- XmlCollation.cs
- EmptyElement.cs
- ByteAnimationBase.cs
- EntityDataSourceMemberPath.cs
- XsltOutput.cs
- AlphaSortedEnumConverter.cs
- WebServiceAttribute.cs
- AppDomainInstanceProvider.cs
- ProviderIncompatibleException.cs
- DbParameterHelper.cs
- OptimalTextSource.cs
- CategoryAttribute.cs
- PenThread.cs
- PointLightBase.cs
- CustomLineCap.cs
- AutoGeneratedFieldProperties.cs
- NavigateUrlConverter.cs
- RegexStringValidatorAttribute.cs
- EventLogPermissionAttribute.cs
- EventLogger.cs
- SystemMulticastIPAddressInformation.cs
- BulletDecorator.cs
- StorageMappingItemLoader.cs
- DbConnectionPoolCounters.cs
- Column.cs
- ObservableDictionary.cs
- BaseResourcesBuildProvider.cs
- ProviderCollection.cs
- MediaTimeline.cs
- SqlRowUpdatedEvent.cs
- MdImport.cs
- ListView.cs
- TextEditorDragDrop.cs
- xamlnodes.cs
- SelectingProviderEventArgs.cs
- TripleDESCryptoServiceProvider.cs
- GroupDescription.cs
- HttpRequestTraceRecord.cs
- PropertyValueChangedEvent.cs
- OperationAbortedException.cs
- BooleanKeyFrameCollection.cs
- WmlValidatorAdapter.cs
- GetWinFXPath.cs
- TemplateBamlRecordReader.cs
- Route.cs
- HttpResponseInternalWrapper.cs
- BlobPersonalizationState.cs
- EdmComplexTypeAttribute.cs
- SiteMapNode.cs