Code:
/ DotNET / DotNET / 8.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
- FragmentNavigationEventArgs.cs
- MatrixCamera.cs
- Panel.cs
- UIElementParagraph.cs
- Evaluator.cs
- RequestChannelBinder.cs
- NavigationWindowAutomationPeer.cs
- Errors.cs
- TemplateControlBuildProvider.cs
- TdsParserStaticMethods.cs
- XmlSignificantWhitespace.cs
- InkCanvasSelectionAdorner.cs
- WebConfigurationHost.cs
- MethodExpression.cs
- FaultFormatter.cs
- Overlapped.cs
- ExpressionPrefixAttribute.cs
- State.cs
- BaseProcessor.cs
- OutputCacheProfile.cs
- InternalConfigEventArgs.cs
- ComboBox.cs
- OutputCacheSection.cs
- ParameterBuilder.cs
- XMLDiffLoader.cs
- RegisteredHiddenField.cs
- RemoteWebConfigurationHost.cs
- TextFormatter.cs
- DocumentXmlWriter.cs
- ColorTransform.cs
- PropertyOrder.cs
- DbSourceCommand.cs
- ProvidersHelper.cs
- SortedSet.cs
- DataGridTableCollection.cs
- EmptyEnumerable.cs
- XmlArrayItemAttributes.cs
- TabletDevice.cs
- Positioning.cs
- __ComObject.cs
- DataGridViewElement.cs
- SqlDataSourceStatusEventArgs.cs
- FrameworkReadOnlyPropertyMetadata.cs
- TdsEnums.cs
- _NegoState.cs
- Brush.cs
- ReadOnlyDictionary.cs
- ADMembershipUser.cs
- StylusDownEventArgs.cs
- LogicalMethodInfo.cs
- nulltextnavigator.cs
- BamlLocalizabilityResolver.cs
- ExtentJoinTreeNode.cs
- OracleBinary.cs
- SuppressIldasmAttribute.cs
- UIAgentRequest.cs
- XmlUrlResolver.cs
- CounterSampleCalculator.cs
- CorrelationManager.cs
- MembershipUser.cs
- InheritablePropertyChangeInfo.cs
- DataTableReaderListener.cs
- ApplicationManager.cs
- HandleCollector.cs
- InvalidCastException.cs
- ManipulationInertiaStartingEventArgs.cs
- TreeNodeClickEventArgs.cs
- ByteStream.cs
- ServiceModelEnumValidatorAttribute.cs
- DoubleCollectionConverter.cs
- LicenseProviderAttribute.cs
- MetadataUtilsSmi.cs
- DefaultAssemblyResolver.cs
- XPathNodePointer.cs
- ValidationError.cs
- ZeroOpNode.cs
- IntPtr.cs
- BaseDataBoundControl.cs
- EntityWrapperFactory.cs
- IsolatedStorageFile.cs
- QueryConverter.cs
- ReachUIElementCollectionSerializerAsync.cs
- AttributeProviderAttribute.cs
- ColumnHeaderConverter.cs
- PerfCounters.cs
- Rect3DValueSerializer.cs
- Constant.cs
- XPathDocumentNavigator.cs
- PropertyPathConverter.cs
- WaitForChangedResult.cs
- PlainXmlWriter.cs
- DataGridViewMethods.cs
- WebBrowser.cs
- DataSourceIDConverter.cs
- ExcCanonicalXml.cs
- WizardForm.cs
- BooleanSwitch.cs
- CommonObjectSecurity.cs
- QueryMath.cs
- RegistrySecurity.cs