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
- OleDbFactory.cs
- BuiltInExpr.cs
- Brush.cs
- WebServiceParameterData.cs
- ComboBoxRenderer.cs
- AnnotationAdorner.cs
- CacheHelper.cs
- PropagatorResult.cs
- EditorPart.cs
- DataObjectEventArgs.cs
- PropertyMetadata.cs
- ComponentRenameEvent.cs
- FixUp.cs
- ErrorWrapper.cs
- AcceleratedTokenAuthenticator.cs
- WindowCollection.cs
- XPathNavigator.cs
- BamlRecords.cs
- Attributes.cs
- KeyedCollection.cs
- AuthenticationManager.cs
- LicenseProviderAttribute.cs
- XmlQualifiedName.cs
- BamlTreeNode.cs
- MailWebEventProvider.cs
- ServiceModelTimeSpanValidator.cs
- CompleteWizardStep.cs
- StrongNameUtility.cs
- NamedPipeProcessProtocolHandler.cs
- ChildTable.cs
- InfoCardBinaryReader.cs
- ObjectQueryState.cs
- PrintPreviewDialog.cs
- WebPartMenu.cs
- XmlSchemaAnnotation.cs
- Path.cs
- MailMessageEventArgs.cs
- FrameworkReadOnlyPropertyMetadata.cs
- NameTable.cs
- TouchesOverProperty.cs
- diagnosticsswitches.cs
- Point4D.cs
- EFTableProvider.cs
- OutputScope.cs
- CommandConverter.cs
- RowUpdatedEventArgs.cs
- ConstantSlot.cs
- DoubleUtil.cs
- precedingquery.cs
- DSGeneratorProblem.cs
- InnerItemCollectionView.cs
- LocalizableResourceBuilder.cs
- InputScope.cs
- FixedSOMElement.cs
- Stopwatch.cs
- ProviderCommandInfoUtils.cs
- ObjectListTitleAttribute.cs
- XmlSchemaComplexContentRestriction.cs
- HttpConfigurationSystem.cs
- ResourceProperty.cs
- DataGrid.cs
- ContainerParagraph.cs
- SqlEnums.cs
- CodeTypeMember.cs
- ClientSession.cs
- PrintDocument.cs
- Crypto.cs
- XPathAncestorIterator.cs
- TemplateInstanceAttribute.cs
- SqlProviderManifest.cs
- WebPartConnectionsConnectVerb.cs
- CorrelationScope.cs
- AvTraceFormat.cs
- PeerApplication.cs
- TraceListeners.cs
- GrammarBuilderDictation.cs
- AutoGeneratedField.cs
- GACIdentityPermission.cs
- CounterSampleCalculator.cs
- XmlUtil.cs
- CommentEmitter.cs
- TypedReference.cs
- UpdateManifestForBrowserApplication.cs
- DataColumnMappingCollection.cs
- ValidatingReaderNodeData.cs
- Int32Rect.cs
- BinaryWriter.cs
- HijriCalendar.cs
- ImageKeyConverter.cs
- StorageAssociationTypeMapping.cs
- MetadataItemCollectionFactory.cs
- _FtpDataStream.cs
- InitializerFacet.cs
- CookieProtection.cs
- ListManagerBindingsCollection.cs
- TraceLevelStore.cs
- EventLogReader.cs
- FontCollection.cs
- RewritingValidator.cs
- LoginNameDesigner.cs