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
- Object.cs
- SafeNativeMethods.cs
- NativeBuffer.cs
- FunctionParameter.cs
- SrgsElementFactory.cs
- FolderBrowserDialog.cs
- HandlerBase.cs
- ShaderRenderModeValidation.cs
- WhiteSpaceTrimStringConverter.cs
- WebColorConverter.cs
- DocumentPageTextView.cs
- HandlerFactoryWrapper.cs
- HttpListenerContext.cs
- ClonableStack.cs
- FixedSOMImage.cs
- CounterSampleCalculator.cs
- ConsoleCancelEventArgs.cs
- InkCanvasSelection.cs
- ServiceOperation.cs
- LongValidatorAttribute.cs
- CacheChildrenQuery.cs
- DataGridItemCollection.cs
- ToolboxItemFilterAttribute.cs
- WeakEventTable.cs
- GAC.cs
- XmlILCommand.cs
- ExclusiveHandle.cs
- _ScatterGatherBuffers.cs
- StrokeNodeOperations2.cs
- ellipse.cs
- DesignerView.cs
- DesignerDataTable.cs
- PrivateFontCollection.cs
- DateTimeOffsetAdapter.cs
- StorageMappingFragment.cs
- PresentationSource.cs
- ContentHostHelper.cs
- DescriptionAttribute.cs
- XmlAttributeProperties.cs
- NavigatorOutput.cs
- ListCommandEventArgs.cs
- BinaryFormatterWriter.cs
- StaticFileHandler.cs
- Graphics.cs
- tibetanshape.cs
- LinkUtilities.cs
- HttpContextWrapper.cs
- EventProvider.cs
- ConstNode.cs
- Visual.cs
- HostingEnvironmentSection.cs
- DeviceContext2.cs
- Or.cs
- ColumnHeaderCollectionEditor.cs
- StaticSiteMapProvider.cs
- ToolBarButton.cs
- AssemblyInfo.cs
- ToolboxDataAttribute.cs
- CommandLineParser.cs
- IndexedEnumerable.cs
- UnmanagedMarshal.cs
- X509Certificate.cs
- ConnectionPointCookie.cs
- FacetValues.cs
- RegisteredScript.cs
- ReflectTypeDescriptionProvider.cs
- WindowsTokenRoleProvider.cs
- DefinitionBase.cs
- SecurityTokenValidationException.cs
- TextMarkerSource.cs
- JpegBitmapEncoder.cs
- DrawingContextWalker.cs
- xdrvalidator.cs
- WebBrowser.cs
- HttpWriter.cs
- TableItemStyle.cs
- Process.cs
- EncryptionUtility.cs
- DataGridAutomationPeer.cs
- PieceDirectory.cs
- FormsAuthenticationUser.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- FormsAuthenticationEventArgs.cs
- SendKeys.cs
- RtfToken.cs
- GenerateScriptTypeAttribute.cs
- TextureBrush.cs
- PropertyPushdownHelper.cs
- HexParser.cs
- documentsequencetextcontainer.cs
- XmlTextReader.cs
- DataGridViewSelectedCellCollection.cs
- Annotation.cs
- FileSystemInfo.cs
- CompilationPass2Task.cs
- _Rfc2616CacheValidators.cs
- SQLBinary.cs
- RootAction.cs
- XmlElementAttribute.cs
- TextBox.cs