Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewCellValueEventArgs.cs / 1 / DataGridViewCellValueEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Diagnostics; ///public class DataGridViewCellValueEventArgs : EventArgs { private int rowIndex, columnIndex; private object val; internal DataGridViewCellValueEventArgs() { this.columnIndex = this.rowIndex = -1; } /// public DataGridViewCellValueEventArgs(int columnIndex, int rowIndex) { if (columnIndex < 0) { throw new ArgumentOutOfRangeException("columnIndex"); } if (rowIndex < 0) { throw new ArgumentOutOfRangeException("rowIndex"); } this.rowIndex = rowIndex; this.columnIndex = columnIndex; } /// public int ColumnIndex { get { return this.columnIndex; } } /// public int RowIndex { get { return this.rowIndex; } } /// public object Value { get { return this.val; } set { this.val = value; } } internal void SetProperties(int columnIndex, int rowIndex, object value) { Debug.Assert(columnIndex >= -1); Debug.Assert(rowIndex >= -1); this.columnIndex = columnIndex; this.rowIndex = rowIndex; this.val = value; } } } // 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
- EntityCommandCompilationException.cs
- WindowsTitleBar.cs
- GACMembershipCondition.cs
- TouchDevice.cs
- PaintEvent.cs
- Marshal.cs
- CodeIdentifier.cs
- BCLDebug.cs
- configsystem.cs
- HeaderedContentControl.cs
- JapaneseCalendar.cs
- XmlSchemaChoice.cs
- LinqDataSourceSelectEventArgs.cs
- RightsManagementInformation.cs
- SystemThemeKey.cs
- OdbcCommand.cs
- XmlDomTextWriter.cs
- CodeCommentStatementCollection.cs
- ImmutableCollection.cs
- SchemaCollectionPreprocessor.cs
- QilInvoke.cs
- Double.cs
- Window.cs
- RefreshPropertiesAttribute.cs
- WizardStepBase.cs
- CellTreeNode.cs
- RegexRunner.cs
- ActivityUtilities.cs
- SetStoryboardSpeedRatio.cs
- DataGridAutoFormat.cs
- XPathBuilder.cs
- FormConverter.cs
- EnumerableWrapperWeakToStrong.cs
- Types.cs
- UnsafeNativeMethods.cs
- ActiveXSite.cs
- invalidudtexception.cs
- DescendantOverDescendantQuery.cs
- ProxyWebPart.cs
- DynamicValueConverter.cs
- Table.cs
- DocumentXmlWriter.cs
- TreeNodeSelectionProcessor.cs
- ConfigurationElementProperty.cs
- ObjectNavigationPropertyMapping.cs
- X509Chain.cs
- RoleServiceManager.cs
- TypeExtension.cs
- SimplePropertyEntry.cs
- ModelUIElement3D.cs
- PropagationProtocolsTracing.cs
- SettingsPropertyCollection.cs
- HitTestDrawingContextWalker.cs
- DesignTimeTemplateParser.cs
- Style.cs
- SafeNativeMethods.cs
- ImportCatalogPart.cs
- DiscoveryServerProtocol.cs
- LayeredChannelFactory.cs
- IDispatchConstantAttribute.cs
- FontCollection.cs
- ThicknessConverter.cs
- XmlCustomFormatter.cs
- DrawingGroup.cs
- WorkflowRuntimeServiceElement.cs
- CompilerInfo.cs
- ProfileEventArgs.cs
- CommandEventArgs.cs
- HtmlInputFile.cs
- NamedPipeTransportBindingElement.cs
- EmissiveMaterial.cs
- ApplicationDirectoryMembershipCondition.cs
- EditorPartCollection.cs
- XmlChoiceIdentifierAttribute.cs
- ProfileService.cs
- XmlCharacterData.cs
- MediaTimeline.cs
- FileRegion.cs
- FontConverter.cs
- UIElementParagraph.cs
- TextRunProperties.cs
- DateTimeFormatInfoScanner.cs
- BadImageFormatException.cs
- OraclePermission.cs
- WebPartManager.cs
- FileEnumerator.cs
- Grammar.cs
- WebServiceEnumData.cs
- BuildProvider.cs
- User.cs
- MenuTracker.cs
- EventProxy.cs
- SettingsAttributes.cs
- Int64KeyFrameCollection.cs
- DataGridViewComponentPropertyGridSite.cs
- xmlsaver.cs
- CompareValidator.cs
- FixedSOMTableCell.cs
- DynamicDocumentPaginator.cs
- IntegrationExceptionEventArgs.cs