Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / ItemCheckEvent.cs / 1 / ItemCheckEvent.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; ////// /// [System.Runtime.InteropServices.ComVisible(true)] public class ItemCheckEventArgs : EventArgs { readonly int index; CheckState newValue; readonly CheckState currentValue; ////// Provides data for the ////// event. /// /// /// /// public ItemCheckEventArgs(int index, CheckState newCheckValue, CheckState currentValue) { this.index = index; this.newValue = newCheckValue; this.currentValue = currentValue; } ///[To be supplied.] ////// /// The index of the item that is about to change. /// public int Index { get { return index; } } ////// /// The proposed new value of the CheckBox. /// public CheckState NewValue { get { return newValue; } set { newValue = value; } } ////// /// The current state of the CheckBox. /// public CheckState CurrentValue { get { return currentValue; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// 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; ////// /// [System.Runtime.InteropServices.ComVisible(true)] public class ItemCheckEventArgs : EventArgs { readonly int index; CheckState newValue; readonly CheckState currentValue; ////// Provides data for the ////// event. /// /// /// /// public ItemCheckEventArgs(int index, CheckState newCheckValue, CheckState currentValue) { this.index = index; this.newValue = newCheckValue; this.currentValue = currentValue; } ///[To be supplied.] ////// /// The index of the item that is about to change. /// public int Index { get { return index; } } ////// /// The proposed new value of the CheckBox. /// public CheckState NewValue { get { return newValue; } set { newValue = value; } } ////// /// The current state of the CheckBox. /// public CheckState CurrentValue { get { return currentValue; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ScrollBar.cs
- FilterQuery.cs
- PropertyGridEditorPart.cs
- PauseStoryboard.cs
- Win32Native.cs
- ContractCodeDomInfo.cs
- MenuEventArgs.cs
- SHA1Managed.cs
- SystemParameters.cs
- RoleManagerSection.cs
- HostUtils.cs
- DefaultPropertyAttribute.cs
- ImageListImage.cs
- TrackingSection.cs
- TextDecoration.cs
- FacetValues.cs
- SplitterCancelEvent.cs
- TemplateControlCodeDomTreeGenerator.cs
- InvalidPropValue.cs
- XmlMapping.cs
- WebPartConnectionsCancelEventArgs.cs
- QueryComponents.cs
- AsnEncodedData.cs
- FreeFormDragDropManager.cs
- XmlReflectionImporter.cs
- DoubleMinMaxAggregationOperator.cs
- ApplicationCommands.cs
- Selection.cs
- PtsCache.cs
- ShortcutKeysEditor.cs
- CompilerErrorCollection.cs
- _emptywebproxy.cs
- PropertyEntry.cs
- XmlNamedNodeMap.cs
- PageThemeBuildProvider.cs
- ServiceReflector.cs
- ContentFilePart.cs
- InvokeProviderWrapper.cs
- ConfigurationFileMap.cs
- HyperLink.cs
- TiffBitmapEncoder.cs
- ObjectCacheHost.cs
- SatelliteContractVersionAttribute.cs
- HtmlButton.cs
- SemaphoreFullException.cs
- ComponentEvent.cs
- HttpDigestClientCredential.cs
- TraceSection.cs
- StatusBarItemAutomationPeer.cs
- XmlRawWriter.cs
- NativeMethods.cs
- ArglessEventHandlerProxy.cs
- CollectionViewGroupInternal.cs
- EntityTypeEmitter.cs
- SocketManager.cs
- coordinatorfactory.cs
- ItemDragEvent.cs
- CodeMemberEvent.cs
- DynamicDiscoveryDocument.cs
- MdiWindowListStrip.cs
- RegionInfo.cs
- SecurityManager.cs
- LifetimeServices.cs
- RecordsAffectedEventArgs.cs
- LogConverter.cs
- Misc.cs
- EdmSchemaAttribute.cs
- QilTernary.cs
- AsyncPostBackTrigger.cs
- HttpHandlersSection.cs
- SqlHelper.cs
- XmlDataLoader.cs
- BinaryObjectReader.cs
- DetailsViewRow.cs
- XmlDataSourceNodeDescriptor.cs
- XmlParserContext.cs
- DataColumnChangeEvent.cs
- EntityContainerEmitter.cs
- TransformerConfigurationWizardBase.cs
- PageThemeCodeDomTreeGenerator.cs
- EqualityComparer.cs
- AttachedAnnotationChangedEventArgs.cs
- DataGridViewRowEventArgs.cs
- DictionaryMarkupSerializer.cs
- ResourceType.cs
- ComponentConverter.cs
- messageonlyhwndwrapper.cs
- CurrentChangingEventArgs.cs
- TreeView.cs
- AssemblyBuilder.cs
- SmtpTransport.cs
- CharacterString.cs
- WorkflowMessageEventArgs.cs
- CompiledXpathExpr.cs
- SizeChangedInfo.cs
- PersonalizationStateInfo.cs
- KeyNotFoundException.cs
- XmlExtensionFunction.cs
- SendActivityDesignerTheme.cs
- SendParametersContent.cs