Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- FacetValues.cs
- ControlBuilderAttribute.cs
- ScriptControl.cs
- FastPropertyAccessor.cs
- Form.cs
- TreeWalkHelper.cs
- CookieParameter.cs
- PointValueSerializer.cs
- EpmContentSerializerBase.cs
- CaseCqlBlock.cs
- PtsHost.cs
- DataGridViewCellMouseEventArgs.cs
- MetadataUtil.cs
- DesignerTextBoxAdapter.cs
- XslAstAnalyzer.cs
- CellLabel.cs
- PenThreadWorker.cs
- SecurityContext.cs
- TypeInformation.cs
- UncommonField.cs
- MarkupCompiler.cs
- UIElement.cs
- EdmMember.cs
- ChtmlLinkAdapter.cs
- listitem.cs
- AppliedDeviceFiltersEditor.cs
- OleServicesContext.cs
- XmlElementCollection.cs
- SessionStateUtil.cs
- CompensationDesigner.cs
- BuildManager.cs
- XPathPatternBuilder.cs
- Internal.cs
- SmtpException.cs
- FakeModelItemImpl.cs
- FlowDecisionLabelFeature.cs
- LinkClickEvent.cs
- ApplicationDirectoryMembershipCondition.cs
- AssemblyCache.cs
- WindowsFont.cs
- ToolStripProgressBar.cs
- GeneralTransformCollection.cs
- ResourceCategoryAttribute.cs
- ResourceWriter.cs
- QuestionEventArgs.cs
- ConfigXmlReader.cs
- OracleMonthSpan.cs
- PageHandlerFactory.cs
- StylusPointPropertyInfoDefaults.cs
- StatusStrip.cs
- EndpointConfigContainer.cs
- XmlElement.cs
- TemplateParser.cs
- CommandTreeTypeHelper.cs
- ComPlusInstanceProvider.cs
- TableHeaderCell.cs
- XPathPatternParser.cs
- DmlSqlGenerator.cs
- DeviceSpecificChoice.cs
- PropertyValueChangedEvent.cs
- ClearTypeHintValidation.cs
- MeshGeometry3D.cs
- WebBrowser.cs
- SafeFindHandle.cs
- FormViewInsertedEventArgs.cs
- ManipulationInertiaStartingEventArgs.cs
- CultureSpecificCharacterBufferRange.cs
- EnumConverter.cs
- WebServiceEnumData.cs
- RTLAwareMessageBox.cs
- InputBuffer.cs
- XhtmlBasicValidationSummaryAdapter.cs
- ToolStripSystemRenderer.cs
- TableLayoutCellPaintEventArgs.cs
- ErrorActivity.cs
- MessageQueueException.cs
- NetDataContractSerializer.cs
- Timer.cs
- XdrBuilder.cs
- PagerStyle.cs
- BindingList.cs
- XmlSchemaInfo.cs
- StructuredTypeEmitter.cs
- ClientBase.cs
- CommunicationObjectAbortedException.cs
- XpsFontSerializationService.cs
- DataControlPagerLinkButton.cs
- TextParaClient.cs
- MetadataArtifactLoader.cs
- BindingsCollection.cs
- ActivitySurrogate.cs
- TerminateWorkflow.cs
- AdapterUtil.cs
- CreateUserWizard.cs
- _ScatterGatherBuffers.cs
- DesignerView.Commands.cs
- ElementHostAutomationPeer.cs
- _FtpDataStream.cs
- GridViewRow.cs
- TreeNodeEventArgs.cs