Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ChangePassword.cs
- COM2EnumConverter.cs
- LinearGradientBrush.cs
- UIElementIsland.cs
- CapabilitiesUse.cs
- RuleElement.cs
- SqlDuplicator.cs
- QueryExecutionOption.cs
- ZipIOExtraFieldElement.cs
- HttpWebRequest.cs
- ElementsClipboardData.cs
- HtmlPhoneCallAdapter.cs
- SchemaElement.cs
- CodeLinePragma.cs
- EventRouteFactory.cs
- IODescriptionAttribute.cs
- WebPartDesigner.cs
- ActivitySurrogateSelector.cs
- ImageFormat.cs
- DbRetry.cs
- XmlSchemaExternal.cs
- StyleSelector.cs
- SymmetricSecurityProtocol.cs
- ellipse.cs
- EncryptedData.cs
- GlyphRunDrawing.cs
- XsltLoader.cs
- SQLInt64.cs
- StateManagedCollection.cs
- CommandHelper.cs
- WebPartsSection.cs
- SqlIdentifier.cs
- RadioButton.cs
- MethodBuilder.cs
- Debug.cs
- GB18030Encoding.cs
- PrivilegeNotHeldException.cs
- Set.cs
- ColorTranslator.cs
- WorkflowInvoker.cs
- SmtpClient.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- RegisteredArrayDeclaration.cs
- DataGridItem.cs
- CodeArrayCreateExpression.cs
- DiscoveryClientDuplexChannel.cs
- CmsInterop.cs
- DataServiceQueryException.cs
- SystemIPAddressInformation.cs
- WebPartCancelEventArgs.cs
- AspNetHostingPermission.cs
- DrawingState.cs
- CngAlgorithm.cs
- Compilation.cs
- TrackBarRenderer.cs
- ButtonPopupAdapter.cs
- StorageConditionPropertyMapping.cs
- TableSectionStyle.cs
- SqlConnectionManager.cs
- AssemblyBuilder.cs
- ClientUrlResolverWrapper.cs
- unsafenativemethodsother.cs
- Relationship.cs
- securitycriticaldataClass.cs
- ToolStripProgressBar.cs
- InputMethod.cs
- XmlSchemaComplexType.cs
- UnicodeEncoding.cs
- COM2EnumConverter.cs
- Util.cs
- QilBinary.cs
- XmlElementCollection.cs
- TileBrush.cs
- DataGridItemAttachedStorage.cs
- RestHandlerFactory.cs
- CharEntityEncoderFallback.cs
- ExceptionRoutedEventArgs.cs
- Pool.cs
- ReachPageContentSerializer.cs
- RuntimeConfigLKG.cs
- DataGridCommandEventArgs.cs
- HttpCapabilitiesBase.cs
- PasswordBox.cs
- DetailsViewPagerRow.cs
- AttributeUsageAttribute.cs
- TemplatedMailWebEventProvider.cs
- XmlAttributeProperties.cs
- WebPartCollection.cs
- SelectedDatesCollection.cs
- AppDomainResourcePerfCounters.cs
- BindingMAnagerBase.cs
- listitem.cs
- SessionIDManager.cs
- HtmlButton.cs
- MessageAction.cs
- RadialGradientBrush.cs
- _BasicClient.cs
- SQLDecimal.cs
- MemberAccessException.cs
- DataGridViewCellCancelEventArgs.cs