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
- MessageRpc.cs
- ClientRoleProvider.cs
- GcSettings.cs
- PolicyStatement.cs
- RadioButton.cs
- WebBrowserUriTypeConverter.cs
- BindingList.cs
- NotificationContext.cs
- BitmapInitialize.cs
- GPRECT.cs
- XmlSchemaSimpleTypeList.cs
- EvidenceTypeDescriptor.cs
- AsyncOperationManager.cs
- XmlDocumentFragment.cs
- AttachedAnnotationChangedEventArgs.cs
- PatternMatcher.cs
- RectValueSerializer.cs
- BooleanConverter.cs
- OdbcEnvironmentHandle.cs
- UnsafeNativeMethods.cs
- DigestTraceRecordHelper.cs
- PropertyChangedEventArgs.cs
- InputManager.cs
- PropertyValueUIItem.cs
- TableCell.cs
- CroppedBitmap.cs
- ActiveXContainer.cs
- SqlDataSourceEnumerator.cs
- DataGridViewBindingCompleteEventArgs.cs
- WorkflowTimerService.cs
- WindowsFormsEditorServiceHelper.cs
- PopupRootAutomationPeer.cs
- WebServiceResponseDesigner.cs
- AsymmetricSecurityBindingElement.cs
- ApplicationFileCodeDomTreeGenerator.cs
- Track.cs
- CheckBoxList.cs
- IList.cs
- StylusButtonEventArgs.cs
- Utils.cs
- DataGridPagerStyle.cs
- HttpApplication.cs
- PenLineCapValidation.cs
- DbConnectionStringBuilder.cs
- ProtectedConfigurationSection.cs
- UIElement3D.cs
- DataBinder.cs
- XamlBuildTaskServices.cs
- ColumnBinding.cs
- NoPersistHandle.cs
- CompiledAction.cs
- WebBrowserEvent.cs
- FlowDocumentPaginator.cs
- EventManager.cs
- SqlGenerator.cs
- UpdateException.cs
- SerialPort.cs
- HierarchicalDataBoundControlAdapter.cs
- FontFamilyValueSerializer.cs
- HierarchicalDataBoundControlAdapter.cs
- ScriptDescriptor.cs
- VerificationAttribute.cs
- TypeDescriptor.cs
- CryptoConfig.cs
- DragEventArgs.cs
- PlatformCulture.cs
- AutoGeneratedFieldProperties.cs
- ConstructorBuilder.cs
- Funcletizer.cs
- TraceContext.cs
- PointCollectionConverter.cs
- ContentPosition.cs
- CorrelationValidator.cs
- XmlConvert.cs
- HierarchicalDataBoundControl.cs
- MimeReflector.cs
- DataRowCollection.cs
- ReflectionPermission.cs
- StatusBarAutomationPeer.cs
- DesignTimeParseData.cs
- WebBaseEventKeyComparer.cs
- EventMappingSettings.cs
- TextEditorSpelling.cs
- StreamingContext.cs
- WebDisplayNameAttribute.cs
- FileNotFoundException.cs
- DataGridItemAttachedStorage.cs
- remotingproxy.cs
- XmlElementAttribute.cs
- WebConfigurationHostFileChange.cs
- ProtectedProviderSettings.cs
- ResourceLoader.cs
- ErrorFormatter.cs
- CommandConverter.cs
- OdbcParameterCollection.cs
- AnonymousIdentificationSection.cs
- COM2FontConverter.cs
- SafeFileMappingHandle.cs
- Stream.cs
- HtmlFormParameterReader.cs