Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- AutoGeneratedFieldProperties.cs
- DataServiceException.cs
- CancellationTokenSource.cs
- MatrixConverter.cs
- ResourceDefaultValueAttribute.cs
- GenerateScriptTypeAttribute.cs
- ClassDataContract.cs
- XmlSchemaElement.cs
- CodeNamespaceCollection.cs
- SqlDataSourceCommandEventArgs.cs
- DocumentPageHost.cs
- LinkedList.cs
- FtpCachePolicyElement.cs
- RectKeyFrameCollection.cs
- AssemblyBuilder.cs
- BooleanProjectedSlot.cs
- XPathArrayIterator.cs
- WebPartCatalogCloseVerb.cs
- NotSupportedException.cs
- ContactManager.cs
- SkipQueryOptionExpression.cs
- FtpRequestCacheValidator.cs
- ContentType.cs
- QueryResults.cs
- DesignerValidationSummaryAdapter.cs
- VirtualPath.cs
- DataObjectCopyingEventArgs.cs
- RegisteredExpandoAttribute.cs
- VirtualizingStackPanel.cs
- PartialCachingAttribute.cs
- XsdDataContractImporter.cs
- ImageSourceConverter.cs
- ServiceManager.cs
- Clock.cs
- MetadataItemSerializer.cs
- LogWriteRestartAreaState.cs
- InvalidProgramException.cs
- XmlSchemaValidator.cs
- CatalogZone.cs
- DefaultAsyncDataDispatcher.cs
- Html32TextWriter.cs
- RootBuilder.cs
- CodeGen.cs
- SpecialNameAttribute.cs
- XmlDataProvider.cs
- IisTraceWebEventProvider.cs
- RtfToXamlReader.cs
- _IPv4Address.cs
- ShapingEngine.cs
- ValueTypeFixupInfo.cs
- RC2.cs
- SingleTagSectionHandler.cs
- ConfigurationLocation.cs
- FacetChecker.cs
- BitmapEffectGroup.cs
- BinaryOperationBinder.cs
- MessageQueuePermissionAttribute.cs
- CompiledAction.cs
- AmbientLight.cs
- PrtTicket_Public.cs
- PathFigureCollectionConverter.cs
- SingleAnimationBase.cs
- GenericPrincipal.cs
- BuildResult.cs
- ImpersonateTokenRef.cs
- XpsFilter.cs
- ContentFilePart.cs
- SymbolDocumentGenerator.cs
- AttributeUsageAttribute.cs
- TextBox.cs
- WizardStepBase.cs
- ToolStripOverflow.cs
- Column.cs
- GlyphRunDrawing.cs
- UrlAuthFailureHandler.cs
- AppliedDeviceFiltersDialog.cs
- HitTestWithPointDrawingContextWalker.cs
- EpmTargetTree.cs
- RequestCacheManager.cs
- MimeParameterWriter.cs
- RouteCollection.cs
- Rotation3DKeyFrameCollection.cs
- PasswordBoxAutomationPeer.cs
- ManagementDateTime.cs
- ByValueEqualityComparer.cs
- DataMemberAttribute.cs
- MediaElement.cs
- OleAutBinder.cs
- WizardStepBase.cs
- CategoryGridEntry.cs
- KeyFrames.cs
- ClientConfigurationHost.cs
- PermissionToken.cs
- SafeFindHandle.cs
- InputLanguageCollection.cs
- XmlnsCache.cs
- SynchronizationFilter.cs
- BuildProviderCollection.cs
- TemplateBindingExtension.cs
- PageCache.cs