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
- DependencyPropertyHelper.cs
- Fonts.cs
- DockProviderWrapper.cs
- StandardCommands.cs
- Input.cs
- RuntimeResourceSet.cs
- PolicyValidationException.cs
- DataGridRelationshipRow.cs
- ContextQuery.cs
- BaseDataList.cs
- ReachDocumentReferenceCollectionSerializer.cs
- TextEditorThreadLocalStore.cs
- SpeechSynthesizer.cs
- Parser.cs
- MeasureItemEvent.cs
- CreatingCookieEventArgs.cs
- ReverseInheritProperty.cs
- XamlStream.cs
- CodeSnippetExpression.cs
- EngineSite.cs
- EventItfInfo.cs
- RegexMatchCollection.cs
- HijriCalendar.cs
- CallbackValidatorAttribute.cs
- FontStretches.cs
- XmlSchemaAttribute.cs
- ManagedFilter.cs
- StructuredProperty.cs
- HttpListenerContext.cs
- DefaultValueConverter.cs
- EventToken.cs
- DataSourceGroupCollection.cs
- StubHelpers.cs
- _LoggingObject.cs
- CalendarDateRange.cs
- ExpressionEvaluator.cs
- SchemaTypeEmitter.cs
- xml.cs
- XmlSchemaRedefine.cs
- PaintValueEventArgs.cs
- XmlSchemaResource.cs
- Registry.cs
- Pair.cs
- FileVersion.cs
- ControlPropertyNameConverter.cs
- PageThemeBuildProvider.cs
- GuidConverter.cs
- ToggleButton.cs
- Drawing.cs
- Int16KeyFrameCollection.cs
- DataObjectEventArgs.cs
- ITextView.cs
- Property.cs
- FunctionQuery.cs
- ControlBuilderAttribute.cs
- RegexStringValidator.cs
- ModulesEntry.cs
- DesignTimeTemplateParser.cs
- EastAsianLunisolarCalendar.cs
- UIntPtr.cs
- ArrayItemReference.cs
- TextTreeUndoUnit.cs
- ContextMenuService.cs
- NameTable.cs
- DataRecord.cs
- DbConnectionPoolCounters.cs
- WebBrowserNavigatedEventHandler.cs
- ShimAsPublicXamlType.cs
- TemplateBamlRecordReader.cs
- DbExpressionRules.cs
- CompiledXpathExpr.cs
- TimerElapsedEvenArgs.cs
- SymDocumentType.cs
- ReturnEventArgs.cs
- CodeExpressionRuleDeclaration.cs
- PageContent.cs
- ItemMap.cs
- mediaclock.cs
- DockPattern.cs
- ClipboardData.cs
- TagMapCollection.cs
- SystemIPv6InterfaceProperties.cs
- counter.cs
- AvTrace.cs
- SequenceRangeCollection.cs
- MenuItemStyle.cs
- GeneralTransformCollection.cs
- SymbolEqualComparer.cs
- SoapMessage.cs
- GlobalProxySelection.cs
- AxisAngleRotation3D.cs
- ZoneIdentityPermission.cs
- WarningException.cs
- TemplateNameScope.cs
- linebase.cs
- LZCodec.cs
- FilterUserControlBase.cs
- ToolBar.cs
- TypeListConverter.cs
- LayoutManager.cs