Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SafeArrayTypeMismatchException.cs
- Context.cs
- TemplateContainer.cs
- HiddenFieldPageStatePersister.cs
- LocalizationParserHooks.cs
- TreeChangeInfo.cs
- ContractComponent.cs
- HttpDictionary.cs
- PopupRoot.cs
- ImageFormatConverter.cs
- Span.cs
- BindingParameterCollection.cs
- DefinitionUpdate.cs
- HierarchicalDataBoundControlAdapter.cs
- LocatorPartList.cs
- RangeEnumerable.cs
- MessageQueueAccessControlEntry.cs
- UnknownBitmapEncoder.cs
- ControlParameter.cs
- NativeWindow.cs
- CompilationUnit.cs
- LinqDataView.cs
- unsafenativemethodsother.cs
- NullExtension.cs
- ScriptingRoleServiceSection.cs
- NumberSubstitution.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- SoapIncludeAttribute.cs
- DesignerObjectListAdapter.cs
- InputLangChangeEvent.cs
- CustomValidator.cs
- storepermissionattribute.cs
- MetadataArtifactLoaderResource.cs
- FunctionGenerator.cs
- WebPartConnectionCollection.cs
- UsernameTokenFactoryCredential.cs
- SelectorItemAutomationPeer.cs
- UInt32.cs
- CodeEntryPointMethod.cs
- XmlSerializerAssemblyAttribute.cs
- BasicKeyConstraint.cs
- ConnectionsZoneDesigner.cs
- MembershipUser.cs
- UnsafeNativeMethods.cs
- DrawingState.cs
- InputMethodStateChangeEventArgs.cs
- ScrollItemProviderWrapper.cs
- MethodExpr.cs
- CheckBoxField.cs
- PagedControl.cs
- RectAnimationUsingKeyFrames.cs
- PerfCounters.cs
- HMACRIPEMD160.cs
- PipelineModuleStepContainer.cs
- IsolatedStorageFileStream.cs
- XmlNodeReader.cs
- HttpCapabilitiesEvaluator.cs
- XamlFilter.cs
- NavigationProperty.cs
- AppearanceEditorPart.cs
- IPipelineRuntime.cs
- GotoExpression.cs
- ShaperBuffers.cs
- AsyncOperationManager.cs
- ParameterExpression.cs
- Int32RectConverter.cs
- MarkupWriter.cs
- TextEndOfParagraph.cs
- RtfToken.cs
- RenderDataDrawingContext.cs
- SQLByte.cs
- SelectionGlyph.cs
- XPathScanner.cs
- AggregationMinMaxHelpers.cs
- SchemaElementLookUpTable.cs
- RenderingBiasValidation.cs
- ListControl.cs
- BindingExpression.cs
- EncryptedData.cs
- CompiledRegexRunnerFactory.cs
- QuaternionRotation3D.cs
- GlobalizationSection.cs
- PrintPreviewDialog.cs
- PropertyGridEditorPart.cs
- XmlCountingReader.cs
- EntityConnection.cs
- FillErrorEventArgs.cs
- TableAutomationPeer.cs
- QueryBranchOp.cs
- HashHelper.cs
- SqlInfoMessageEvent.cs
- unsafeIndexingFilterStream.cs
- FormsAuthenticationCredentials.cs
- ExpandableObjectConverter.cs
- StylusPointProperties.cs
- PersistChildrenAttribute.cs
- UpdatePanelTriggerCollection.cs
- RegexRunnerFactory.cs
- TextRange.cs
- Stylesheet.cs