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
- ReadWriteObjectLock.cs
- MsmqProcessProtocolHandler.cs
- ImageKeyConverter.cs
- InstanceCreationEditor.cs
- SecurityTokenAuthenticator.cs
- BitmapMetadataEnumerator.cs
- HorizontalAlignConverter.cs
- OdbcRowUpdatingEvent.cs
- LocalizabilityAttribute.cs
- MimeObjectFactory.cs
- DataViewManager.cs
- UInt64Converter.cs
- OSFeature.cs
- StreamGeometry.cs
- UnsafeNativeMethods.cs
- FrameworkReadOnlyPropertyMetadata.cs
- PaginationProgressEventArgs.cs
- AsnEncodedData.cs
- EntryIndex.cs
- TaiwanCalendar.cs
- DataPagerFieldCollection.cs
- WebPartCancelEventArgs.cs
- PropertyCondition.cs
- DataPagerCommandEventArgs.cs
- FixedDSBuilder.cs
- TableCell.cs
- UnsafeNativeMethodsPenimc.cs
- GradientSpreadMethodValidation.cs
- HttpHeaderCollection.cs
- XPathQilFactory.cs
- BuildManager.cs
- StringExpressionSet.cs
- SupportingTokenChannel.cs
- ExpressionsCollectionConverter.cs
- WS2007HttpBindingCollectionElement.cs
- ResourceAttributes.cs
- AtomServiceDocumentSerializer.cs
- PropertyChangedEventManager.cs
- SocketCache.cs
- XmlQueryContext.cs
- ConnectionPoolManager.cs
- FileReservationCollection.cs
- Pair.cs
- ControlBuilder.cs
- HttpStreamMessage.cs
- CodeArrayCreateExpression.cs
- UpdatePanelControlTrigger.cs
- Axis.cs
- WebPartConnectionsEventArgs.cs
- StandardOleMarshalObject.cs
- MailAddressCollection.cs
- SizeAnimation.cs
- Drawing.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- GraphicsContainer.cs
- SystemResources.cs
- UnmanagedMemoryStreamWrapper.cs
- NumericUpDownAccelerationCollection.cs
- SecurityTokenAttachmentMode.cs
- IntermediatePolicyValidator.cs
- MultipleViewPattern.cs
- DateTimeSerializationSection.cs
- Cursors.cs
- ToolStripMenuItem.cs
- EmptyCollection.cs
- SystemThemeKey.cs
- HttpModuleActionCollection.cs
- LZCodec.cs
- EntityDataSourceView.cs
- CollectionView.cs
- SignalGate.cs
- DeleteStoreRequest.cs
- VectorConverter.cs
- Quack.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ProviderCommandInfoUtils.cs
- ArrayExtension.cs
- MetadataSource.cs
- RoleServiceManager.cs
- MetadataCacheItem.cs
- SolidColorBrush.cs
- FieldNameLookup.cs
- XmlSchemaInclude.cs
- ArgumentDesigner.xaml.cs
- XPathNode.cs
- InputLanguage.cs
- Highlights.cs
- ProtocolsSection.cs
- ClientProxyGenerator.cs
- CqlIdentifiers.cs
- UpdateRecord.cs
- SchemaTableColumn.cs
- BooleanFunctions.cs
- ChannelServices.cs
- BamlLocalizableResourceKey.cs
- OutputScopeManager.cs
- DictionaryManager.cs
- FontUnitConverter.cs
- HitTestFilterBehavior.cs
- MailDefinition.cs