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
- LocatorBase.cs
- XmlSchemaNotation.cs
- DetailsViewPagerRow.cs
- DataGridViewSelectedColumnCollection.cs
- _ContextAwareResult.cs
- WebBrowserDocumentCompletedEventHandler.cs
- ObjectDataSourceFilteringEventArgs.cs
- codemethodreferenceexpression.cs
- BoundColumn.cs
- UniformGrid.cs
- FieldNameLookup.cs
- BamlLocalizationDictionary.cs
- SymbolMethod.cs
- List.cs
- ProgressChangedEventArgs.cs
- GenerateTemporaryAssemblyTask.cs
- XmlSchemaSubstitutionGroup.cs
- NotificationContext.cs
- PrintingPermission.cs
- TextEditorThreadLocalStore.cs
- ReadOnlyTernaryTree.cs
- MissingFieldException.cs
- DiscriminatorMap.cs
- BooleanExpr.cs
- TemplateControl.cs
- Dynamic.cs
- HttpCapabilitiesSectionHandler.cs
- TextTreeDeleteContentUndoUnit.cs
- DynamicQueryableWrapper.cs
- EntitySqlQueryBuilder.cs
- ResourceManagerWrapper.cs
- DataControlButton.cs
- SystemKeyConverter.cs
- AncestorChangedEventArgs.cs
- WebBrowserUriTypeConverter.cs
- SecurityDescriptor.cs
- MenuItemStyleCollection.cs
- RectIndependentAnimationStorage.cs
- Point4D.cs
- InternalTypeHelper.cs
- SqlDependencyUtils.cs
- FilterElement.cs
- ContainerCodeDomSerializer.cs
- UpnEndpointIdentityExtension.cs
- ObjectPersistData.cs
- AndCondition.cs
- GenericTypeParameterBuilder.cs
- XmlSchemaSimpleContentExtension.cs
- WindowsToolbar.cs
- HttpRawResponse.cs
- PropertyItem.cs
- DetailsViewModeEventArgs.cs
- SafeFindHandle.cs
- ZoneButton.cs
- Gdiplus.cs
- NumberFormatter.cs
- StatusBarDrawItemEvent.cs
- DataGridTableCollection.cs
- SizeChangedInfo.cs
- DataServiceHost.cs
- Expression.cs
- SerializationHelper.cs
- EventListenerClientSide.cs
- BitmapSourceSafeMILHandle.cs
- ClientBuildManagerCallback.cs
- BaseInfoTable.cs
- ContentElementCollection.cs
- ExpressionParser.cs
- CodeTypeConstructor.cs
- UnmanagedMemoryStream.cs
- LogLogRecordHeader.cs
- XmlKeywords.cs
- NetStream.cs
- TaskDesigner.cs
- LoginViewDesigner.cs
- GraphicsPath.cs
- MenuRendererStandards.cs
- AnimatedTypeHelpers.cs
- HtmlTable.cs
- StringReader.cs
- ConfigurationSection.cs
- SqlRetyper.cs
- TypeBuilder.cs
- TimeSpanHelper.cs
- AssemblyInfo.cs
- EntityTypeEmitter.cs
- ObjectIDGenerator.cs
- AnnotationDocumentPaginator.cs
- NetCodeGroup.cs
- Content.cs
- ProcessStartInfo.cs
- Context.cs
- DataGridViewSelectedRowCollection.cs
- TableItemPattern.cs
- Pkcs9Attribute.cs
- SerializationInfoEnumerator.cs
- GeneralTransformCollection.cs
- SecurityUtils.cs
- OrderByBuilder.cs
- RequestCache.cs