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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DiscoveryDocumentSerializer.cs
- ActivityBindForm.Designer.cs
- TextSearch.cs
- DesignerVerbCollection.cs
- XhtmlBasicValidatorAdapter.cs
- CommonRemoteMemoryBlock.cs
- RoleServiceManager.cs
- IERequestCache.cs
- UpdateDelegates.Generated.cs
- InvariantComparer.cs
- CheckBoxFlatAdapter.cs
- IconConverter.cs
- WebServiceBindingAttribute.cs
- OpCellTreeNode.cs
- HttpCacheParams.cs
- SourceChangedEventArgs.cs
- PcmConverter.cs
- PatternMatcher.cs
- DataGridViewRowsAddedEventArgs.cs
- TextViewBase.cs
- BindUriHelper.cs
- ButtonBaseAdapter.cs
- SuspendDesigner.cs
- WsatAdminException.cs
- SafeFileMappingHandle.cs
- UIElement.cs
- QueryAccessibilityHelpEvent.cs
- MenuItemStyleCollection.cs
- FixedLineResult.cs
- WebPartDisplayModeCollection.cs
- DbDataRecord.cs
- LinkLabel.cs
- TreeNodeEventArgs.cs
- followingquery.cs
- AppSettingsExpressionBuilder.cs
- HtmlHead.cs
- BinaryQueryOperator.cs
- WebPartCloseVerb.cs
- GenerateTemporaryTargetAssembly.cs
- EntityDataSourceReferenceGroup.cs
- OpCopier.cs
- SqlServer2KCompatibilityAnnotation.cs
- ValidationRuleCollection.cs
- TabItemWrapperAutomationPeer.cs
- ConfigXmlAttribute.cs
- SingleTagSectionHandler.cs
- WebPartTransformerCollection.cs
- EntityDataSourceContextCreatedEventArgs.cs
- References.cs
- MsmqUri.cs
- _ConnectStream.cs
- SerializationSectionGroup.cs
- HtmlControl.cs
- PopupControlService.cs
- Tokenizer.cs
- MetaForeignKeyColumn.cs
- WebPartChrome.cs
- CaseExpr.cs
- WhitespaceRuleLookup.cs
- ControlPager.cs
- ListBindableAttribute.cs
- DataGridViewAccessibleObject.cs
- GenericTransactionFlowAttribute.cs
- ResourceProviderFactory.cs
- TextProviderWrapper.cs
- PanelStyle.cs
- WsdlBuildProvider.cs
- CounterSetInstanceCounterDataSet.cs
- SizeValueSerializer.cs
- SessionMode.cs
- FontDifferentiator.cs
- TypeHelpers.cs
- followingsibling.cs
- OleDbRowUpdatedEvent.cs
- Int32Collection.cs
- AnyAllSearchOperator.cs
- DiagnosticsConfiguration.cs
- StretchValidation.cs
- KeyConstraint.cs
- RectangleHotSpot.cs
- DataGrid.cs
- Variant.cs
- ClientUtils.cs
- TextCollapsingProperties.cs
- TreeNodeBinding.cs
- BindingUtils.cs
- TabRenderer.cs
- UriSectionReader.cs
- DataSpaceManager.cs
- Geometry3D.cs
- AutoGeneratedField.cs
- Array.cs
- SystemResourceHost.cs
- InheritedPropertyChangedEventArgs.cs
- PropagatorResult.cs
- AssertSection.cs
- ScriptingRoleServiceSection.cs
- ToolStripControlHost.cs
- SQLBytesStorage.cs
- ForeignKeyConstraint.cs