Code:
/ FX-1434 / FX-1434 / 1.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
- WebPartVerb.cs
- LinqDataSourceInsertEventArgs.cs
- AudioFormatConverter.cs
- EngineSite.cs
- IApplicationTrustManager.cs
- CompilerCollection.cs
- HttpHandlersSection.cs
- DateTimeUtil.cs
- EditingCommands.cs
- XmlKeywords.cs
- followingquery.cs
- LocalizationParserHooks.cs
- FrameworkRichTextComposition.cs
- LabelDesigner.cs
- XmlAttributes.cs
- AnimatedTypeHelpers.cs
- ClientTargetCollection.cs
- Shape.cs
- BitmapScalingModeValidation.cs
- DocumentXmlWriter.cs
- AssociationSetMetadata.cs
- TraceListener.cs
- FrameworkElementAutomationPeer.cs
- NameValueCollection.cs
- XPathDocumentNavigator.cs
- AdRotator.cs
- SecurityContext.cs
- ValidatingReaderNodeData.cs
- Matrix3D.cs
- SQLDouble.cs
- XPathItem.cs
- ZipIORawDataFileBlock.cs
- CustomLineCap.cs
- RangeBase.cs
- QualificationDataAttribute.cs
- NamedPermissionSet.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- StrongNamePublicKeyBlob.cs
- ValueQuery.cs
- StyleTypedPropertyAttribute.cs
- OwnerDrawPropertyBag.cs
- GeneratedCodeAttribute.cs
- ApplicationSecurityInfo.cs
- WebPartMenuStyle.cs
- FloatAverageAggregationOperator.cs
- CapabilitiesAssignment.cs
- EntryIndex.cs
- NotifyParentPropertyAttribute.cs
- UnsafeNativeMethods.cs
- _NegoState.cs
- ThreadExceptionEvent.cs
- MenuItem.cs
- SecurityContext.cs
- LinkButton.cs
- CellPartitioner.cs
- StateDesigner.TransitionInfo.cs
- QilStrConcatenator.cs
- XamlToRtfParser.cs
- GridView.cs
- FormsAuthenticationUserCollection.cs
- NativeMethods.cs
- Encoding.cs
- SqlTypeSystemProvider.cs
- TypedDatasetGenerator.cs
- ClientUtils.cs
- StatusBarItem.cs
- TextDecorationUnitValidation.cs
- XmlWriterTraceListener.cs
- HwndStylusInputProvider.cs
- ApplicationException.cs
- TreeNodeEventArgs.cs
- FlowDocumentReaderAutomationPeer.cs
- _BaseOverlappedAsyncResult.cs
- EmptyStringExpandableObjectConverter.cs
- Polygon.cs
- HitTestDrawingContextWalker.cs
- MapPathBasedVirtualPathProvider.cs
- ChameleonKey.cs
- BoundColumn.cs
- Context.cs
- InputLanguage.cs
- ExceptQueryOperator.cs
- DrawingCollection.cs
- RegexGroupCollection.cs
- FileAccessException.cs
- XmlUrlEditor.cs
- ConfigDefinitionUpdates.cs
- EnumConverter.cs
- PolicyException.cs
- OperationDescription.cs
- WorkItem.cs
- WinHttpWebProxyFinder.cs
- ListViewCancelEventArgs.cs
- PackageDigitalSignatureManager.cs
- DictionarySectionHandler.cs
- DoubleConverter.cs
- X509Utils.cs
- InputLanguageProfileNotifySink.cs
- SafeEventLogWriteHandle.cs
- FileSystemEventArgs.cs