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
- ActiveXHost.cs
- SmiMetaData.cs
- SystemFonts.cs
- ContextMarshalException.cs
- WindowsListViewItemStartMenu.cs
- CaretElement.cs
- InstanceLockLostException.cs
- PerspectiveCamera.cs
- WinInetCache.cs
- UnionCodeGroup.cs
- ThreadPool.cs
- PipeStream.cs
- TextDecorationUnitValidation.cs
- WaveHeader.cs
- InternalConfigHost.cs
- UserPreferenceChangingEventArgs.cs
- DBAsyncResult.cs
- XmlChildEnumerator.cs
- Menu.cs
- XmlSchemaFacet.cs
- DynamicValidatorEventArgs.cs
- DataIdProcessor.cs
- CachedPathData.cs
- FrameworkElementFactory.cs
- GridViewItemAutomationPeer.cs
- RenameRuleObjectDialog.cs
- DomNameTable.cs
- TextBoxBase.cs
- OleDbConnection.cs
- StreamGeometryContext.cs
- HttpListenerException.cs
- HTMLTagNameToTypeMapper.cs
- CannotUnloadAppDomainException.cs
- PropertiesTab.cs
- VectorValueSerializer.cs
- BaseEntityWrapper.cs
- SqlConnectionFactory.cs
- HwndKeyboardInputProvider.cs
- InkCanvasSelection.cs
- TextSegment.cs
- StringUtil.cs
- XmlQueryRuntime.cs
- SpeechUI.cs
- AutomationProperties.cs
- SrgsDocument.cs
- NativeMethods.cs
- WebPermission.cs
- versioninfo.cs
- ExceptionCollection.cs
- ScriptingWebServicesSectionGroup.cs
- SchemaImporterExtensionElement.cs
- AccessorTable.cs
- GroupStyle.cs
- DataServices.cs
- DataList.cs
- HtmlAnchor.cs
- GenerateTemporaryTargetAssembly.cs
- CqlErrorHelper.cs
- CorrelationExtension.cs
- DataGridItemCollection.cs
- ActionFrame.cs
- XmlName.cs
- DataSourceProvider.cs
- DependencyPropertyConverter.cs
- BezierSegment.cs
- OperationGenerator.cs
- XamlStyleSerializer.cs
- SerializableAttribute.cs
- SqlBulkCopyColumnMappingCollection.cs
- DataGridViewButtonColumn.cs
- BaseTemplateParser.cs
- BCLDebug.cs
- DependencyPropertyValueSerializer.cs
- KeyMatchBuilder.cs
- XmlSchemaSubstitutionGroup.cs
- SolidColorBrush.cs
- Setter.cs
- CallbackHandler.cs
- DSASignatureDeformatter.cs
- XmlDocumentFragment.cs
- DBCommandBuilder.cs
- MemoryMappedViewAccessor.cs
- DataGridLength.cs
- ImageConverter.cs
- EpmCustomContentSerializer.cs
- SurrogateChar.cs
- Configuration.cs
- DataListCommandEventArgs.cs
- IConvertible.cs
- ToolStripItemClickedEventArgs.cs
- UiaCoreApi.cs
- AnimationTimeline.cs
- ClientProxyGenerator.cs
- InvalidPropValue.cs
- CompositeActivityTypeDescriptor.cs
- XmlSchemaInfo.cs
- WindowsStatic.cs
- Table.cs
- SingleObjectCollection.cs
- CacheAxisQuery.cs