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
- SchemaSetCompiler.cs
- TableLayoutStyleCollection.cs
- SqlCaseSimplifier.cs
- SecurityHeaderLayout.cs
- DataRowChangeEvent.cs
- ParameterReplacerVisitor.cs
- CodeCompileUnit.cs
- BuildManager.cs
- GPPOINTF.cs
- CorrelationKeyCalculator.cs
- PersonalizationDictionary.cs
- ButtonFlatAdapter.cs
- ProviderConnectionPointCollection.cs
- MouseWheelEventArgs.cs
- DbUpdateCommandTree.cs
- ButtonBaseDesigner.cs
- StandardRuntimeEnumValidatorAttribute.cs
- LoadedOrUnloadedOperation.cs
- QuaternionRotation3D.cs
- Itemizer.cs
- WorkflowQueuingService.cs
- rsa.cs
- FrugalMap.cs
- ListDesigner.cs
- SvcMapFileSerializer.cs
- SafeHandles.cs
- PostBackOptions.cs
- SystemSounds.cs
- FontEmbeddingManager.cs
- CollectionConverter.cs
- DependencyPropertyValueSerializer.cs
- DependencyObjectProvider.cs
- StrokeNodeEnumerator.cs
- DataGridViewTextBoxEditingControl.cs
- _NetRes.cs
- XmlParserContext.cs
- OraclePermissionAttribute.cs
- ReferentialConstraint.cs
- WebServiceResponseDesigner.cs
- HttpProfileBase.cs
- ToolboxComponentsCreatedEventArgs.cs
- TextSelectionProcessor.cs
- MemoryPressure.cs
- ActiveXSite.cs
- Math.cs
- QuotedPrintableStream.cs
- SamlAuthorizationDecisionClaimResource.cs
- SchemaDeclBase.cs
- ProviderConnectionPointCollection.cs
- Hyperlink.cs
- GPRECT.cs
- KerberosSecurityTokenAuthenticator.cs
- BaseTemplateBuildProvider.cs
- PagerSettings.cs
- DbConnectionFactory.cs
- DataListItemEventArgs.cs
- XmlMtomWriter.cs
- BlurEffect.cs
- ReachFixedPageSerializer.cs
- XPathSelectionIterator.cs
- ToolStripControlHost.cs
- ListBindingHelper.cs
- StreamWriter.cs
- WinEventHandler.cs
- MenuEventArgs.cs
- CodeDomLoader.cs
- Int32KeyFrameCollection.cs
- CommandID.cs
- fixedPageContentExtractor.cs
- DbTransaction.cs
- ADMembershipUser.cs
- Int64.cs
- MailMessage.cs
- StylusPointPropertyInfoDefaults.cs
- DefaultValueTypeConverter.cs
- ArraySegment.cs
- AppDomainShutdownMonitor.cs
- RoleService.cs
- NavigationCommands.cs
- DocComment.cs
- TemplateField.cs
- ProgressiveCrcCalculatingStream.cs
- ModelItemCollectionImpl.cs
- ColorContext.cs
- FragmentQueryKB.cs
- ComponentGuaranteesAttribute.cs
- TypeEnumerableViewSchema.cs
- SyntaxCheck.cs
- Vector3DKeyFrameCollection.cs
- Schema.cs
- WindowsListViewItemStartMenu.cs
- Partitioner.cs
- XmlSchemaValidationException.cs
- PerspectiveCamera.cs
- SecurityStandardsManager.cs
- Rule.cs
- SingleTagSectionHandler.cs
- TabControlEvent.cs
- ErasingStroke.cs
- TextDecoration.cs