Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ItemCheckEvent.cs / 1305376 / 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
- TabletDeviceInfo.cs
- StringSource.cs
- AutomationPatternInfo.cs
- sqlinternaltransaction.cs
- serverconfig.cs
- PackUriHelper.cs
- TimeSpanConverter.cs
- FormsAuthentication.cs
- XmlSerializableReader.cs
- KeyEventArgs.cs
- Drawing.cs
- AnchorEditor.cs
- CoTaskMemHandle.cs
- RoleService.cs
- ListBindingConverter.cs
- RequiredFieldValidator.cs
- EdmFunction.cs
- ScaleTransform.cs
- Matrix3DStack.cs
- AddInActivator.cs
- SingleQueryOperator.cs
- Attachment.cs
- FillRuleValidation.cs
- graph.cs
- StorageConditionPropertyMapping.cs
- X509Certificate2Collection.cs
- PointLight.cs
- PropertyDescriptorCollection.cs
- IteratorAsyncResult.cs
- DrawingDrawingContext.cs
- DateTimeFormatInfoScanner.cs
- ExecutionScope.cs
- SecurityDescriptor.cs
- RoleService.cs
- VerificationException.cs
- ExtensionFile.cs
- MinMaxParagraphWidth.cs
- UnionCqlBlock.cs
- StyleBamlTreeBuilder.cs
- LoggedException.cs
- XslTransformFileEditor.cs
- RegistryPermission.cs
- MD5.cs
- EpmSyndicationContentSerializer.cs
- Adorner.cs
- EntryPointNotFoundException.cs
- NavigationWindow.cs
- PropertyChangedEventArgs.cs
- FontStretch.cs
- FixedSOMImage.cs
- Rect.cs
- AtomPub10CategoriesDocumentFormatter.cs
- SizeConverter.cs
- QueryCacheKey.cs
- ServiceReference.cs
- CaseInsensitiveHashCodeProvider.cs
- HostingMessageProperty.cs
- ImageMetadata.cs
- ShapingEngine.cs
- SqlInfoMessageEvent.cs
- XsltFunctions.cs
- CodeDOMUtility.cs
- PersistChildrenAttribute.cs
- TypeSystem.cs
- ListQueryResults.cs
- DynamicActivityXamlReader.cs
- PtsCache.cs
- Debug.cs
- NamespaceInfo.cs
- Model3DGroup.cs
- ReceiveMessageContent.cs
- securitymgrsite.cs
- CodeRegionDirective.cs
- CrossSiteScriptingValidation.cs
- HttpException.cs
- StrongName.cs
- DataSourceCache.cs
- EntityConnection.cs
- ChildTable.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- FileClassifier.cs
- MemoryMappedView.cs
- MobileControlBuilder.cs
- TransformerConfigurationWizardBase.cs
- ClonableStack.cs
- ArraySortHelper.cs
- TextFindEngine.cs
- MasterPageParser.cs
- SectionInformation.cs
- Attributes.cs
- File.cs
- MatrixCamera.cs
- TextSelectionHighlightLayer.cs
- MatrixAnimationBase.cs
- SR.cs
- _NetworkingPerfCounters.cs
- GuidConverter.cs
- DataBoundControlAdapter.cs
- WindowsStartMenu.cs
- FaultContext.cs