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
- GenericEnumerator.cs
- AssignDesigner.xaml.cs
- HierarchicalDataBoundControl.cs
- ParserContext.cs
- XNodeNavigator.cs
- HttpWriter.cs
- DetailsViewUpdateEventArgs.cs
- ToolboxControl.cs
- SQLBinaryStorage.cs
- AdornerPresentationContext.cs
- SafePEFileHandle.cs
- ValidatorCollection.cs
- ActiveXContainer.cs
- ResourceManagerWrapper.cs
- documentsequencetextpointer.cs
- MethodBuilderInstantiation.cs
- ViewPort3D.cs
- Model3D.cs
- HitTestParameters3D.cs
- arabicshape.cs
- Margins.cs
- RegistrationProxy.cs
- Rijndael.cs
- IdentityManager.cs
- ScrollProviderWrapper.cs
- BrowserCapabilitiesFactory.cs
- Italic.cs
- CardSpacePolicyElement.cs
- XmlParser.cs
- FormatterServices.cs
- StringSorter.cs
- ElementProxy.cs
- HttpServerUtilityWrapper.cs
- ThreadStartException.cs
- WmiInstallComponent.cs
- TerminateWorkflow.cs
- loginstatus.cs
- EventManager.cs
- DnsEndPoint.cs
- SafeNativeMethods.cs
- SqlRecordBuffer.cs
- RelatedCurrencyManager.cs
- ThreadExceptionEvent.cs
- SQLInt32.cs
- StreamGeometry.cs
- TimeoutValidationAttribute.cs
- SafeNativeMethods.cs
- StrokeSerializer.cs
- CompressedStack.cs
- itemelement.cs
- EDesignUtil.cs
- LoginCancelEventArgs.cs
- KeyedHashAlgorithm.cs
- InkCanvasFeedbackAdorner.cs
- DesignParameter.cs
- FontFaceLayoutInfo.cs
- InputLangChangeRequestEvent.cs
- SlipBehavior.cs
- ToolStripDropDownClosedEventArgs.cs
- ResourceExpressionBuilder.cs
- RSAPKCS1SignatureFormatter.cs
- InheritedPropertyDescriptor.cs
- TCPClient.cs
- DataGridHeaderBorder.cs
- HyperlinkAutomationPeer.cs
- OLEDB_Enum.cs
- SafeTimerHandle.cs
- TCPListener.cs
- XmlArrayItemAttribute.cs
- WebPartDisplayMode.cs
- IRCollection.cs
- ExtendedProperty.cs
- XamlTemplateSerializer.cs
- HttpContextWrapper.cs
- MetadataCollection.cs
- EventRouteFactory.cs
- DbConnectionPoolGroupProviderInfo.cs
- FormViewDeletedEventArgs.cs
- DescendantBaseQuery.cs
- BaseUriHelper.cs
- ImageFormat.cs
- QueryCacheManager.cs
- XamlSerializerUtil.cs
- BidOverLoads.cs
- _Connection.cs
- XmlSchemaType.cs
- ManagementEventArgs.cs
- HebrewNumber.cs
- ToolStripActionList.cs
- Util.cs
- InsufficientExecutionStackException.cs
- TypefaceMap.cs
- BlurBitmapEffect.cs
- EventData.cs
- BuildProvider.cs
- __ComObject.cs
- DataMember.cs
- Parameter.cs
- RawStylusInputCustomData.cs
- WebPartConnection.cs