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
- BinaryObjectWriter.cs
- GPRECT.cs
- CodeNamespace.cs
- LexicalChunk.cs
- BitmapEffectGroup.cs
- SR.cs
- WebPageTraceListener.cs
- WeakReference.cs
- Socket.cs
- ToolCreatedEventArgs.cs
- AutomationElementCollection.cs
- _HelperAsyncResults.cs
- Maps.cs
- VisualProxy.cs
- PerspectiveCamera.cs
- DATA_BLOB.cs
- AnimatedTypeHelpers.cs
- ImageButton.cs
- EUCJPEncoding.cs
- ZipFileInfo.cs
- Timer.cs
- InvalidComObjectException.cs
- TreeViewHitTestInfo.cs
- PromptStyle.cs
- SmiMetaData.cs
- FreezableOperations.cs
- ListParagraph.cs
- MappedMetaModel.cs
- x509utils.cs
- ITextView.cs
- ObjectQueryState.cs
- HtmlElementCollection.cs
- ToolStripSplitStackLayout.cs
- FilterEventArgs.cs
- Transform3D.cs
- RelatedImageListAttribute.cs
- PointUtil.cs
- UrlPath.cs
- Int16Animation.cs
- TableLayoutPanelCodeDomSerializer.cs
- Int16AnimationUsingKeyFrames.cs
- CodeThrowExceptionStatement.cs
- MoveSizeWinEventHandler.cs
- CodeDOMProvider.cs
- OneOfElement.cs
- ModuleElement.cs
- Typography.cs
- PipelineComponent.cs
- WebRequestModuleElementCollection.cs
- SemanticAnalyzer.cs
- DataGridLinkButton.cs
- ToolStripScrollButton.cs
- AttributeTable.cs
- EntityViewGenerator.cs
- ScriptHandlerFactory.cs
- Atom10ItemFormatter.cs
- RightNameExpirationInfoPair.cs
- WebPart.cs
- TypeContext.cs
- ProcessModuleCollection.cs
- PerformanceCounterCategory.cs
- UnmanagedHandle.cs
- BaseComponentEditor.cs
- TableLayoutRowStyleCollection.cs
- DTCTransactionManager.cs
- Margins.cs
- PkcsUtils.cs
- OwnerDrawPropertyBag.cs
- ListBase.cs
- XamlDebuggerXmlReader.cs
- MimeTypeMapper.cs
- MultipleViewProviderWrapper.cs
- FrameDimension.cs
- ViewGenerator.cs
- Clock.cs
- PointCollectionConverter.cs
- RequiredAttributeAttribute.cs
- ClickablePoint.cs
- UriTemplateLiteralQueryValue.cs
- MapPathBasedVirtualPathProvider.cs
- BamlRecordReader.cs
- SqlDataSourceConfigureFilterForm.cs
- XamlFigureLengthSerializer.cs
- WebProxyScriptElement.cs
- InstancePersistenceEvent.cs
- iisPickupDirectory.cs
- ModifiableIteratorCollection.cs
- DomainConstraint.cs
- ScrollChangedEventArgs.cs
- Material.cs
- TreePrinter.cs
- CodeGenerator.cs
- RecordConverter.cs
- XmlMtomWriter.cs
- Component.cs
- HostingEnvironmentSection.cs
- WebPartVerbsEventArgs.cs
- EventDescriptorCollection.cs
- PropertyEmitterBase.cs
- TextTreeNode.cs