Code:
/ DotNET / DotNET / 8.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
- ObjectMemberMapping.cs
- Attributes.cs
- XmlSortKey.cs
- SystemResourceKey.cs
- DbProviderManifest.cs
- SqlPersonalizationProvider.cs
- TypeGenericEnumerableViewSchema.cs
- RenameRuleObjectDialog.Designer.cs
- EntityDataSourceColumn.cs
- WebPartRestoreVerb.cs
- SchemaObjectWriter.cs
- TempFiles.cs
- XmlBaseReader.cs
- AttachInfo.cs
- ArraySortHelper.cs
- SystemIPGlobalProperties.cs
- Table.cs
- ReliabilityContractAttribute.cs
- Win32MouseDevice.cs
- translator.cs
- EnterpriseServicesHelper.cs
- UriPrefixTable.cs
- ToggleButtonAutomationPeer.cs
- IconHelper.cs
- AttributeXamlType.cs
- _HeaderInfo.cs
- CacheDependency.cs
- DataServiceExpressionVisitor.cs
- Compiler.cs
- UrlPath.cs
- XmlDataDocument.cs
- smtppermission.cs
- printdlgexmarshaler.cs
- DesignTimeDataBinding.cs
- AsyncPostBackTrigger.cs
- GetTokenRequest.cs
- PlaceHolder.cs
- MappedMetaModel.cs
- EtwTrace.cs
- ExtensionFile.cs
- ZoneLinkButton.cs
- MissingMethodException.cs
- CompilationLock.cs
- AppModelKnownContentFactory.cs
- Thread.cs
- Byte.cs
- MetaType.cs
- DataReaderContainer.cs
- TreeNodeClickEventArgs.cs
- Bidi.cs
- EFColumnProvider.cs
- AppDomainShutdownMonitor.cs
- InvokeMethod.cs
- TypeTypeConverter.cs
- MessageFilter.cs
- HttpContext.cs
- RawStylusActions.cs
- CookieParameter.cs
- AvTraceDetails.cs
- TargetConverter.cs
- ClientSideProviderDescription.cs
- DoubleAnimationBase.cs
- CodeThrowExceptionStatement.cs
- PeerServiceMessageContracts.cs
- Pair.cs
- NumericUpDown.cs
- OleDbPermission.cs
- DataGridTextBox.cs
- EntitySqlQueryCacheKey.cs
- SystemColors.cs
- Compiler.cs
- HttpCacheVaryByContentEncodings.cs
- AssertSection.cs
- WrappedDispatcherException.cs
- OneOfElement.cs
- EdmItemCollection.cs
- SubMenuStyleCollection.cs
- DecryptRequest.cs
- ProcessThreadCollection.cs
- GridToolTip.cs
- ChildTable.cs
- Enlistment.cs
- EventMetadata.cs
- BitmapCodecInfo.cs
- NavigationWindowAutomationPeer.cs
- TypeElement.cs
- UnsafeNativeMethodsCLR.cs
- ConfigsHelper.cs
- Module.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- AttributedMetaModel.cs
- RealizationContext.cs
- CryptoStream.cs
- SimpleMailWebEventProvider.cs
- MutexSecurity.cs
- HashStream.cs
- AnimationException.cs
- IsolatedStorageFileStream.cs
- WorkItem.cs
- WebPartConnectionsDisconnectVerb.cs