Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- DataControlFieldCell.cs
- CellLabel.cs
- RayMeshGeometry3DHitTestResult.cs
- MultiTrigger.cs
- VectorValueSerializer.cs
- OleDbStruct.cs
- LocatorBase.cs
- LayoutSettings.cs
- VarRemapper.cs
- NoResizeHandleGlyph.cs
- HtmlFormWrapper.cs
- Identifier.cs
- ModelItemCollectionImpl.cs
- SecurityDescriptor.cs
- CodeParameterDeclarationExpression.cs
- MobileControl.cs
- StylusButton.cs
- DataTableNewRowEvent.cs
- SqlServer2KCompatibilityCheck.cs
- IISMapPath.cs
- ApplicationFileParser.cs
- PenContext.cs
- WebPartEditorCancelVerb.cs
- PackUriHelper.cs
- LinkLabelLinkClickedEvent.cs
- TaiwanLunisolarCalendar.cs
- Wildcard.cs
- DataSourceHelper.cs
- ProxyWebPartManager.cs
- SiteOfOriginContainer.cs
- DesignerActionKeyboardBehavior.cs
- RoutedPropertyChangedEventArgs.cs
- RsaSecurityKey.cs
- FreezableCollection.cs
- CollectionViewSource.cs
- ControllableStoryboardAction.cs
- DataMemberAttribute.cs
- DetailsViewDeletedEventArgs.cs
- DesignerActionUIStateChangeEventArgs.cs
- RecordConverter.cs
- MetadataUtilsSmi.cs
- HyperLinkField.cs
- SqlColumnizer.cs
- IRCollection.cs
- DataGridViewLinkCell.cs
- FixUpCollection.cs
- SqlGatherConsumedAliases.cs
- NavigatorOutput.cs
- Expr.cs
- CommonRemoteMemoryBlock.cs
- EnumValidator.cs
- SqlUtils.cs
- ServerValidateEventArgs.cs
- KeySpline.cs
- ListView.cs
- AttachedPropertyDescriptor.cs
- SymLanguageVendor.cs
- RowsCopiedEventArgs.cs
- SafeCryptoHandles.cs
- NameNode.cs
- DbConnectionFactory.cs
- UrlAuthFailedErrorFormatter.cs
- SamlAttributeStatement.cs
- ISAPIRuntime.cs
- RewritingPass.cs
- ScriptingWebServicesSectionGroup.cs
- ActivityDesignerLayoutSerializers.cs
- ComplexType.cs
- CompressionTransform.cs
- WebPartDisplayModeEventArgs.cs
- FixUpCollection.cs
- MultiplexingFormatMapping.cs
- DataGridViewRowPrePaintEventArgs.cs
- PermissionAttributes.cs
- RemotingConfigParser.cs
- QuotedStringFormatReader.cs
- SqlIdentifier.cs
- EnumerableCollectionView.cs
- DataGridViewRowHeaderCell.cs
- PropertyOverridesTypeEditor.cs
- MailFileEditor.cs
- TransportOutputChannel.cs
- DataGridItem.cs
- TextControl.cs
- HostAdapter.cs
- MediaCommands.cs
- Menu.cs
- Rijndael.cs
- VariableQuery.cs
- ParseHttpDate.cs
- QueryExecutionOption.cs
- UnsafeNativeMethods.cs
- DefaultMemberAttribute.cs
- CornerRadius.cs
- InputGestureCollection.cs
- X509Extension.cs
- Delegate.cs
- CompilerTypeWithParams.cs
- ProfilePropertyNameValidator.cs
- DataBoundLiteralControl.cs