Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FilterQuery.cs
- InvalidComObjectException.cs
- PropertyInfoSet.cs
- DmlSqlGenerator.cs
- OutOfMemoryException.cs
- OptionUsage.cs
- FontFamilyIdentifier.cs
- StylusPlugInCollection.cs
- SrgsElementFactory.cs
- DefaultSection.cs
- GridViewSelectEventArgs.cs
- StateChangeEvent.cs
- Transform3DGroup.cs
- Point3DKeyFrameCollection.cs
- BinaryConverter.cs
- SqlDataSourceSelectingEventArgs.cs
- TextElementCollectionHelper.cs
- RuntimeIdentifierPropertyAttribute.cs
- ExtractCollection.cs
- XmlSecureResolver.cs
- X509RawDataKeyIdentifierClause.cs
- RuleConditionDialog.cs
- PatternMatcher.cs
- LinqDataSourceDisposeEventArgs.cs
- PolyLineSegment.cs
- GacUtil.cs
- FileSecurity.cs
- RenamedEventArgs.cs
- IPHostEntry.cs
- EdmPropertyAttribute.cs
- SynthesizerStateChangedEventArgs.cs
- EventLogPermissionEntry.cs
- HasCopySemanticsAttribute.cs
- DataGridItemCollection.cs
- ImmutableObjectAttribute.cs
- TraceRecord.cs
- WmlPanelAdapter.cs
- DesignerActionPanel.cs
- TableSectionStyle.cs
- Attachment.cs
- SelectedDatesCollection.cs
- DesignTimeParseData.cs
- Boolean.cs
- IPAddress.cs
- QilXmlWriter.cs
- AccessedThroughPropertyAttribute.cs
- PeerInvitationResponse.cs
- SkewTransform.cs
- Matrix3D.cs
- ImageBrush.cs
- Properties.cs
- ReachFixedPageSerializer.cs
- XamlDesignerSerializationManager.cs
- RegexFCD.cs
- FlatButtonAppearance.cs
- CompiledQueryCacheEntry.cs
- OutputScopeManager.cs
- AsymmetricKeyExchangeFormatter.cs
- PropertyBuilder.cs
- ExecutorLocksHeldException.cs
- XamlStyleSerializer.cs
- HttpWriter.cs
- RC2.cs
- ParameterElementCollection.cs
- UserControlParser.cs
- RenderOptions.cs
- WebConfigurationFileMap.cs
- TextSimpleMarkerProperties.cs
- Cursors.cs
- Math.cs
- CompositeTypefaceMetrics.cs
- FloatAverageAggregationOperator.cs
- WindowsListViewItemStartMenu.cs
- DataPagerCommandEventArgs.cs
- ServiceBehaviorElement.cs
- SelectorItemAutomationPeer.cs
- PackageFilter.cs
- PagedDataSource.cs
- SafeViewOfFileHandle.cs
- _AutoWebProxyScriptHelper.cs
- TargetPerspective.cs
- XmlCharCheckingWriter.cs
- TargetException.cs
- SettingsPropertyWrongTypeException.cs
- ProviderException.cs
- AsymmetricCryptoHandle.cs
- MultiView.cs
- GridErrorDlg.cs
- ResponseBodyWriter.cs
- BitStream.cs
- XmlCompatibilityReader.cs
- CommonDialog.cs
- Marshal.cs
- XmlAttributes.cs
- InternalSendMessage.cs
- ResourceManager.cs
- UTF32Encoding.cs
- InternalSafeNativeMethods.cs
- NameSpaceEvent.cs
- BaseProcessProtocolHandler.cs