Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ToolBarDesigner.cs
- StringValueConverter.cs
- Solver.cs
- PeerDuplexChannel.cs
- LongSumAggregationOperator.cs
- ContainerVisual.cs
- EventHandlerList.cs
- InvalidOperationException.cs
- ImpersonateTokenRef.cs
- XmlByteStreamReader.cs
- Rule.cs
- TextTreeRootNode.cs
- ClientScriptManager.cs
- PolyQuadraticBezierSegment.cs
- RTLAwareMessageBox.cs
- FigureHelper.cs
- ToolStripSplitStackLayout.cs
- PingReply.cs
- XamlReaderHelper.cs
- EntityDataSource.cs
- InputBuffer.cs
- Helpers.cs
- MimeParameters.cs
- XmlSchemaIdentityConstraint.cs
- EntityProviderServices.cs
- SliderAutomationPeer.cs
- SafeRightsManagementSessionHandle.cs
- DataGridRow.cs
- SoapMessage.cs
- CultureSpecificStringDictionary.cs
- ColumnHeader.cs
- OleDbSchemaGuid.cs
- UnauthorizedWebPart.cs
- PropertyDescriptorCollection.cs
- StylusLogic.cs
- ComAdminInterfaces.cs
- TreeViewEvent.cs
- RemoteX509AsymmetricSecurityKey.cs
- DesignOnlyAttribute.cs
- InvalidCommandTreeException.cs
- OletxResourceManager.cs
- NetworkStream.cs
- KeyTime.cs
- ObjectResult.cs
- ToolZone.cs
- XmlProcessingInstruction.cs
- DataViewSettingCollection.cs
- PageCatalogPart.cs
- BlurEffect.cs
- FactoryMaker.cs
- DataView.cs
- AuthenticationSchemesHelper.cs
- ILGenerator.cs
- __TransparentProxy.cs
- ThicknessAnimation.cs
- Graphics.cs
- PageMediaSize.cs
- webbrowsersite.cs
- RtfControls.cs
- NotifyCollectionChangedEventArgs.cs
- SafeNativeMethods.cs
- PreservationFileReader.cs
- HitTestDrawingContextWalker.cs
- DataTableReaderListener.cs
- Parsers.cs
- DictionarySectionHandler.cs
- XamlBrushSerializer.cs
- TableRow.cs
- SafeEventHandle.cs
- FileLevelControlBuilderAttribute.cs
- MediaContextNotificationWindow.cs
- ButtonBaseAdapter.cs
- ClientScriptManagerWrapper.cs
- DbProviderFactory.cs
- ItemDragEvent.cs
- DataBinding.cs
- ListViewHitTestInfo.cs
- SafeCoTaskMem.cs
- ValueQuery.cs
- _NtlmClient.cs
- XmlSchemaComplexType.cs
- NativeMethods.cs
- smtppermission.cs
- HtmlCalendarAdapter.cs
- ComponentRenameEvent.cs
- UriSectionData.cs
- HandleRef.cs
- SoapAttributeAttribute.cs
- QueryProcessor.cs
- WebOperationContext.cs
- BindingListCollectionView.cs
- CodeTypeDeclaration.cs
- DbProviderFactory.cs
- EdmEntityTypeAttribute.cs
- Context.cs
- PathFigureCollectionConverter.cs
- MenuScrollingVisibilityConverter.cs
- CollectionChangeEventArgs.cs
- DataGridBeginningEditEventArgs.cs
- KeyValueConfigurationCollection.cs