Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DiscardableAttribute.cs
- StrokeSerializer.cs
- SocketManager.cs
- HideDisabledControlAdapter.cs
- ProfessionalColorTable.cs
- SpeechSeg.cs
- HierarchicalDataBoundControl.cs
- GridViewAutomationPeer.cs
- WriteFileContext.cs
- DecoderBestFitFallback.cs
- Helpers.cs
- SqlHelper.cs
- CurrentChangingEventArgs.cs
- DoubleLinkList.cs
- NumericUpDownAcceleration.cs
- BindingManagerDataErrorEventArgs.cs
- AssociatedControlConverter.cs
- ComPlusServiceLoader.cs
- ApplySecurityAndSendAsyncResult.cs
- BaseParagraph.cs
- SafeProcessHandle.cs
- DataServiceProcessingPipeline.cs
- XmlEntity.cs
- BindingElement.cs
- HostedImpersonationContext.cs
- Scanner.cs
- AsyncResult.cs
- WebServiceReceiveDesigner.cs
- ConfigXmlComment.cs
- ModelPropertyDescriptor.cs
- PaperSource.cs
- InternalConfigSettingsFactory.cs
- RawStylusSystemGestureInputReport.cs
- UnaryNode.cs
- XmlSchemaSet.cs
- ControlPropertyNameConverter.cs
- ISAPIWorkerRequest.cs
- BuildResultCache.cs
- TrackingQuery.cs
- X509Certificate2Collection.cs
- CompilerTypeWithParams.cs
- CharacterString.cs
- CoordinationService.cs
- TableCell.cs
- BitmapFrameDecode.cs
- CaseInsensitiveComparer.cs
- ItemCollection.cs
- ReturnEventArgs.cs
- EncodingTable.cs
- XsdCachingReader.cs
- CallbackException.cs
- ClientBuildManagerCallback.cs
- ValidationSummary.cs
- WebPartsPersonalization.cs
- DeflateEmulationStream.cs
- AccessDataSourceView.cs
- COAUTHIDENTITY.cs
- Console.cs
- MSHTMLHost.cs
- BCryptSafeHandles.cs
- Rfc2898DeriveBytes.cs
- SoapInteropTypes.cs
- CreateUserWizardDesigner.cs
- DesignerProperties.cs
- control.ime.cs
- NavigationFailedEventArgs.cs
- OperatingSystem.cs
- Content.cs
- EmptyWorkItem.cs
- BitmapVisualManager.cs
- HotCommands.cs
- TabControl.cs
- XmlSchemaAnyAttribute.cs
- SchemaDeclBase.cs
- WindowsFormsHostPropertyMap.cs
- MessageSmuggler.cs
- GraphicsPathIterator.cs
- TableItemPatternIdentifiers.cs
- ExecutedRoutedEventArgs.cs
- UnsafeNativeMethods.cs
- Int64Converter.cs
- EdgeModeValidation.cs
- IconHelper.cs
- TypeValidationEventArgs.cs
- ProviderConnectionPoint.cs
- SocketManager.cs
- TraceHandlerErrorFormatter.cs
- StickyNoteAnnotations.cs
- WebBrowserBase.cs
- ContextStaticAttribute.cs
- CompiledWorkflowDefinitionContext.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- ModelItemImpl.cs
- DataObjectMethodAttribute.cs
- XmlEventCache.cs
- BreadCrumbTextConverter.cs
- BindingManagerDataErrorEventArgs.cs
- EventLogEntry.cs
- InvalidateEvent.cs
- ProcessProtocolHandler.cs