Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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;
///
///
///
/// Provides data for the
/// event.
///
///
///
[System.Runtime.InteropServices.ComVisible(true)]
public class ItemCheckEventArgs : EventArgs {
readonly int index;
CheckState newValue;
readonly CheckState currentValue;
///
///
/// [To be supplied.]
///
public ItemCheckEventArgs(int index, CheckState newCheckValue, CheckState currentValue) {
this.index = index;
this.newValue = newCheckValue;
this.currentValue = currentValue;
}
///
///
/// 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- VoiceObjectToken.cs
- AutomationElementCollection.cs
- UrlMappingsSection.cs
- TransformedBitmap.cs
- DbTransaction.cs
- EntityDataSourceMemberPath.cs
- ConfigurationStrings.cs
- IdentityModelDictionary.cs
- OptimizedTemplateContent.cs
- _ScatterGatherBuffers.cs
- DesignerVerbCollection.cs
- DecoratedNameAttribute.cs
- ScriptServiceAttribute.cs
- DataGridViewCellMouseEventArgs.cs
- GetCertificateRequest.cs
- XmlCodeExporter.cs
- StateMachine.cs
- CustomAttributeFormatException.cs
- EntityDataSourceChangedEventArgs.cs
- ZipIOExtraFieldElement.cs
- SemaphoreSecurity.cs
- DataBindEngine.cs
- AvTraceFormat.cs
- WebUtil.cs
- BasicKeyConstraint.cs
- TranslateTransform.cs
- HostedElements.cs
- DataBindingExpressionBuilder.cs
- BaseUriHelper.cs
- XmlSchemaComplexContentExtension.cs
- Rfc2898DeriveBytes.cs
- StyleTypedPropertyAttribute.cs
- SetStateDesigner.cs
- ListChunk.cs
- GeneralTransform.cs
- BaseComponentEditor.cs
- Accessible.cs
- CommandLibraryHelper.cs
- XmlIlTypeHelper.cs
- TailCallAnalyzer.cs
- Size3DValueSerializer.cs
- ServiceMemoryGates.cs
- RadioButtonList.cs
- BuildProviderAppliesToAttribute.cs
- EllipseGeometry.cs
- EmbossBitmapEffect.cs
- CounterSampleCalculator.cs
- IntSumAggregationOperator.cs
- WindowsGraphicsWrapper.cs
- ImmComposition.cs
- RequestCachePolicy.cs
- ReadOnlyHierarchicalDataSourceView.cs
- Hex.cs
- StringConverter.cs
- ToolBar.cs
- TaiwanCalendar.cs
- DependencyProperty.cs
- GlyphingCache.cs
- WindowsToolbar.cs
- ActivityExecutorSurrogate.cs
- ErrorTolerantObjectWriter.cs
- Keyboard.cs
- DropDownButton.cs
- ActiveXHost.cs
- ReversePositionQuery.cs
- ReadOnlyAttribute.cs
- WebServiceMethodData.cs
- HijriCalendar.cs
- MultiTrigger.cs
- KeyNotFoundException.cs
- TrustLevel.cs
- MulticastNotSupportedException.cs
- FieldNameLookup.cs
- BindingMemberInfo.cs
- DrawingServices.cs
- TraceSection.cs
- ProfileInfo.cs
- TextTreeUndoUnit.cs
- DEREncoding.cs
- DataServiceRequestException.cs
- TextEndOfParagraph.cs
- DbConnectionStringBuilder.cs
- DataGridViewButtonCell.cs
- RequestTimeoutManager.cs
- DllHostedComPlusServiceHost.cs
- ActivityExecutorOperation.cs
- StructuredTypeEmitter.cs
- CommandBinding.cs
- DeploymentExceptionMapper.cs
- DBBindings.cs
- mediaeventshelper.cs
- BypassElement.cs
- AsnEncodedData.cs
- XmlDataSource.cs
- RSAOAEPKeyExchangeDeformatter.cs
- ComponentResourceKey.cs
- MenuItemAutomationPeer.cs
- EventLogEntry.cs
- FormatSettings.cs
- TableProviderWrapper.cs