Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ItemCheckEvent.cs / 1305376 / 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
- TemplateXamlParser.cs
- GroupStyle.cs
- MetadataException.cs
- ClickablePoint.cs
- RadioButton.cs
- SettingsProviderCollection.cs
- RIPEMD160Managed.cs
- WorkflowLayouts.cs
- DataControlField.cs
- TrimSurroundingWhitespaceAttribute.cs
- SplitContainerDesigner.cs
- IDQuery.cs
- LoginDesignerUtil.cs
- safex509handles.cs
- NullableIntMinMaxAggregationOperator.cs
- MembershipUser.cs
- DesignerDataConnection.cs
- OleDbSchemaGuid.cs
- BinaryObjectWriter.cs
- XmlResolver.cs
- CaseCqlBlock.cs
- LostFocusEventManager.cs
- ComponentEditorForm.cs
- WebPartDisplayModeCollection.cs
- CompensableActivity.cs
- WrappedIUnknown.cs
- PixelFormats.cs
- WebPartCatalogAddVerb.cs
- SqlTriggerContext.cs
- DataObjectMethodAttribute.cs
- AssemblyAttributes.cs
- RawStylusActions.cs
- TreeBuilder.cs
- SqlMultiplexer.cs
- Calendar.cs
- ActivityWithResultConverter.cs
- EventEntry.cs
- SettingsPropertyCollection.cs
- DataControlFieldCell.cs
- LineGeometry.cs
- ReaderContextStackData.cs
- ImageListStreamer.cs
- MaskedTextBox.cs
- DataControlFieldCollection.cs
- FrameworkContentElementAutomationPeer.cs
- StateManagedCollection.cs
- Delegate.cs
- ServerProtocol.cs
- CookieParameter.cs
- ChangePassword.cs
- EntityAdapter.cs
- Error.cs
- DataPagerFieldCollection.cs
- ToolStripItemClickedEventArgs.cs
- InsufficientMemoryException.cs
- FixedSOMElement.cs
- sqlcontext.cs
- X509CertificateTokenFactoryCredential.cs
- IDReferencePropertyAttribute.cs
- PersonalizationStateInfoCollection.cs
- WindowsListBox.cs
- HtmlShimManager.cs
- FontCacheUtil.cs
- FigureHelper.cs
- ArgumentValue.cs
- DataPagerField.cs
- safemediahandle.cs
- SqlCommandBuilder.cs
- ToolboxItem.cs
- ExtractCollection.cs
- PerfService.cs
- InvokeGenerator.cs
- Filter.cs
- DesignTimeVisibleAttribute.cs
- SecurityDocument.cs
- FontFamily.cs
- Brushes.cs
- StrongNameIdentityPermission.cs
- HttpStreamXmlDictionaryReader.cs
- PointConverter.cs
- DataGridViewCellLinkedList.cs
- Event.cs
- FormViewInsertEventArgs.cs
- XAMLParseException.cs
- XamlReaderConstants.cs
- HeaderedContentControl.cs
- ChangesetResponse.cs
- StandardTransformFactory.cs
- TextBlockAutomationPeer.cs
- ConfigsHelper.cs
- WinCategoryAttribute.cs
- HttpContextBase.cs
- TreeNodeMouseHoverEvent.cs
- Parameter.cs
- TokenBasedSet.cs
- CodeDirectiveCollection.cs
- HttpValueCollection.cs
- PolicyLevel.cs
- AssemblyAssociatedContentFileAttribute.cs
- DesignerActionUIService.cs