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
- DNS.cs
- ProfileSection.cs
- RIPEMD160.cs
- OdbcParameter.cs
- FramingDecoders.cs
- ServiceInfoCollection.cs
- XmlSchemaAttribute.cs
- GridViewCancelEditEventArgs.cs
- ArrowControl.xaml.cs
- ResourceReferenceExpression.cs
- ParameterCollection.cs
- SendingRequestEventArgs.cs
- Italic.cs
- FilterQuery.cs
- WebPartTransformerCollection.cs
- TypedAsyncResult.cs
- Regex.cs
- EdgeProfileValidation.cs
- FrameworkContextData.cs
- ObjectDataProvider.cs
- MembershipUser.cs
- ThreadAbortException.cs
- QueryReaderSettings.cs
- SystemTcpStatistics.cs
- XmlSchemaSimpleType.cs
- SubstitutionDesigner.cs
- GroupQuery.cs
- TableItemStyle.cs
- HtmlFormWrapper.cs
- DiscreteKeyFrames.cs
- BitmapEffectrendercontext.cs
- LinkArea.cs
- AssemblyFilter.cs
- SectionXmlInfo.cs
- ReadOnlyDictionary.cs
- Typography.cs
- contentDescriptor.cs
- OleDbRowUpdatingEvent.cs
- BitmapEffect.cs
- DesignerAdapterUtil.cs
- TextBox.cs
- ProfileGroupSettingsCollection.cs
- ExpressionHelper.cs
- UriTemplateQueryValue.cs
- BorderGapMaskConverter.cs
- CodeGen.cs
- ArraySortHelper.cs
- ElementUtil.cs
- XMLSyntaxException.cs
- OleDbStruct.cs
- Icon.cs
- ListMarkerLine.cs
- Trace.cs
- AesManaged.cs
- SecurityKeyUsage.cs
- QilChoice.cs
- ConversionHelper.cs
- XmlSchemaComplexContentRestriction.cs
- InfiniteTimeSpanConverter.cs
- DataFormats.cs
- HideDisabledControlAdapter.cs
- GetReadStreamResult.cs
- TrackBar.cs
- BitmapSizeOptions.cs
- Point3DCollection.cs
- TdsRecordBufferSetter.cs
- ImageKeyConverter.cs
- PartBasedPackageProperties.cs
- DocumentPageView.cs
- DataGridPagingPage.cs
- XmlSchemaInferenceException.cs
- objectquery_tresulttype.cs
- MailMessage.cs
- TypeUnloadedException.cs
- NavigationHelper.cs
- KeyBinding.cs
- Viewport2DVisual3D.cs
- XmlException.cs
- ModuleElement.cs
- ExpressionSelection.cs
- NavigationHelper.cs
- RemotingSurrogateSelector.cs
- CellTreeNode.cs
- PrePostDescendentsWalker.cs
- DummyDataSource.cs
- PipelineModuleStepContainer.cs
- Int16AnimationUsingKeyFrames.cs
- PageSettings.cs
- InstanceDescriptor.cs
- WorkflowOperationErrorHandler.cs
- DataTableExtensions.cs
- MgmtConfigurationRecord.cs
- BufferedStream.cs
- TreeNodeClickEventArgs.cs
- SmiContextFactory.cs
- ValidationRuleCollection.cs
- DataMemberFieldConverter.cs
- ListItemCollection.cs
- RoleGroup.cs
- OciLobLocator.cs