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
- RijndaelManagedTransform.cs
- NavigationProperty.cs
- ListDictionaryInternal.cs
- CapacityStreamGeometryContext.cs
- TagNameToTypeMapper.cs
- XmlSchemas.cs
- ConfigXmlCDataSection.cs
- WebPartMovingEventArgs.cs
- datacache.cs
- SystemUnicastIPAddressInformation.cs
- GcHandle.cs
- Pkcs7Signer.cs
- XmlSchemaAppInfo.cs
- ComboBoxAutomationPeer.cs
- JavaScriptString.cs
- IntSecurity.cs
- LinqDataSourceDisposeEventArgs.cs
- DesignerActionKeyboardBehavior.cs
- rsa.cs
- DictationGrammar.cs
- DataTableNameHandler.cs
- InkCanvasAutomationPeer.cs
- LayoutEvent.cs
- ProcessHost.cs
- MouseActionValueSerializer.cs
- UInt64Storage.cs
- SecurityTokenException.cs
- TemplateBindingExpression.cs
- RequestContext.cs
- WebServiceData.cs
- TextBoxDesigner.cs
- AccessibleObject.cs
- QueryConverter.cs
- StringResourceManager.cs
- BamlCollectionHolder.cs
- HexParser.cs
- HashCodeCombiner.cs
- TreeBuilderBamlTranslator.cs
- OracleConnection.cs
- XmlRawWriter.cs
- TdsEnums.cs
- NullRuntimeConfig.cs
- FixedTextView.cs
- PrintingPermissionAttribute.cs
- XmlDataSourceView.cs
- ReadOnlyObservableCollection.cs
- uribuilder.cs
- HandlerBase.cs
- PropertyNames.cs
- DurableInstanceContextProvider.cs
- ProcessHostMapPath.cs
- Win32MouseDevice.cs
- DataErrorValidationRule.cs
- HtmlElementEventArgs.cs
- XmlHierarchicalEnumerable.cs
- GifBitmapEncoder.cs
- SafeMILHandle.cs
- PermissionAttributes.cs
- AspNetHostingPermission.cs
- ColorAnimation.cs
- RegistrationServices.cs
- WindowsTooltip.cs
- HandleRef.cs
- AdRotator.cs
- TextChange.cs
- AppearanceEditorPart.cs
- EastAsianLunisolarCalendar.cs
- MarshalByRefObject.cs
- RootBuilder.cs
- ProxyWebPartManager.cs
- TcpChannelFactory.cs
- ConfigurationSettings.cs
- InvalidEnumArgumentException.cs
- _FtpDataStream.cs
- BitmapImage.cs
- TextTreeRootTextBlock.cs
- DefaultMemberAttribute.cs
- PenContext.cs
- UTF8Encoding.cs
- CodeSnippetCompileUnit.cs
- BindingExpressionBase.cs
- UdpMessageProperty.cs
- DispatcherExceptionFilterEventArgs.cs
- PreviewPageInfo.cs
- OdbcCommand.cs
- ReferentialConstraint.cs
- Effect.cs
- ClosableStream.cs
- ItemCollection.cs
- ControlUtil.cs
- CopyAction.cs
- ApplicationFileCodeDomTreeGenerator.cs
- RsaSecurityKey.cs
- AxisAngleRotation3D.cs
- RuntimeComponentFilter.cs
- MenuRendererStandards.cs
- TextComposition.cs
- EntityViewGenerator.cs
- Zone.cs
- DrawingDrawingContext.cs