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
- PeerCredential.cs
- ProjectionCamera.cs
- SoapAttributes.cs
- InternalControlCollection.cs
- XmlSchemaException.cs
- UIElementHelper.cs
- ComponentRenameEvent.cs
- Thread.cs
- DoubleLinkList.cs
- MdiWindowListStrip.cs
- FormsAuthenticationUserCollection.cs
- OleDbConnectionFactory.cs
- ListViewSortEventArgs.cs
- RenderTargetBitmap.cs
- DataContractJsonSerializer.cs
- StylusCaptureWithinProperty.cs
- BitmapEffectDrawingContextState.cs
- ImageBrush.cs
- ResourcePool.cs
- PieceDirectory.cs
- HtmlInputHidden.cs
- CodeAttributeArgument.cs
- XhtmlBasicPhoneCallAdapter.cs
- QueryAsyncResult.cs
- PerspectiveCamera.cs
- DataColumnSelectionConverter.cs
- CompositeControl.cs
- ForceCopyBuildProvider.cs
- Cursors.cs
- UriScheme.cs
- DocumentOrderQuery.cs
- ImmutableCollection.cs
- MarkupCompilePass2.cs
- AspNetSynchronizationContext.cs
- TcpHostedTransportConfiguration.cs
- ToggleButtonAutomationPeer.cs
- DataServiceResponse.cs
- Int32KeyFrameCollection.cs
- Point.cs
- CommandHelper.cs
- SqlNotificationEventArgs.cs
- ListViewInsertedEventArgs.cs
- XmlSchemaGroup.cs
- CellTreeNode.cs
- Schema.cs
- XmlWrappingReader.cs
- serverconfig.cs
- QualifierSet.cs
- DiscoveryMessageSequence11.cs
- SpecialNameAttribute.cs
- Privilege.cs
- ActivityIdHeader.cs
- DataGridDetailsPresenterAutomationPeer.cs
- ThreadStaticAttribute.cs
- BufferModeSettings.cs
- login.cs
- ImageKeyConverter.cs
- DependencyPropertyDescriptor.cs
- SuppressMergeCheckAttribute.cs
- KeyboardEventArgs.cs
- AttachedPropertyBrowsableAttribute.cs
- PenLineJoinValidation.cs
- ToolBar.cs
- FindSimilarActivitiesVerb.cs
- WindowsFormsHostAutomationPeer.cs
- Msec.cs
- LayoutInformation.cs
- Common.cs
- basevalidator.cs
- SessionStateSection.cs
- MetadataFile.cs
- Rect3D.cs
- EmptyTextWriter.cs
- DataGridItemAttachedStorage.cs
- RMEnrollmentPage1.cs
- InvalidCastException.cs
- BooleanExpr.cs
- WorkflowMessageEventHandler.cs
- SystemIdentity.cs
- CryptoKeySecurity.cs
- RelationshipNavigation.cs
- MethodToken.cs
- ControlType.cs
- SecureStringHasher.cs
- Matrix.cs
- DataMemberFieldConverter.cs
- ExpressionVisitorHelpers.cs
- HttpRuntime.cs
- WebPartHelpVerb.cs
- MemoryRecordBuffer.cs
- ParameterBuilder.cs
- InvalidComObjectException.cs
- SocketAddress.cs
- FontWeightConverter.cs
- SoapIncludeAttribute.cs
- XmlBuffer.cs
- FlowDocumentReaderAutomationPeer.cs
- TrackingProfileDeserializationException.cs
- SplayTreeNode.cs
- StopStoryboard.cs