Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewCellEventArgs.cs / 1305376 / DataGridViewCellEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Diagnostics; ///public class DataGridViewCellEventArgs : EventArgs { private int columnIndex; private int rowIndex; internal DataGridViewCellEventArgs(DataGridViewCell dataGridViewCell) : this(dataGridViewCell.ColumnIndex, dataGridViewCell.RowIndex) { } /// public DataGridViewCellEventArgs(int columnIndex, int rowIndex) { if (columnIndex < -1) { throw new ArgumentOutOfRangeException("columnIndex"); } if (rowIndex < -1) { throw new ArgumentOutOfRangeException("rowIndex"); } this.columnIndex = columnIndex; this.rowIndex = rowIndex; } /// public int ColumnIndex { get { return this.columnIndex; } } /// public int RowIndex { get { return this.rowIndex; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Diagnostics; ///public class DataGridViewCellEventArgs : EventArgs { private int columnIndex; private int rowIndex; internal DataGridViewCellEventArgs(DataGridViewCell dataGridViewCell) : this(dataGridViewCell.ColumnIndex, dataGridViewCell.RowIndex) { } /// public DataGridViewCellEventArgs(int columnIndex, int rowIndex) { if (columnIndex < -1) { throw new ArgumentOutOfRangeException("columnIndex"); } if (rowIndex < -1) { throw new ArgumentOutOfRangeException("rowIndex"); } this.columnIndex = columnIndex; this.rowIndex = rowIndex; } /// public int ColumnIndex { get { return this.columnIndex; } } /// public int RowIndex { get { return this.rowIndex; } } } } // 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
- DataRowCollection.cs
- AssemblyName.cs
- UpdatePanelControlTrigger.cs
- OdbcConnectionString.cs
- PopupEventArgs.cs
- FreezableDefaultValueFactory.cs
- ApplicationFileParser.cs
- SqlServer2KCompatibilityAnnotation.cs
- Cursor.cs
- ProcessInfo.cs
- SystemException.cs
- ProfileSettingsCollection.cs
- CompilerCollection.cs
- ListParaClient.cs
- LocatorManager.cs
- TableSectionStyle.cs
- DocumentViewer.cs
- ConfigurationSectionGroupCollection.cs
- ConfigurationElementProperty.cs
- XPathEmptyIterator.cs
- assertwrapper.cs
- UnsafeNativeMethods.cs
- isolationinterop.cs
- DrawingVisual.cs
- ContentHostHelper.cs
- GenericTextProperties.cs
- XmlSchemas.cs
- XmlNodeChangedEventArgs.cs
- DesignSurfaceCollection.cs
- CryptoApi.cs
- MemberRelationshipService.cs
- CssTextWriter.cs
- _FtpControlStream.cs
- RMEnrollmentPage1.cs
- GacUtil.cs
- LicenseProviderAttribute.cs
- CodeTypeReference.cs
- ValueTypePropertyReference.cs
- NewArrayExpression.cs
- MethodCallConverter.cs
- CalendarDataBindingHandler.cs
- MatrixConverter.cs
- Int16.cs
- TextBoxAutomationPeer.cs
- MSG.cs
- EntityClassGenerator.cs
- CanExecuteRoutedEventArgs.cs
- MarkupExtensionSerializer.cs
- XmlSerializerVersionAttribute.cs
- RightNameExpirationInfoPair.cs
- DataGridAddNewRow.cs
- Glyph.cs
- Funcletizer.cs
- HttpModuleAction.cs
- Ops.cs
- SystemDiagnosticsSection.cs
- SerialStream.cs
- KeyConverter.cs
- XmlJsonReader.cs
- Component.cs
- DynamicPropertyReader.cs
- SqlAliasesReferenced.cs
- ResourceDisplayNameAttribute.cs
- DbConnectionPoolCounters.cs
- HtmlLiteralTextAdapter.cs
- DbConnectionStringBuilder.cs
- CodeAttributeDeclaration.cs
- ApplicationBuildProvider.cs
- ColorAnimationBase.cs
- DoubleKeyFrameCollection.cs
- HtmlTextArea.cs
- EditorZoneBase.cs
- ConnectionProviderAttribute.cs
- RelatedCurrencyManager.cs
- XmlQueryOutput.cs
- _NativeSSPI.cs
- validationstate.cs
- ArithmeticException.cs
- Quad.cs
- StylusTip.cs
- JpegBitmapEncoder.cs
- WebPartRestoreVerb.cs
- TransformedBitmap.cs
- HtmlFormWrapper.cs
- SiteMap.cs
- MeasurementDCInfo.cs
- OracleTimeSpan.cs
- SemanticResultKey.cs
- CollectionDataContractAttribute.cs
- ImageFormat.cs
- XmlLangPropertyAttribute.cs
- HitTestResult.cs
- XmlQueryContext.cs
- TextBoxAutomationPeer.cs
- ObjectDataSourceSelectingEventArgs.cs
- CodeTypeConstructor.cs
- Model3DGroup.cs
- EntityDataSourceDesigner.cs
- SectionRecord.cs
- ExpressionDumper.cs