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
- RegexRunner.cs
- SessionIDManager.cs
- AddInStore.cs
- EntityReference.cs
- ExpressionBindingCollection.cs
- SizeConverter.cs
- UICuesEvent.cs
- DocumentStatusResources.cs
- ResourceProviderFactory.cs
- KernelTypeValidation.cs
- milrender.cs
- GenericAuthenticationEventArgs.cs
- KeyInstance.cs
- CodeTypeReference.cs
- WindowsComboBox.cs
- StaticSiteMapProvider.cs
- ParserHooks.cs
- OdbcConnectionPoolProviderInfo.cs
- GridItemPatternIdentifiers.cs
- DispatchChannelSink.cs
- IDictionary.cs
- TableCellCollection.cs
- TypeValidationEventArgs.cs
- ViewBase.cs
- LinqDataSourceInsertEventArgs.cs
- CompositeFontFamily.cs
- CursorInteropHelper.cs
- SqlSelectClauseBuilder.cs
- SqlSupersetValidator.cs
- SqlCacheDependencySection.cs
- BinaryReader.cs
- WindowsToolbar.cs
- Configuration.cs
- ToolboxBitmapAttribute.cs
- EmptyReadOnlyDictionaryInternal.cs
- WorkflowDefinitionDispenser.cs
- MouseBinding.cs
- TagPrefixInfo.cs
- MappingModelBuildProvider.cs
- SqlTypeSystemProvider.cs
- GridViewSortEventArgs.cs
- WorkflowOperationInvoker.cs
- GridItemProviderWrapper.cs
- OpenFileDialog.cs
- XMLSyntaxException.cs
- CustomPopupPlacement.cs
- RandomNumberGenerator.cs
- TextReader.cs
- MouseActionConverter.cs
- ObjectDesignerDataSourceView.cs
- ServiceEndpointAssociationProvider.cs
- ScrollBar.cs
- TrackingProfile.cs
- PropertyGeneratedEventArgs.cs
- CmsInterop.cs
- IPCCacheManager.cs
- SemaphoreSecurity.cs
- StackOverflowException.cs
- BooleanFunctions.cs
- ObservableCollection.cs
- AutoResizedEvent.cs
- ValueExpressions.cs
- HandlerWithFactory.cs
- RegexCharClass.cs
- Imaging.cs
- RawTextInputReport.cs
- SharedPerformanceCounter.cs
- PropertyEmitterBase.cs
- BooleanToVisibilityConverter.cs
- OneOfConst.cs
- CodeFieldReferenceExpression.cs
- Header.cs
- mansign.cs
- ClientConfigurationSystem.cs
- DataObject.cs
- SHA384Managed.cs
- WinFormsUtils.cs
- Psha1DerivedKeyGenerator.cs
- RightsManagementEncryptionTransform.cs
- PreProcessInputEventArgs.cs
- util.cs
- InternalCache.cs
- InvokeHandlers.cs
- XmlSerializableWriter.cs
- QilInvoke.cs
- Sentence.cs
- BoolExpression.cs
- GC.cs
- SafeProcessHandle.cs
- XhtmlConformanceSection.cs
- WebPartConnectionsEventArgs.cs
- ColorTransform.cs
- XmlAnyAttributeAttribute.cs
- MetadataHelper.cs
- SuppressMergeCheckAttribute.cs
- PermissionSet.cs
- PriorityQueue.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- IndexedWhereQueryOperator.cs
- ListBindableAttribute.cs