Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- TypedColumnHandler.cs
- UnicodeEncoding.cs
- WpfKnownType.cs
- ClientScriptItem.cs
- Ops.cs
- TableSectionStyle.cs
- ThreadInterruptedException.cs
- PreviewPageInfo.cs
- CLSCompliantAttribute.cs
- PageBreakRecord.cs
- RelationshipManager.cs
- Wrapper.cs
- ReaderContextStackData.cs
- MenuItem.cs
- XPathNavigatorKeyComparer.cs
- TextBlockAutomationPeer.cs
- _HTTPDateParse.cs
- PropertyMapper.cs
- TextRunProperties.cs
- DataSysAttribute.cs
- MsmqHostedTransportConfiguration.cs
- MailMessageEventArgs.cs
- StickyNote.cs
- URLBuilder.cs
- Message.cs
- LoadRetryAsyncResult.cs
- CqlLexerHelpers.cs
- WebPartsPersonalization.cs
- Bold.cs
- Int16Converter.cs
- DataGridViewAutoSizeModeEventArgs.cs
- LinkLabel.cs
- StandardBindingElementCollection.cs
- ImageListImage.cs
- SimpleTypeResolver.cs
- ObjectDataSourceStatusEventArgs.cs
- LinkLabelLinkClickedEvent.cs
- HttpWebRequest.cs
- ConnectionInterfaceCollection.cs
- PathSegment.cs
- FieldTemplateUserControl.cs
- DBPropSet.cs
- SimpleFieldTemplateFactory.cs
- DiagnosticsConfiguration.cs
- GeometryValueSerializer.cs
- MailHeaderInfo.cs
- CallbackHandler.cs
- Line.cs
- ProxySimple.cs
- TraceListener.cs
- HttpChannelHelper.cs
- ColumnTypeConverter.cs
- BinaryObjectWriter.cs
- Size.cs
- LinearGradientBrush.cs
- IntegerValidatorAttribute.cs
- WsrmTraceRecord.cs
- SettingsProperty.cs
- SudsWriter.cs
- DataContext.cs
- DropDownButton.cs
- columnmapfactory.cs
- ArrayWithOffset.cs
- XmlSchemaInclude.cs
- ClosableStream.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- TripleDES.cs
- OleDbSchemaGuid.cs
- CustomAttributeBuilder.cs
- SHA256Managed.cs
- DocumentGridContextMenu.cs
- XmlSchemaSimpleType.cs
- GridViewUpdateEventArgs.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- IntSecurity.cs
- GeneratedContractType.cs
- MenuAdapter.cs
- PartBasedPackageProperties.cs
- Pen.cs
- ListManagerBindingsCollection.cs
- GenericTypeParameterBuilder.cs
- PointAnimationUsingPath.cs
- TypeListConverter.cs
- GridViewColumnCollection.cs
- MenuItemStyle.cs
- RangeValidator.cs
- EdmScalarPropertyAttribute.cs
- MultipleCopiesCollection.cs
- ServiceDebugBehavior.cs
- ProjectedSlot.cs
- PropertiesTab.cs
- WindowsGraphics2.cs
- ExceptionUtility.cs
- TraceHandler.cs
- XmlSchemaExporter.cs
- ContentValidator.cs
- IssuedTokenClientCredential.cs
- objectquery_tresulttype.cs
- HttpPostedFile.cs
- DirectoryNotFoundException.cs