Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ItemCheckEvent.cs / 1305376 / 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
- MulticastIPAddressInformationCollection.cs
- ErrorWrapper.cs
- IdentityReference.cs
- CategoryState.cs
- FixedSOMTextRun.cs
- XhtmlTextWriter.cs
- ReadOnlyCollectionBase.cs
- mda.cs
- Win32MouseDevice.cs
- PersonalizableTypeEntry.cs
- ValidationHelper.cs
- FormattedTextSymbols.cs
- AnnotationHelper.cs
- LambdaCompiler.Lambda.cs
- MediaSystem.cs
- Int32CollectionValueSerializer.cs
- MetadataArtifactLoaderResource.cs
- TemplateBuilder.cs
- TableCellCollection.cs
- ServiceModelEnhancedConfigurationElementCollection.cs
- Message.cs
- PublisherIdentityPermission.cs
- ToolStripContentPanel.cs
- SpecularMaterial.cs
- WorkflowMarkupSerializer.cs
- bindurihelper.cs
- SqlDataSourceWizardForm.cs
- PolygonHotSpot.cs
- ISAPIWorkerRequest.cs
- ManagementPath.cs
- UnitySerializationHolder.cs
- PropertyToken.cs
- SqlTrackingWorkflowInstance.cs
- StylusLogic.cs
- KeyManager.cs
- Int64KeyFrameCollection.cs
- Line.cs
- MeasureItemEvent.cs
- XPathSingletonIterator.cs
- RegistrySecurity.cs
- VirtualPathProvider.cs
- SolidBrush.cs
- BinarySerializer.cs
- DynamicPropertyReader.cs
- ReturnEventArgs.cs
- DetailsViewPageEventArgs.cs
- DesignerLoader.cs
- UnmanagedMemoryStreamWrapper.cs
- SQLMembershipProvider.cs
- CapabilitiesAssignment.cs
- Stylus.cs
- MissingSatelliteAssemblyException.cs
- TransformProviderWrapper.cs
- CompModSwitches.cs
- TabletCollection.cs
- XmlSchemaNotation.cs
- XmlDesigner.cs
- KeySplineConverter.cs
- NotifyIcon.cs
- OutputCacheSection.cs
- RoleManagerEventArgs.cs
- WorkflowMarkupSerializerMapping.cs
- RemotingAttributes.cs
- Exceptions.cs
- ExpressionBindings.cs
- ArrayList.cs
- RotateTransform3D.cs
- CharAnimationUsingKeyFrames.cs
- DbXmlEnabledProviderManifest.cs
- RemoveStoryboard.cs
- TimeIntervalCollection.cs
- TransformGroup.cs
- AddressingVersion.cs
- ObjectIDGenerator.cs
- OperationParameterInfoCollection.cs
- FtpWebResponse.cs
- SyndicationSerializer.cs
- MethodRental.cs
- TimeoutValidationAttribute.cs
- SelectionService.cs
- DigitShape.cs
- CharEntityEncoderFallback.cs
- SqlDelegatedTransaction.cs
- XpsFilter.cs
- ConnectionStringsExpressionEditor.cs
- CodeFieldReferenceExpression.cs
- SelectionItemProviderWrapper.cs
- XmlDigitalSignatureProcessor.cs
- RequestCachePolicyConverter.cs
- FilterException.cs
- ViewStateModeByIdAttribute.cs
- MemoryRecordBuffer.cs
- ResXResourceWriter.cs
- BaseValidatorDesigner.cs
- Scripts.cs
- SQLDecimalStorage.cs
- PersonalizationDictionary.cs
- RegistrySecurity.cs
- ControlPersister.cs
- ContentPlaceHolder.cs