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
- RoleManagerSection.cs
- CharKeyFrameCollection.cs
- ApplicationDirectoryMembershipCondition.cs
- NamespaceTable.cs
- PolyBezierSegmentFigureLogic.cs
- TableCell.cs
- FieldToken.cs
- ObjectQuery_EntitySqlExtensions.cs
- UserControl.cs
- EmbeddedMailObject.cs
- ProfileSettings.cs
- WebPartEditorApplyVerb.cs
- ReaderContextStackData.cs
- PageBuildProvider.cs
- SharedPersonalizationStateInfo.cs
- PtsHelper.cs
- PropertyMapper.cs
- DrawingContextDrawingContextWalker.cs
- SiteMapPath.cs
- CodeTypeDeclaration.cs
- ClientBuildManager.cs
- ToolBar.cs
- SystemUnicastIPAddressInformation.cs
- SmiContext.cs
- WebBaseEventKeyComparer.cs
- ResourceType.cs
- ModuleBuilderData.cs
- ViewgenGatekeeper.cs
- CompositionTarget.cs
- SpecialFolderEnumConverter.cs
- Light.cs
- Ipv6Element.cs
- CalendarTable.cs
- XmlCustomFormatter.cs
- XmlQueryCardinality.cs
- GenericUriParser.cs
- QilGeneratorEnv.cs
- CurrentChangingEventManager.cs
- CanonicalizationDriver.cs
- SafeHandle.cs
- JsonDeserializer.cs
- GlobalItem.cs
- TypeDelegator.cs
- AtomServiceDocumentSerializer.cs
- FilterEventArgs.cs
- DesignerActionHeaderItem.cs
- ViewManagerAttribute.cs
- XamlPointCollectionSerializer.cs
- SortDescriptionCollection.cs
- Attributes.cs
- CookieProtection.cs
- DBConnection.cs
- CellTreeNode.cs
- Trace.cs
- SecurityDescriptor.cs
- FrameworkReadOnlyPropertyMetadata.cs
- Point3DCollectionValueSerializer.cs
- ApplicationFileParser.cs
- OpenTypeLayout.cs
- ConnectionsZone.cs
- ListControlConvertEventArgs.cs
- WorkItem.cs
- TextRunCacheImp.cs
- NestedContainer.cs
- AssemblyResourceLoader.cs
- ImportDesigner.xaml.cs
- DetailsViewPagerRow.cs
- InternalControlCollection.cs
- NumberFormatInfo.cs
- SmtpNetworkElement.cs
- BinaryObjectWriter.cs
- AspNetHostingPermission.cs
- DescendantOverDescendantQuery.cs
- VerificationException.cs
- DataServices.cs
- SecurityContext.cs
- SafeEventLogWriteHandle.cs
- UnsafeNativeMethodsMilCoreApi.cs
- PluralizationService.cs
- SmiMetaData.cs
- Metadata.cs
- DataServiceQueryException.cs
- ImageFormat.cs
- RegexGroup.cs
- BuilderInfo.cs
- LinearQuaternionKeyFrame.cs
- TextEndOfLine.cs
- SrgsDocumentParser.cs
- URLAttribute.cs
- DataGridViewComboBoxColumn.cs
- CDSCollectionETWBCLProvider.cs
- SupportsEventValidationAttribute.cs
- IPipelineRuntime.cs
- DataProviderNameConverter.cs
- HandlerWithFactory.cs
- XmlAttributeOverrides.cs
- HostProtectionException.cs
- Span.cs
- CodeAssignStatement.cs
- WebPartConnectionsDisconnectVerb.cs