Code:
/ FX-1434 / FX-1434 / 1.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
- VisualStyleInformation.cs
- FontWeights.cs
- UnsafeNativeMethods.cs
- HtmlTable.cs
- TagMapCollection.cs
- CryptoProvider.cs
- DataControlHelper.cs
- ClientTargetSection.cs
- AdornedElementPlaceholder.cs
- ReaderWriterLockWrapper.cs
- EditorZone.cs
- StrokeNodeData.cs
- SymLanguageType.cs
- ArrayConverter.cs
- MbpInfo.cs
- DataGridViewCellStateChangedEventArgs.cs
- SHA1Managed.cs
- RegexParser.cs
- ModelPerspective.cs
- ClientSettings.cs
- ScriptIgnoreAttribute.cs
- LambdaCompiler.Lambda.cs
- SequenceDesignerAccessibleObject.cs
- ContextMenuStripGroup.cs
- TextLineResult.cs
- PersonalizableAttribute.cs
- SafeRegistryKey.cs
- SaveFileDialog.cs
- Soap11ServerProtocol.cs
- SinglePageViewer.cs
- SizeFConverter.cs
- EntitySetBaseCollection.cs
- XPathMultyIterator.cs
- AutomationPatternInfo.cs
- ConfigurationLocationCollection.cs
- FullTrustAssembly.cs
- FilterableData.cs
- ServiceModelEnhancedConfigurationElementCollection.cs
- mactripleDES.cs
- DecoderNLS.cs
- assemblycache.cs
- RSACryptoServiceProvider.cs
- ButtonChrome.cs
- StrokeSerializer.cs
- InvalidOperationException.cs
- StrokeCollectionDefaultValueFactory.cs
- ControlPropertyNameConverter.cs
- EdmProperty.cs
- AspProxy.cs
- ContextInformation.cs
- UIPermission.cs
- DeflateEmulationStream.cs
- XmlSchemaAnnotation.cs
- DllNotFoundException.cs
- ValueProviderWrapper.cs
- Wildcard.cs
- RealizationDrawingContextWalker.cs
- ProgressChangedEventArgs.cs
- ManifestSignedXml.cs
- RequestContext.cs
- XPathNodeHelper.cs
- EntityDataSourceValidationException.cs
- ProfileInfo.cs
- WebPartCancelEventArgs.cs
- DataGridTable.cs
- DataGridViewCheckBoxColumn.cs
- ComplexLine.cs
- SqlParameterCollection.cs
- ContentTextAutomationPeer.cs
- PropertyIdentifier.cs
- TimeoutTimer.cs
- CollectionContainer.cs
- DescendantBaseQuery.cs
- StackBuilderSink.cs
- ReadOnlyCollectionBase.cs
- ScrollData.cs
- TimeSpanConverter.cs
- FontResourceCache.cs
- NavigationPropertyEmitter.cs
- DefaultPropertyAttribute.cs
- Viewport3DVisual.cs
- GorillaCodec.cs
- WebPartDescriptionCollection.cs
- DeclaredTypeValidatorAttribute.cs
- UnsafeNativeMethods.cs
- VisualBrush.cs
- StatusBarItemAutomationPeer.cs
- PersistenceTypeAttribute.cs
- WaveHeader.cs
- ResourceContainer.cs
- RC2CryptoServiceProvider.cs
- CharStorage.cs
- CaseInsensitiveComparer.cs
- RayMeshGeometry3DHitTestResult.cs
- BasicCellRelation.cs
- Condition.cs
- MobileComponentEditorPage.cs
- MSAAWinEventWrap.cs
- MetadataArtifactLoaderFile.cs
- TypeUsageBuilder.cs