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
- ProfilePropertyMetadata.cs
- WindowInteropHelper.cs
- SafeRegistryKey.cs
- ThicknessAnimation.cs
- ReadingWritingEntityEventArgs.cs
- SerialStream.cs
- DataGridColumn.cs
- CachedBitmap.cs
- PersistenceTypeAttribute.cs
- DesignerActionUI.cs
- DataAdapter.cs
- ObjectDataSourceFilteringEventArgs.cs
- PinnedBufferMemoryStream.cs
- MediaPlayer.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- FontWeights.cs
- LambdaCompiler.Expressions.cs
- TextRunTypographyProperties.cs
- RoleServiceManager.cs
- ConstantProjectedSlot.cs
- ImportContext.cs
- TargetConverter.cs
- SessionPageStatePersister.cs
- CompressedStack.cs
- ReadingWritingEntityEventArgs.cs
- CertificateManager.cs
- PopOutPanel.cs
- DataServiceException.cs
- BindingBase.cs
- TransactionContextManager.cs
- ListViewItemEventArgs.cs
- FlowchartSizeFeature.cs
- SqlParameterizer.cs
- XmlDocumentType.cs
- ModuleBuilder.cs
- ResizeGrip.cs
- MatrixAnimationBase.cs
- ResourcePermissionBaseEntry.cs
- ADMembershipUser.cs
- InheritanceAttribute.cs
- KnowledgeBase.cs
- DataObjectPastingEventArgs.cs
- RegionData.cs
- CqlParser.cs
- DispatcherEventArgs.cs
- BindingManagerDataErrorEventArgs.cs
- CompositeCollectionView.cs
- Font.cs
- ToolTip.cs
- KeyGestureConverter.cs
- ArithmeticLiteral.cs
- XmlMemberMapping.cs
- updatecommandorderer.cs
- FormViewInsertEventArgs.cs
- TriggerCollection.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- PostBackOptions.cs
- CanExecuteRoutedEventArgs.cs
- XD.cs
- TreeNodeSelectionProcessor.cs
- XpsSerializerWriter.cs
- DbConnectionPoolIdentity.cs
- PointKeyFrameCollection.cs
- SqlMetaData.cs
- FontWeightConverter.cs
- ActivityDesignerLayoutSerializers.cs
- PlatformCulture.cs
- SqlInternalConnectionTds.cs
- RegexRunnerFactory.cs
- figurelength.cs
- Marshal.cs
- RtfToXamlReader.cs
- KeyGestureValueSerializer.cs
- DocumentViewerBase.cs
- ModelServiceImpl.cs
- UnknownBitmapDecoder.cs
- PerfService.cs
- GeneralTransform3D.cs
- SingleAnimation.cs
- IPAddressCollection.cs
- FixedSOMContainer.cs
- CollectionViewGroup.cs
- Visual.cs
- PrivilegedConfigurationManager.cs
- XPathNodeInfoAtom.cs
- SmiXetterAccessMap.cs
- Cursors.cs
- SqlDataSourceRefreshSchemaForm.cs
- ValidationError.cs
- ErrorFormatterPage.cs
- HwndTarget.cs
- SetStoryboardSpeedRatio.cs
- AxisAngleRotation3D.cs
- InputReportEventArgs.cs
- Parameter.cs
- ToolStripContainerActionList.cs
- TextDecorationCollection.cs
- PerspectiveCamera.cs
- DesignTimeParseData.cs
- BitmapEffectDrawing.cs