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
- TreeViewItem.cs
- InputLanguageProfileNotifySink.cs
- SqlDataSource.cs
- HitTestResult.cs
- BooleanExpr.cs
- InterleavedZipPartStream.cs
- CommandLibraryHelper.cs
- UpdateManifestForBrowserApplication.cs
- SecurityKeyUsage.cs
- mansign.cs
- IIS7WorkerRequest.cs
- MediaSystem.cs
- RegistrySecurity.cs
- DesignerForm.cs
- RuntimeHelpers.cs
- ProfileGroupSettingsCollection.cs
- UrlPath.cs
- DefaultTextStore.cs
- File.cs
- Rotation3DKeyFrameCollection.cs
- AccessDataSourceView.cs
- DaylightTime.cs
- EnumConverter.cs
- ImportOptions.cs
- RequestCachingSection.cs
- CorePropertiesFilter.cs
- HtmlControlPersistable.cs
- XpsFixedPageReaderWriter.cs
- _AutoWebProxyScriptWrapper.cs
- DataGridViewColumnDesigner.cs
- StandardOleMarshalObject.cs
- AttributeQuery.cs
- BufferedWebEventProvider.cs
- Image.cs
- SiteOfOriginPart.cs
- CachedFontFamily.cs
- SiteMapNode.cs
- WebPartConnectionsCloseVerb.cs
- TextChange.cs
- ToolStripScrollButton.cs
- XmlNamespaceMapping.cs
- CatalogPart.cs
- WindowsSysHeader.cs
- CompilationSection.cs
- BinaryUtilClasses.cs
- documentsequencetextview.cs
- GridItemProviderWrapper.cs
- ServerReliableChannelBinder.cs
- Win32Exception.cs
- InputQueue.cs
- ServiceBusyException.cs
- VerificationAttribute.cs
- XmlILStorageConverter.cs
- AssemblyAssociatedContentFileAttribute.cs
- BadImageFormatException.cs
- ErrorRuntimeConfig.cs
- AssemblyCacheEntry.cs
- ProtocolsConfigurationEntry.cs
- TypeSystem.cs
- Mappings.cs
- CodeTypeOfExpression.cs
- DataObjectMethodAttribute.cs
- templategroup.cs
- ViewManagerAttribute.cs
- _UriSyntax.cs
- FileRecordSequenceHelper.cs
- ProcessHostConfigUtils.cs
- HandlerBase.cs
- HttpContextServiceHost.cs
- SmtpDigestAuthenticationModule.cs
- GridItemProviderWrapper.cs
- ReferencedCategoriesDocument.cs
- BindingMemberInfo.cs
- AuthenticationModuleElement.cs
- COM2ExtendedUITypeEditor.cs
- DatePickerDateValidationErrorEventArgs.cs
- DataGridState.cs
- DiagnosticsConfigurationHandler.cs
- SQLRoleProvider.cs
- X509CertificateClaimSet.cs
- InternalRelationshipCollection.cs
- PropertyGridCommands.cs
- HandleRef.cs
- GetReadStreamResult.cs
- CookieParameter.cs
- ImageButton.cs
- XhtmlBasicCalendarAdapter.cs
- IdnElement.cs
- GlobalizationSection.cs
- ToolStripContentPanelDesigner.cs
- CheckBoxRenderer.cs
- AutoGeneratedFieldProperties.cs
- Publisher.cs
- Nullable.cs
- TextCompositionManager.cs
- NativeWindow.cs
- WebPartConnectionsConfigureVerb.cs
- LexicalChunk.cs
- BezierSegment.cs
- PageWrapper.cs