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
- ToolStripDropDownItem.cs
- _AutoWebProxyScriptWrapper.cs
- ButtonChrome.cs
- SetUserPreferenceRequest.cs
- BrushMappingModeValidation.cs
- TemplateManager.cs
- ObjectSet.cs
- MemoryStream.cs
- PathSegment.cs
- CompositeActivityTypeDescriptor.cs
- COM2Properties.cs
- Point3DCollection.cs
- ProviderSettingsCollection.cs
- ExtensionDataObject.cs
- RunWorkerCompletedEventArgs.cs
- XmlToDatasetMap.cs
- CompositeActivityDesigner.cs
- TreeNodeStyleCollection.cs
- ComNativeDescriptor.cs
- HitTestFilterBehavior.cs
- SqlCacheDependency.cs
- FileCodeGroup.cs
- ValidatorUtils.cs
- OpCopier.cs
- Control.cs
- IisTraceWebEventProvider.cs
- HttpFileCollection.cs
- NumericUpDownAccelerationCollection.cs
- WebSysDefaultValueAttribute.cs
- DragDropManager.cs
- DrawingAttributesDefaultValueFactory.cs
- ConfigXmlComment.cs
- NullableDoubleSumAggregationOperator.cs
- MultiByteCodec.cs
- JpegBitmapEncoder.cs
- CLRBindingWorker.cs
- XComponentModel.cs
- MouseGestureConverter.cs
- SafeNativeMethods.cs
- SqlNodeAnnotations.cs
- RegexNode.cs
- MessageFilterException.cs
- WinFormsUtils.cs
- CodePageUtils.cs
- CompositeFontParser.cs
- SkinBuilder.cs
- ServiceMoniker.cs
- ILGenerator.cs
- HttpHandlersSection.cs
- CompoundFileReference.cs
- ComponentCommands.cs
- ErrorInfoXmlDocument.cs
- MaterialGroup.cs
- CheckBoxPopupAdapter.cs
- SliderAutomationPeer.cs
- GroupQuery.cs
- HostProtectionException.cs
- TextServicesLoader.cs
- SqlFlattener.cs
- FontStretchConverter.cs
- DataTrigger.cs
- DocumentSequenceHighlightLayer.cs
- TextReader.cs
- SystemColors.cs
- XPathNavigatorKeyComparer.cs
- DataBinding.cs
- EDesignUtil.cs
- PathGeometry.cs
- OperationResponse.cs
- ContextStack.cs
- NonBatchDirectoryCompiler.cs
- SystemEvents.cs
- TimelineGroup.cs
- VisualProxy.cs
- dsa.cs
- OracleParameter.cs
- _LoggingObject.cs
- PassportAuthentication.cs
- UnsafeNativeMethods.cs
- XmlWellformedWriter.cs
- SchemaCollectionCompiler.cs
- InputLanguageCollection.cs
- BufferedWebEventProvider.cs
- Vector3DConverter.cs
- AllMembershipCondition.cs
- DetailsViewDeleteEventArgs.cs
- ProcessThread.cs
- FixedDocumentPaginator.cs
- ListItem.cs
- PointCollectionConverter.cs
- DataMemberListEditor.cs
- CommonEndpointBehaviorElement.cs
- StackOverflowException.cs
- EdmTypeAttribute.cs
- EventLogEntryCollection.cs
- LineBreak.cs
- AttachInfo.cs
- Win32KeyboardDevice.cs
- DesignerPainter.cs
- UnsafeNativeMethods.cs