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
- counter.cs
- Cloud.cs
- NativeRecognizer.cs
- ExpandCollapseProviderWrapper.cs
- RelationshipConverter.cs
- SettingsSavedEventArgs.cs
- DateRangeEvent.cs
- OleDbStruct.cs
- MsmqHostedTransportManager.cs
- PerformanceCounterCategory.cs
- XmlDeclaration.cs
- errorpatternmatcher.cs
- PictureBox.cs
- DataControlFieldCell.cs
- SubstitutionList.cs
- ConfigurationElementCollection.cs
- PolicyValidationException.cs
- NegotiationTokenAuthenticatorStateCache.cs
- PropertyMapper.cs
- SRGSCompiler.cs
- GridViewItemAutomationPeer.cs
- SvcMapFileLoader.cs
- X509SecurityTokenProvider.cs
- Duration.cs
- UnicastIPAddressInformationCollection.cs
- TransformedBitmap.cs
- OleDbDataReader.cs
- ExpressionEvaluator.cs
- CommonDialog.cs
- DataSourceCollectionBase.cs
- ToggleButton.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- BitVector32.cs
- ToolStripContentPanel.cs
- DbConnectionPool.cs
- basecomparevalidator.cs
- NamespaceInfo.cs
- BooleanProjectedSlot.cs
- FacetValueContainer.cs
- path.cs
- Lease.cs
- DesignTimeParseData.cs
- Guid.cs
- UnsafeNativeMethodsPenimc.cs
- PkcsMisc.cs
- DynamicPropertyReader.cs
- NumericUpDown.cs
- EncoderBestFitFallback.cs
- EntityContainerEmitter.cs
- FieldBuilder.cs
- ExceptionHandler.cs
- ControlIdConverter.cs
- IgnorePropertiesAttribute.cs
- AsyncOperationManager.cs
- Internal.cs
- DrawingContextDrawingContextWalker.cs
- XmlBinaryReader.cs
- UndoManager.cs
- CacheMode.cs
- XmlResolver.cs
- DrawItemEvent.cs
- KeyedHashAlgorithm.cs
- DBBindings.cs
- TrustSection.cs
- MediaScriptCommandRoutedEventArgs.cs
- TextEditorThreadLocalStore.cs
- WindowCollection.cs
- DeviceSpecificChoiceCollection.cs
- QualificationDataItem.cs
- NumericUpDownAcceleration.cs
- ApplicationTrust.cs
- ManagementOptions.cs
- SerTrace.cs
- DynamicQueryableWrapper.cs
- XMLSchema.cs
- RadioButtonList.cs
- TrackingMemoryStreamFactory.cs
- EnterpriseServicesHelper.cs
- ClientApiGenerator.cs
- BamlLocalizableResourceKey.cs
- CacheEntry.cs
- TraceContextEventArgs.cs
- AsymmetricKeyExchangeFormatter.cs
- NetSectionGroup.cs
- TextEffectResolver.cs
- PathTooLongException.cs
- CrossSiteScriptingValidation.cs
- Transactions.cs
- ChannelManager.cs
- XmlAtomicValue.cs
- Filter.cs
- FragmentNavigationEventArgs.cs
- TemplateLookupAction.cs
- KeyboardEventArgs.cs
- QuestionEventArgs.cs
- IndentedWriter.cs
- __Error.cs
- CacheDependency.cs
- ButtonBase.cs
- Soap.cs