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 / DataGridViewCellEventArgs.cs / 1 / 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
- XmlDictionary.cs
- RectAnimationClockResource.cs
- XmlNamespaceDeclarationsAttribute.cs
- CaseStatement.cs
- RecordManager.cs
- TemplateKeyConverter.cs
- HttpHeaderCollection.cs
- FilterElement.cs
- CollectionDataContract.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- WebPartVerbsEventArgs.cs
- XmlUnspecifiedAttribute.cs
- TransformConverter.cs
- ScrollPatternIdentifiers.cs
- HttpResponse.cs
- UnaryNode.cs
- ProxyGenerationError.cs
- ToolStripCustomTypeDescriptor.cs
- WindowsListViewGroupHelper.cs
- TrackingMemoryStreamFactory.cs
- WmlControlAdapter.cs
- NavigationWindowAutomationPeer.cs
- HttpContextServiceHost.cs
- CodeStatementCollection.cs
- DataMisalignedException.cs
- QuaternionAnimation.cs
- XmlDataSourceView.cs
- DataSourceSelectArguments.cs
- EventInfo.cs
- ImageInfo.cs
- ClientUtils.cs
- PrintController.cs
- SHA256Managed.cs
- AssignDesigner.xaml.cs
- ArgumentException.cs
- Cast.cs
- JsonReader.cs
- WindowsTitleBar.cs
- GridViewSelectEventArgs.cs
- FontCacheUtil.cs
- XPathNodeIterator.cs
- RenamedEventArgs.cs
- PackagePartCollection.cs
- SubclassTypeValidator.cs
- DuplicateWaitObjectException.cs
- PlatformCulture.cs
- ManifestSignedXml.cs
- FontFamilyIdentifier.cs
- FilterableData.cs
- CopyNodeSetAction.cs
- DrawingContextWalker.cs
- Trace.cs
- FaultFormatter.cs
- XmlDocumentFragment.cs
- ExceptionUtil.cs
- Peer.cs
- CodeCatchClause.cs
- SmtpNegotiateAuthenticationModule.cs
- InstancePersistenceContext.cs
- FtpWebRequest.cs
- RenderDataDrawingContext.cs
- VectorAnimationUsingKeyFrames.cs
- embossbitmapeffect.cs
- SByte.cs
- AnyReturnReader.cs
- KeyValuePair.cs
- EventSetterHandlerConverter.cs
- DataPager.cs
- FilteredAttributeCollection.cs
- TileBrush.cs
- ListBindingConverter.cs
- EncodingTable.cs
- ColumnHeaderConverter.cs
- LogEntry.cs
- QuaternionRotation3D.cs
- ExpressionBinding.cs
- StreamFormatter.cs
- Token.cs
- BevelBitmapEffect.cs
- Attachment.cs
- CompiledQueryCacheKey.cs
- XmlSchemaGroupRef.cs
- TimeSpanMinutesConverter.cs
- Geometry3D.cs
- BitmapCodecInfoInternal.cs
- SQLDecimal.cs
- StateDesigner.cs
- InvokePatternIdentifiers.cs
- IOException.cs
- EventLogPermissionEntry.cs
- DecimalStorage.cs
- SelectingProviderEventArgs.cs
- VectorConverter.cs
- ImageFormat.cs
- Duration.cs
- HtmlMeta.cs
- NamedPermissionSet.cs
- SourceFilter.cs
- SQLDecimal.cs
- DirectoryObjectSecurity.cs