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
- TextEditorCharacters.cs
- RenderDataDrawingContext.cs
- DBPropSet.cs
- Material.cs
- GridViewPageEventArgs.cs
- MouseWheelEventArgs.cs
- XmlReturnWriter.cs
- DBNull.cs
- OleDbException.cs
- RealizationDrawingContextWalker.cs
- _ChunkParse.cs
- ProcessInfo.cs
- MsmqIntegrationBinding.cs
- SqlError.cs
- baseaxisquery.cs
- BaseDataListDesigner.cs
- WorkflowPageSetupDialog.cs
- initElementDictionary.cs
- SimpleWebHandlerParser.cs
- FormsAuthenticationUser.cs
- BaseComponentEditor.cs
- RSAPKCS1SignatureFormatter.cs
- TcpChannelListener.cs
- HttpFileCollection.cs
- DecimalConstantAttribute.cs
- XmlReflectionMember.cs
- Model3D.cs
- SafeWaitHandle.cs
- DataTemplateSelector.cs
- AspNetHostingPermission.cs
- XmlSchemaSimpleContent.cs
- XmlSequenceWriter.cs
- BitmapEffectGeneralTransform.cs
- UnmanagedHandle.cs
- XmlSchemaChoice.cs
- UndirectedGraph.cs
- GuidConverter.cs
- AutomationElementIdentifiers.cs
- ItemChangedEventArgs.cs
- PartitionedStream.cs
- DataGridRow.cs
- GroupQuery.cs
- ColorContextHelper.cs
- RolePrincipal.cs
- FormatVersion.cs
- DataGridViewCheckBoxColumn.cs
- PrtTicket_Public_Simple.cs
- BooleanKeyFrameCollection.cs
- ScriptBehaviorDescriptor.cs
- IsolationInterop.cs
- SafeNativeMethods.cs
- IncrementalCompileAnalyzer.cs
- ExpressionConverter.cs
- BodyGlyph.cs
- OletxDependentTransaction.cs
- objectquery_tresulttype.cs
- ClientSession.cs
- ContentTextAutomationPeer.cs
- SpecularMaterial.cs
- ProtocolsConfigurationHandler.cs
- XmlSchemaException.cs
- Convert.cs
- WorkflowApplicationAbortedException.cs
- EmissiveMaterial.cs
- GenericTextProperties.cs
- CategoryValueConverter.cs
- SqlServer2KCompatibilityCheck.cs
- BitmapEffect.cs
- TextClipboardData.cs
- CachedBitmap.cs
- TransformProviderWrapper.cs
- WebRequest.cs
- EncryptedKey.cs
- input.cs
- ImmutableClientRuntime.cs
- RuntimeConfigLKG.cs
- WebConfigurationFileMap.cs
- ControlIdConverter.cs
- ListViewCancelEventArgs.cs
- DbModificationClause.cs
- MetadataItemCollectionFactory.cs
- UnsafeNativeMethods.cs
- StrokeCollectionDefaultValueFactory.cs
- SQLString.cs
- SystemIcons.cs
- XmlDocumentFieldSchema.cs
- UserNameSecurityToken.cs
- UmAlQuraCalendar.cs
- Latin1Encoding.cs
- ViewCellRelation.cs
- AuthenticationConfig.cs
- BaseCollection.cs
- XmlAnyAttributeAttribute.cs
- mediaclock.cs
- Style.cs
- ParameterBuilder.cs
- BamlVersionHeader.cs
- ObjectAnimationBase.cs
- ProfessionalColorTable.cs
- DescendentsWalkerBase.cs