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
- SecurityContext.cs
- TraceHandlerErrorFormatter.cs
- DataTransferEventArgs.cs
- JapaneseCalendar.cs
- ImpersonationContext.cs
- TraceListeners.cs
- UIElementParagraph.cs
- Helpers.cs
- SqlFormatter.cs
- BindingCompleteEventArgs.cs
- RequiredFieldValidator.cs
- HttpInputStream.cs
- Identifier.cs
- WebPartTransformer.cs
- DataGridViewCellCollection.cs
- HtmlInputHidden.cs
- FixedLineResult.cs
- Pens.cs
- CompilationRelaxations.cs
- QueryParameter.cs
- ExpressionLexer.cs
- TypeConverterValueSerializer.cs
- MasterPageParser.cs
- ValidationHelper.cs
- MetadataPropertyvalue.cs
- SymbolMethod.cs
- ItemsChangedEventArgs.cs
- RepeaterItem.cs
- IgnorePropertiesAttribute.cs
- RequestQueue.cs
- UserControlBuildProvider.cs
- SectionUpdates.cs
- _TransmitFileOverlappedAsyncResult.cs
- XmlNullResolver.cs
- DataPagerFieldCollection.cs
- DnsPermission.cs
- RootBuilder.cs
- SelectionEditingBehavior.cs
- WebPartDisplayModeCancelEventArgs.cs
- _FtpDataStream.cs
- Header.cs
- ObjectQueryExecutionPlan.cs
- ConfigXmlReader.cs
- CatalogZoneBase.cs
- ScriptControl.cs
- BasicCellRelation.cs
- SelectionProcessor.cs
- safelinkcollection.cs
- SqlConnectionPoolProviderInfo.cs
- TablePattern.cs
- RuntimeEnvironment.cs
- SubordinateTransaction.cs
- AccessDataSourceView.cs
- ProgressBarBrushConverter.cs
- StringFormat.cs
- Highlights.cs
- PagerSettings.cs
- UIElement3DAutomationPeer.cs
- CodeDomSerializationProvider.cs
- Internal.cs
- ListenerElementsCollection.cs
- SafeArrayTypeMismatchException.cs
- CustomError.cs
- CryptoStream.cs
- XmlAnyElementAttributes.cs
- ScriptIgnoreAttribute.cs
- CompilerParameters.cs
- LinqDataSourceValidationException.cs
- PointLightBase.cs
- SetUserLanguageRequest.cs
- Renderer.cs
- WeakEventManager.cs
- ReverseInheritProperty.cs
- SimpleWorkerRequest.cs
- ExtentJoinTreeNode.cs
- InkCanvasAutomationPeer.cs
- RegistryPermission.cs
- ObjectStateManager.cs
- CompositeControl.cs
- CodeTryCatchFinallyStatement.cs
- VerificationException.cs
- WebPartsSection.cs
- IPEndPoint.cs
- QueryTask.cs
- SafeSystemMetrics.cs
- ToolStripDropTargetManager.cs
- XmlSerializationReader.cs
- ImageEditor.cs
- ContextMenuStripGroupCollection.cs
- DataGrid.cs
- EventLogEntry.cs
- SafeTimerHandle.cs
- DocumentSchemaValidator.cs
- BitVector32.cs
- ConstructorExpr.cs
- ItemAutomationPeer.cs
- Stacktrace.cs
- CommonRemoteMemoryBlock.cs
- SettingsAttributeDictionary.cs
- CompositeDispatchFormatter.cs