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
- SqlFactory.cs
- SiteMap.cs
- Triangle.cs
- TemplateControlBuildProvider.cs
- GlyphManager.cs
- EarlyBoundInfo.cs
- TemplateInstanceAttribute.cs
- FixedSOMTableCell.cs
- CodeTypeReference.cs
- SafeNativeMethods.cs
- _ConnectionGroup.cs
- BadImageFormatException.cs
- XPathScanner.cs
- ModuleBuilder.cs
- RuntimeCompatibilityAttribute.cs
- EdmTypeAttribute.cs
- DoubleUtil.cs
- ItemAutomationPeer.cs
- Animatable.cs
- RemoteTokenFactory.cs
- SqlDataSourceDesigner.cs
- ContextStaticAttribute.cs
- CopyNamespacesAction.cs
- WebPartConnectionsCancelVerb.cs
- DataObject.cs
- GeneralTransformGroup.cs
- Hashtable.cs
- ColumnResizeAdorner.cs
- InternalMappingException.cs
- OutOfMemoryException.cs
- SqlGenericUtil.cs
- _HeaderInfoTable.cs
- RegionData.cs
- RelationshipConstraintValidator.cs
- SchemaNamespaceManager.cs
- CreateUserWizard.cs
- Automation.cs
- AudioFormatConverter.cs
- SqlDataSource.cs
- SelectionService.cs
- MessageBox.cs
- Brush.cs
- ListDependantCardsRequest.cs
- ServiceOperationListItemList.cs
- TemplatedWizardStep.cs
- PointAnimationUsingPath.cs
- Int64AnimationUsingKeyFrames.cs
- TagPrefixAttribute.cs
- CqlBlock.cs
- EntityContainer.cs
- CalendarDesigner.cs
- SelectionProviderWrapper.cs
- PropertyPathWorker.cs
- DataTableExtensions.cs
- IdentityReference.cs
- TouchesOverProperty.cs
- XmlSchemaSimpleTypeUnion.cs
- EventBuilder.cs
- BindUriHelper.cs
- AQNBuilder.cs
- ImageListUtils.cs
- EntryIndex.cs
- DeferredSelectedIndexReference.cs
- WpfXamlType.cs
- UiaCoreTypesApi.cs
- WebSysDefaultValueAttribute.cs
- ConnectionStringsExpressionBuilder.cs
- ServiceBuildProvider.cs
- HtmlInputPassword.cs
- SendMailErrorEventArgs.cs
- RelatedPropertyManager.cs
- NonParentingControl.cs
- GC.cs
- GPRECTF.cs
- EnumerableWrapperWeakToStrong.cs
- PropertyTabChangedEvent.cs
- Shape.cs
- AspNetHostingPermission.cs
- LockedActivityGlyph.cs
- SqlCacheDependencySection.cs
- PasswordTextContainer.cs
- WebEventTraceProvider.cs
- DelayedRegex.cs
- EmptyEnumerable.cs
- KeyManager.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- Sql8ExpressionRewriter.cs
- DataGridViewBindingCompleteEventArgs.cs
- ProfileGroupSettingsCollection.cs
- activationcontext.cs
- XslNumber.cs
- EdmToObjectNamespaceMap.cs
- SoapIncludeAttribute.cs
- HatchBrush.cs
- MatrixTransform.cs
- SQlBooleanStorage.cs
- HttpHandlerActionCollection.cs
- ClientBuildManagerCallback.cs
- FragmentQueryProcessor.cs
- TreeNodeStyleCollection.cs