Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. //------------------------------------------------------------------------------ ///// Gets or sets a value indicating whether changes made to the label of /// the ///should be canceled. /// // 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
![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
- SemaphoreSlim.cs
- SecUtil.cs
- ClientBuildManagerCallback.cs
- TypeEnumerableViewSchema.cs
- CipherData.cs
- DependsOnAttribute.cs
- DataGridViewCellMouseEventArgs.cs
- Pair.cs
- FixedFlowMap.cs
- AsyncOperationContext.cs
- WaitHandleCannotBeOpenedException.cs
- CompilationUtil.cs
- RelatedImageListAttribute.cs
- ViewUtilities.cs
- ConstraintStruct.cs
- HtmlHead.cs
- GridItemPattern.cs
- OdbcConnectionPoolProviderInfo.cs
- PerfCounterSection.cs
- SystemTcpConnection.cs
- EpmTargetTree.cs
- TaiwanCalendar.cs
- Timer.cs
- ECDiffieHellman.cs
- RelationshipConverter.cs
- PointHitTestResult.cs
- ChangeProcessor.cs
- ToolStripContainer.cs
- JsonEnumDataContract.cs
- DelegatingTypeDescriptionProvider.cs
- SystemThemeKey.cs
- DesignerResources.cs
- MailDefinition.cs
- Expander.cs
- StrokeCollectionDefaultValueFactory.cs
- ConnectionPoint.cs
- ThumbAutomationPeer.cs
- AppDomainAttributes.cs
- UdpSocketReceiveManager.cs
- DecoderReplacementFallback.cs
- XmlSortKey.cs
- XslAstAnalyzer.cs
- HostingEnvironmentWrapper.cs
- ScriptingSectionGroup.cs
- TaiwanCalendar.cs
- X509CertificateChain.cs
- mansign.cs
- RepeatBehavior.cs
- TcpChannelListener.cs
- SmtpMail.cs
- XmlNamespaceDeclarationsAttribute.cs
- _Win32.cs
- TableLayoutRowStyleCollection.cs
- Stylus.cs
- UpDownEvent.cs
- ExpressionPrinter.cs
- NavigationProperty.cs
- MouseButtonEventArgs.cs
- ListItemCollection.cs
- DesignerOptions.cs
- DoubleConverter.cs
- CustomCategoryAttribute.cs
- Ticks.cs
- FileDataSourceCache.cs
- Codec.cs
- XmlDataDocument.cs
- XmlArrayItemAttributes.cs
- SqlGatherProducedAliases.cs
- ButtonPopupAdapter.cs
- XmlSecureResolver.cs
- NumberEdit.cs
- HtmlGenericControl.cs
- ReadOnlyCollectionBase.cs
- UnwrappedTypesXmlSerializerManager.cs
- XPathSingletonIterator.cs
- _BufferOffsetSize.cs
- TextTreeDeleteContentUndoUnit.cs
- dbdatarecord.cs
- SparseMemoryStream.cs
- ComboBoxItem.cs
- Style.cs
- DrawingImage.cs
- FormatStringEditor.cs
- SqlInternalConnection.cs
- FtpWebRequest.cs
- EventDescriptorCollection.cs
- ConfigXmlDocument.cs
- ListBoxAutomationPeer.cs
- SqlDataSourceQuery.cs
- FSWPathEditor.cs
- ListBindingConverter.cs
- HttpRequestCacheValidator.cs
- WindowsListViewGroup.cs
- TCPClient.cs
- AccessDataSourceView.cs
- Button.cs
- MetadataItemCollectionFactory.cs
- BuildProvidersCompiler.cs
- UserThread.cs
- CryptoStream.cs