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
- TabControl.cs
- CheckedListBox.cs
- EventLogPermissionEntry.cs
- SchemaType.cs
- XmlDataDocument.cs
- ValidationSummary.cs
- RegexFCD.cs
- GeneratedCodeAttribute.cs
- EditableTreeList.cs
- SqlOuterApplyReducer.cs
- MetabaseSettingsIis7.cs
- XmlNodeChangedEventArgs.cs
- _MultipleConnectAsync.cs
- ReadOnlyAttribute.cs
- EntityDesignerUtils.cs
- View.cs
- JapaneseCalendar.cs
- PathNode.cs
- DataGridViewRowPrePaintEventArgs.cs
- NullableFloatAverageAggregationOperator.cs
- StringInfo.cs
- BindingUtils.cs
- HttpHeaderCollection.cs
- ImplicitInputBrush.cs
- TransactionScope.cs
- DodSequenceMerge.cs
- PeerCollaboration.cs
- DataGridCellsPresenter.cs
- ContainerControl.cs
- TimeEnumHelper.cs
- SecurityTokenAuthenticator.cs
- SessionPageStatePersister.cs
- BlurEffect.cs
- PopupEventArgs.cs
- Resources.Designer.cs
- ImageBrush.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- SerializationSectionGroup.cs
- SqlDataSourceCache.cs
- SimpleBitVector32.cs
- PanelDesigner.cs
- ControlCommandSet.cs
- KeyGestureValueSerializer.cs
- IIS7WorkerRequest.cs
- ListViewItemEventArgs.cs
- PermissionListSet.cs
- CodeMemberField.cs
- SqlDataSourceSelectingEventArgs.cs
- HttpApplicationFactory.cs
- WsdlInspector.cs
- DateTimeFormat.cs
- EdmRelationshipRoleAttribute.cs
- EventSourceCreationData.cs
- StoreAnnotationsMap.cs
- ExtensionWindowResizeGrip.cs
- LicFileLicenseProvider.cs
- WebServiceTypeData.cs
- SiteMembershipCondition.cs
- HtmlTitle.cs
- XmlSchemaIdentityConstraint.cs
- ValueType.cs
- X509CertificateChain.cs
- BitmapVisualManager.cs
- SchemaContext.cs
- TrackingServices.cs
- TdsParserSafeHandles.cs
- Vector3DAnimationUsingKeyFrames.cs
- GatewayDefinition.cs
- CriticalHandle.cs
- ZipIOExtraFieldPaddingElement.cs
- SmiConnection.cs
- ListItemConverter.cs
- TypeDefinition.cs
- HwndSource.cs
- CustomAttributeBuilder.cs
- SubMenuStyle.cs
- GPPOINTF.cs
- ButtonStandardAdapter.cs
- DataGridViewCellStateChangedEventArgs.cs
- DiscardableAttribute.cs
- ViewService.cs
- ToolStripDropDownClosedEventArgs.cs
- AdornerPresentationContext.cs
- ConfigXmlComment.cs
- TdsEnums.cs
- UnSafeCharBuffer.cs
- EventlogProvider.cs
- CommandField.cs
- columnmapkeybuilder.cs
- LocalizationComments.cs
- EntityDesignerDataSourceView.cs
- WinFormsUtils.cs
- XsltSettings.cs
- PropertyBuilder.cs
- ConfigurationLockCollection.cs
- WpfKnownType.cs
- DecoderBestFitFallback.cs
- ParserExtension.cs
- PeerService.cs
- DataChangedEventManager.cs