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
- MatcherBuilder.cs
- BufferBuilder.cs
- ApplicationBuildProvider.cs
- ConstraintStruct.cs
- TrackingExtract.cs
- SplineKeyFrames.cs
- ToolboxItem.cs
- SettingsPropertyNotFoundException.cs
- NegatedConstant.cs
- RuntimeConfig.cs
- SessionStateSection.cs
- IteratorDescriptor.cs
- PriorityChain.cs
- pingexception.cs
- ThreadNeutralSemaphore.cs
- _FtpControlStream.cs
- RoleServiceManager.cs
- BoundField.cs
- MsmqQueue.cs
- DataServiceResponse.cs
- StylusPointCollection.cs
- DrawingAttributes.cs
- Nullable.cs
- OleDbErrorCollection.cs
- WebControlAdapter.cs
- DispatchRuntime.cs
- AssertHelper.cs
- QuaternionConverter.cs
- DataGridColumnCollection.cs
- ScalarConstant.cs
- CodeDefaultValueExpression.cs
- RemotingException.cs
- CharUnicodeInfo.cs
- ICspAsymmetricAlgorithm.cs
- FamilyMap.cs
- EntityDataSourceWrapperCollection.cs
- OutputCacheSettingsSection.cs
- CryptoHelper.cs
- Screen.cs
- DeliveryRequirementsAttribute.cs
- ViewStateModeByIdAttribute.cs
- HostingEnvironment.cs
- FrameworkRichTextComposition.cs
- FixedFindEngine.cs
- BaseTemplateCodeDomTreeGenerator.cs
- MemberCollection.cs
- IUnknownConstantAttribute.cs
- MatrixAnimationUsingKeyFrames.cs
- FixedSOMSemanticBox.cs
- HTTPNotFoundHandler.cs
- ServiceOperationWrapper.cs
- DateTimePicker.cs
- FlowLayoutSettings.cs
- MultilineStringConverter.cs
- UITypeEditor.cs
- OdbcConnection.cs
- KerberosTicketHashIdentifierClause.cs
- PipelineModuleStepContainer.cs
- BigIntegerStorage.cs
- SynchronizedKeyedCollection.cs
- ConstraintStruct.cs
- SkipQueryOptionExpression.cs
- DrawListViewColumnHeaderEventArgs.cs
- CmsInterop.cs
- ClickablePoint.cs
- LabelEditEvent.cs
- HyperLinkColumn.cs
- SqlBulkCopy.cs
- ConfigurationElementCollection.cs
- ProtectedConfigurationSection.cs
- SpoolingTaskBase.cs
- SiteOfOriginContainer.cs
- InstanceOwnerException.cs
- DataBoundControlAdapter.cs
- COM2PropertyDescriptor.cs
- DigestTraceRecordHelper.cs
- TCPClient.cs
- SafeRegistryHandle.cs
- RedirectionProxy.cs
- _NTAuthentication.cs
- DynamicUpdateCommand.cs
- XmlTypeMapping.cs
- HttpResponseHeader.cs
- RtfToXamlLexer.cs
- ControlValuePropertyAttribute.cs
- InputLanguageProfileNotifySink.cs
- WebSysDefaultValueAttribute.cs
- XmlSignificantWhitespace.cs
- _AutoWebProxyScriptHelper.cs
- OdbcConnectionOpen.cs
- StatusBarPanelClickEvent.cs
- DBSqlParserTable.cs
- DataViewManager.cs
- SBCSCodePageEncoding.cs
- JsonStringDataContract.cs
- ApplicationId.cs
- TimeSpanStorage.cs
- HighlightVisual.cs
- FontStretches.cs
- CompoundFileIOPermission.cs