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
- AmbiguousMatchException.cs
- _CommandStream.cs
- UnknownWrapper.cs
- ManualResetEventSlim.cs
- SkewTransform.cs
- ThrowHelper.cs
- CorrelationManager.cs
- ToggleButtonAutomationPeer.cs
- IdentityModelDictionary.cs
- WpfPayload.cs
- BaseCodePageEncoding.cs
- ServicePoint.cs
- DataBoundControl.cs
- TimeStampChecker.cs
- SafeNativeMethods.cs
- FormatSelectingMessageInspector.cs
- ListViewGroup.cs
- Queue.cs
- TargetConverter.cs
- ReachVisualSerializerAsync.cs
- TaskFormBase.cs
- MailMessage.cs
- RequestChannel.cs
- figurelength.cs
- HashSet.cs
- CollectionBuilder.cs
- EventSourceCreationData.cs
- EventManager.cs
- DesignerCategoryAttribute.cs
- Win32Exception.cs
- FixedTextView.cs
- FlowchartDesignerCommands.cs
- UnionCodeGroup.cs
- XmlUrlResolver.cs
- ConfigurationStrings.cs
- SoapMessage.cs
- clipboard.cs
- StylusEventArgs.cs
- PhysicalOps.cs
- PolyQuadraticBezierSegment.cs
- SelectorItemAutomationPeer.cs
- CharKeyFrameCollection.cs
- PackageDigitalSignature.cs
- NamedPermissionSet.cs
- CommonProperties.cs
- SecurityValidationBehavior.cs
- MappingSource.cs
- ToolStripItemEventArgs.cs
- HierarchicalDataSourceControl.cs
- TreeBuilder.cs
- XsltInput.cs
- ActiveXMessageFormatter.cs
- QueryPageSettingsEventArgs.cs
- UnsafeNativeMethods.cs
- SrgsNameValueTag.cs
- Command.cs
- SQLInt16.cs
- UnsafeNativeMethodsPenimc.cs
- BrowserTree.cs
- COM2ColorConverter.cs
- XmlILStorageConverter.cs
- SQLByte.cs
- DataGridParentRows.cs
- _TLSstream.cs
- FilteredDataSetHelper.cs
- ToolStripPanelRow.cs
- M3DUtil.cs
- XmlAttribute.cs
- dsa.cs
- Inflater.cs
- ColumnWidthChangedEvent.cs
- GridViewUpdatedEventArgs.cs
- DesignerDeviceConfig.cs
- CngAlgorithm.cs
- InternalConfigRoot.cs
- UnSafeCharBuffer.cs
- StringFormat.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- BuildProvider.cs
- Calendar.cs
- MessageSmuggler.cs
- AsyncPostBackTrigger.cs
- AdRotator.cs
- WeakReferenceEnumerator.cs
- FilteredSchemaElementLookUpTable.cs
- TimeSpanSecondsConverter.cs
- SqlProvider.cs
- UIntPtr.cs
- AutoScrollExpandMessageFilter.cs
- SelectionProcessor.cs
- DatatypeImplementation.cs
- FileDialog_Vista_Interop.cs
- ColumnPropertiesGroup.cs
- SoapRpcMethodAttribute.cs
- X509SubjectKeyIdentifierClause.cs
- ApplicationHost.cs
- SuppressedPackageProperties.cs
- ScrollChrome.cs
- BinaryCommonClasses.cs
- RequiredFieldValidator.cs