Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- CharUnicodeInfo.cs
- dataobject.cs
- WebPartMenuStyle.cs
- MailMessageEventArgs.cs
- ClipboardProcessor.cs
- _Win32.cs
- ProtocolsConfigurationEntry.cs
- TextReader.cs
- WeakReferenceEnumerator.cs
- PageOutputColor.cs
- CqlWriter.cs
- DesigntimeLicenseContext.cs
- HtmlTableCell.cs
- PeerCollaboration.cs
- PointConverter.cs
- DataBinding.cs
- CapabilitiesSection.cs
- TypeDependencyAttribute.cs
- _ConnectStream.cs
- KerberosSecurityTokenProvider.cs
- SecUtil.cs
- SqlClientPermission.cs
- Ray3DHitTestResult.cs
- XD.cs
- SynchronizationLockException.cs
- HttpRuntime.cs
- RefreshEventArgs.cs
- DataControlCommands.cs
- ByteAnimationBase.cs
- FontSourceCollection.cs
- XmlCodeExporter.cs
- ObjectStateManagerMetadata.cs
- PersonalizationProviderCollection.cs
- HttpProxyCredentialType.cs
- NumberFormatInfo.cs
- Span.cs
- TextEffectCollection.cs
- CommonDialog.cs
- WebBrowser.cs
- MsmqIntegrationBindingElement.cs
- PenThreadPool.cs
- SolidColorBrush.cs
- RuntimeConfig.cs
- NameGenerator.cs
- DrawingImage.cs
- Point3DCollection.cs
- XamlToRtfParser.cs
- CheckBoxField.cs
- CreateSequence.cs
- SQLByte.cs
- DelegatedStream.cs
- MultipleViewProviderWrapper.cs
- BodyWriter.cs
- JpegBitmapEncoder.cs
- SchemaMapping.cs
- ValidatorUtils.cs
- XsdCachingReader.cs
- ComboBox.cs
- _ContextAwareResult.cs
- DEREncoding.cs
- PathFigureCollectionConverter.cs
- ViewStateException.cs
- EpmHelper.cs
- XsltContext.cs
- DataSvcMapFileSerializer.cs
- Select.cs
- ResourcePermissionBase.cs
- PerformanceCounter.cs
- COM2PropertyDescriptor.cs
- MaskDescriptors.cs
- ReceiveActivity.cs
- DefaultAutoFieldGenerator.cs
- AutomationPatternInfo.cs
- BufferedGraphicsManager.cs
- DefaultShape.cs
- infer.cs
- ArrangedElementCollection.cs
- RegisteredScript.cs
- DataGridViewRow.cs
- RequestQueue.cs
- SizeValueSerializer.cs
- MemoryRecordBuffer.cs
- ResourceDefaultValueAttribute.cs
- CancellationTokenRegistration.cs
- UnsafeNativeMethods.cs
- StoragePropertyMapping.cs
- OdbcConnectionOpen.cs
- NamedObject.cs
- EncryptedData.cs
- SqlInternalConnectionTds.cs
- KeyTime.cs
- ObjectIDGenerator.cs
- DateTimeOffsetConverter.cs
- DbProviderServices.cs
- Line.cs
- IconBitmapDecoder.cs
- ListBindingHelper.cs
- AspProxy.cs
- RightNameExpirationInfoPair.cs
- ReachFixedPageSerializer.cs