Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ConfigurationSectionCollection.cs
- SystemDropShadowChrome.cs
- TokenBasedSetEnumerator.cs
- DbException.cs
- EventRecord.cs
- XmlValueConverter.cs
- ReferencedType.cs
- InputScopeNameConverter.cs
- IsolatedStorageFilePermission.cs
- SerializationSectionGroup.cs
- KeyProperty.cs
- FixedDocumentPaginator.cs
- ParenthesizePropertyNameAttribute.cs
- EventBuilder.cs
- Size3D.cs
- ColumnHeader.cs
- MailDefinitionBodyFileNameEditor.cs
- ScriptControlDescriptor.cs
- UrlAuthFailedErrorFormatter.cs
- DashStyles.cs
- DynamicActionMessageFilter.cs
- ValidatedControlConverter.cs
- Dispatcher.cs
- Model3DGroup.cs
- ModelItemDictionaryImpl.cs
- DrawingContextDrawingContextWalker.cs
- EditingMode.cs
- ActivityXRefConverter.cs
- ByteStream.cs
- InvokePattern.cs
- Int64Storage.cs
- DispatchChannelSink.cs
- XsdDateTime.cs
- MLangCodePageEncoding.cs
- MessageEnumerator.cs
- JapaneseLunisolarCalendar.cs
- SerializationFieldInfo.cs
- DynamicPhysicalDiscoSearcher.cs
- XmlSignificantWhitespace.cs
- XpsResourceDictionary.cs
- FrugalMap.cs
- XmlTextReaderImpl.cs
- IRCollection.cs
- InfocardInteractiveChannelInitializer.cs
- ECDsa.cs
- SoapObjectInfo.cs
- SqlUserDefinedAggregateAttribute.cs
- ImageSource.cs
- IPPacketInformation.cs
- AssertHelper.cs
- Closure.cs
- DetailsViewRowCollection.cs
- WeakRefEnumerator.cs
- ModuleElement.cs
- ListBindingConverter.cs
- DeviceContexts.cs
- Menu.cs
- PowerModeChangedEventArgs.cs
- Button.cs
- ToolStripMenuItemDesigner.cs
- JournalNavigationScope.cs
- ToolBarTray.cs
- XmlSchemaValidationException.cs
- KeyNotFoundException.cs
- Mouse.cs
- EnumerableRowCollection.cs
- BuildManagerHost.cs
- SafeArchiveContext.cs
- WindowsIdentity.cs
- ObjectQuery.cs
- ModelUtilities.cs
- XmlStreamStore.cs
- TaskHelper.cs
- RtfToken.cs
- ToolStripContainer.cs
- ExceptionRoutedEventArgs.cs
- metadatamappinghashervisitor.cs
- Compiler.cs
- DecimalStorage.cs
- TableRow.cs
- EventDescriptorCollection.cs
- DbMetaDataColumnNames.cs
- SafeNativeMethodsOther.cs
- DataSourceHelper.cs
- TileModeValidation.cs
- XmlCharType.cs
- NativeMethods.cs
- ListView.cs
- DispatchChannelSink.cs
- NamespaceExpr.cs
- errorpatternmatcher.cs
- Viewport2DVisual3D.cs
- TTSEvent.cs
- TokenizerHelper.cs
- Models.cs
- StrokeNodeData.cs
- ModifiableIteratorCollection.cs
- ExpressionBuilderCollection.cs
- ImageIndexConverter.cs
- TypeInitializationException.cs