Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / LabelEditEvent.cs / 1305376 / 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./// 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
- AlphaSortedEnumConverter.cs
- KeyEvent.cs
- _ShellExpression.cs
- PageTheme.cs
- SeverityFilter.cs
- ClientRuntimeConfig.cs
- _OverlappedAsyncResult.cs
- ReadonlyMessageFilter.cs
- CompilerWrapper.cs
- bidPrivateBase.cs
- AttributeQuery.cs
- HtmlShimManager.cs
- ViewgenContext.cs
- ClassHandlersStore.cs
- UniformGrid.cs
- FreezableOperations.cs
- CookielessData.cs
- CounterSampleCalculator.cs
- Documentation.cs
- Translator.cs
- CurrentChangingEventArgs.cs
- DictionaryEditChange.cs
- UserPreferenceChangedEventArgs.cs
- Repeater.cs
- NativeMethods.cs
- BindingsSection.cs
- CodeCommentStatement.cs
- PersistenceTypeAttribute.cs
- TabRenderer.cs
- IItemContainerGenerator.cs
- DataTableClearEvent.cs
- Collection.cs
- AspNetSynchronizationContext.cs
- Focus.cs
- TableDetailsCollection.cs
- SecurityElement.cs
- XmlDataSourceNodeDescriptor.cs
- DbProviderManifest.cs
- NativeMethods.cs
- ExistsInCollection.cs
- RadialGradientBrush.cs
- Expr.cs
- BasicKeyConstraint.cs
- SerializationTrace.cs
- safelink.cs
- DoubleStorage.cs
- Token.cs
- OdbcConnection.cs
- SqlRecordBuffer.cs
- ListViewTableCell.cs
- EventLogPermissionAttribute.cs
- RotationValidation.cs
- SectionVisual.cs
- GenerateHelper.cs
- TextViewSelectionProcessor.cs
- WebPart.cs
- ListViewItem.cs
- TextRangeBase.cs
- ApplicationTrust.cs
- Byte.cs
- TraceSource.cs
- WindowsFormsSectionHandler.cs
- Timer.cs
- XmlWrappingWriter.cs
- Selector.cs
- Input.cs
- Attributes.cs
- NameNode.cs
- ImageCodecInfoPrivate.cs
- XmlSchemaGroupRef.cs
- CfgSemanticTag.cs
- ColorTransform.cs
- TimeStampChecker.cs
- XMLSyntaxException.cs
- ToolStripRenderEventArgs.cs
- ZipArchive.cs
- DbConnectionFactory.cs
- GlyphRunDrawing.cs
- WebEventTraceProvider.cs
- SponsorHelper.cs
- UntypedNullExpression.cs
- DeferredTextReference.cs
- GlobalItem.cs
- ReverseQueryOperator.cs
- DateTimeValueSerializer.cs
- DropDownButton.cs
- StringReader.cs
- BooleanFacetDescriptionElement.cs
- DBParameter.cs
- TextStore.cs
- DataGridDetailsPresenter.cs
- CharacterBuffer.cs
- SqlException.cs
- remotingproxy.cs
- ConfigXmlWhitespace.cs
- MemoryRecordBuffer.cs
- EventSetter.cs
- AnimationLayer.cs
- ValidationHelper.cs
- XamlSerializer.cs