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
- IsolatedStorageFile.cs
- Timeline.cs
- ContextInformation.cs
- BaseDataBoundControl.cs
- ListSortDescription.cs
- HighContrastHelper.cs
- SafeNativeMethods.cs
- AssemblyAttributesGoHere.cs
- Rfc2898DeriveBytes.cs
- ProfileEventArgs.cs
- SortedDictionary.cs
- InsufficientMemoryException.cs
- ByteAnimationBase.cs
- XmlExpressionDumper.cs
- HttpHostedTransportConfiguration.cs
- Panel.cs
- TemplateEditingVerb.cs
- Ops.cs
- HtmlMeta.cs
- CommonProperties.cs
- ElementHostAutomationPeer.cs
- ConfigurationConverterBase.cs
- RealProxy.cs
- AspProxy.cs
- EntitySqlException.cs
- CanonicalXml.cs
- DataBindEngine.cs
- LiteralDesigner.cs
- DefaultMergeHelper.cs
- BuildResult.cs
- IdentityManager.cs
- ClrProviderManifest.cs
- CalendarTable.cs
- ActivationServices.cs
- ReadOnlyCollection.cs
- xmlsaver.cs
- DebugHandleTracker.cs
- X509ChainPolicy.cs
- RedistVersionInfo.cs
- BinaryNode.cs
- SqlNode.cs
- HttpListenerRequestUriBuilder.cs
- SqlProfileProvider.cs
- HtmlLabelAdapter.cs
- ToolStripLabel.cs
- EdmToObjectNamespaceMap.cs
- ConfigXmlSignificantWhitespace.cs
- KeyEventArgs.cs
- UIElementIsland.cs
- InternalTransaction.cs
- Clipboard.cs
- MenuItem.cs
- BufferAllocator.cs
- BaseParagraph.cs
- ComplexBindingPropertiesAttribute.cs
- SqlGatherProducedAliases.cs
- WebRequestModuleElementCollection.cs
- BuildResultCache.cs
- ProcessModelInfo.cs
- Dump.cs
- Atom10FeedFormatter.cs
- BamlResourceContent.cs
- CodeSpit.cs
- WebGetAttribute.cs
- MetadataWorkspace.cs
- ZipIOCentralDirectoryBlock.cs
- TableStyle.cs
- BitmapEffectDrawing.cs
- DictionarySectionHandler.cs
- PartitionResolver.cs
- ConnectionDemuxer.cs
- Repeater.cs
- ListControlBuilder.cs
- RecipientInfo.cs
- BaseTemplateCodeDomTreeGenerator.cs
- ImageMap.cs
- XmlILOptimizerVisitor.cs
- WindowsPen.cs
- DrawingImage.cs
- jithelpers.cs
- CodeTypeDeclarationCollection.cs
- EventSetter.cs
- BitArray.cs
- DataPointer.cs
- CommonObjectSecurity.cs
- BCLDebug.cs
- IncrementalCompileAnalyzer.cs
- SingleStorage.cs
- HtmlInputText.cs
- input.cs
- DataBindingCollection.cs
- MultiByteCodec.cs
- keycontainerpermission.cs
- UpdatePanelControlTrigger.cs
- Int32Storage.cs
- SiteMapProvider.cs
- XPathScanner.cs
- HttpCapabilitiesSectionHandler.cs
- ContentElement.cs
- QueryTaskGroupState.cs