Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewCellMouseEventArgs.cs / 1 / DataGridViewCellMouseEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Windows.Forms
{
using System;
using System.ComponentModel;
///
///
/// [To be supplied.]
///
public class DataGridViewCellMouseEventArgs : MouseEventArgs
{
private int rowIndex, columnIndex;
///
public DataGridViewCellMouseEventArgs(int columnIndex,
int rowIndex,
int localX,
int localY,
MouseEventArgs e) : base(e.Button, e.Clicks, localX, localY, e.Delta)
{
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
- _RequestCacheProtocol.cs
- ApplicationSecurityInfo.cs
- XmlMapping.cs
- TdsParserHelperClasses.cs
- CompositeFontInfo.cs
- ListMarkerLine.cs
- StatusBarDesigner.cs
- SortFieldComparer.cs
- Decoder.cs
- ProfilePropertyMetadata.cs
- PointConverter.cs
- SharedPerformanceCounter.cs
- WebServiceParameterData.cs
- DictionaryMarkupSerializer.cs
- ListChangedEventArgs.cs
- ClientTargetSection.cs
- ConstraintStruct.cs
- util.cs
- ViewGenResults.cs
- DataBinding.cs
- WindowsListViewItemCheckBox.cs
- ChtmlMobileTextWriter.cs
- AsymmetricKeyExchangeFormatter.cs
- InvalidAsynchronousStateException.cs
- TagPrefixCollection.cs
- safesecurityhelperavalon.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- DescendantOverDescendantQuery.cs
- TextParagraphCache.cs
- DefaultMemberAttribute.cs
- DbQueryCommandTree.cs
- SafeMILHandle.cs
- VariableBinder.cs
- DesignerResources.cs
- RC2.cs
- ControlDesigner.cs
- DataColumnSelectionConverter.cs
- Image.cs
- WindowsImpersonationContext.cs
- XmlnsDictionary.cs
- TextServicesContext.cs
- PackUriHelper.cs
- Rijndael.cs
- XamlSerializerUtil.cs
- UTF7Encoding.cs
- M3DUtil.cs
- CheckoutException.cs
- ExpressionHelper.cs
- EpmSourceTree.cs
- Switch.cs
- IndexedGlyphRun.cs
- DBDataPermission.cs
- IntSecurity.cs
- SQLBinaryStorage.cs
- StoryFragments.cs
- Table.cs
- ObjectComplexPropertyMapping.cs
- ListBox.cs
- RulePatternOps.cs
- unsafeIndexingFilterStream.cs
- SingleAnimationBase.cs
- MSAAEventDispatcher.cs
- InfoCardBaseException.cs
- IssuerInformation.cs
- FileDialog.cs
- namescope.cs
- PartialClassGenerationTask.cs
- RelationshipEnd.cs
- XmlSchemaValidationException.cs
- DecimalKeyFrameCollection.cs
- LocatorPart.cs
- CustomCategoryAttribute.cs
- ValidatorCollection.cs
- IntSecurity.cs
- ZipIOLocalFileHeader.cs
- SignalGate.cs
- FastEncoderWindow.cs
- HashAlgorithm.cs
- AnchoredBlock.cs
- Serializer.cs
- MultitargetUtil.cs
- InkPresenterAutomationPeer.cs
- CodeTypeConstructor.cs
- SourceLocationProvider.cs
- StringValidator.cs
- XmlTypeAttribute.cs
- CacheForPrimitiveTypes.cs
- MenuScrollingVisibilityConverter.cs
- StaticTextPointer.cs
- RadioButtonDesigner.cs
- WebPartDesigner.cs
- GenericTypeParameterBuilder.cs
- HtmlWindow.cs
- Schema.cs
- BitmapEffectDrawingContent.cs
- TypeBuilder.cs
- WebPartAuthorizationEventArgs.cs
- Empty.cs
- UIPermission.cs
- InitializeCorrelation.cs