Code:
/ FX-1434 / FX-1434 / 1.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
- SimpleFieldTemplateUserControl.cs
- XpsS0ValidatingLoader.cs
- Brush.cs
- UpdatePanelControlTrigger.cs
- Exceptions.cs
- Emitter.cs
- EventBuilder.cs
- AtomParser.cs
- ObjectSecurity.cs
- XmlSchemaChoice.cs
- BitmapEffectGroup.cs
- DataSourceCacheDurationConverter.cs
- TextDataBindingHandler.cs
- HtmlInputFile.cs
- ToolBarTray.cs
- TraceRecord.cs
- RightsManagementEncryptionTransform.cs
- PropertyDescriptorComparer.cs
- QilBinary.cs
- UpDownEvent.cs
- DataControlFieldCell.cs
- GridViewDeleteEventArgs.cs
- SessionIDManager.cs
- AutomationEvent.cs
- CopyCodeAction.cs
- IPPacketInformation.cs
- Composition.cs
- SafeSecurityHandles.cs
- BinHexEncoder.cs
- processwaithandle.cs
- AxHost.cs
- FontStyles.cs
- RestClientProxyHandler.cs
- WebPartVerbsEventArgs.cs
- IisTraceListener.cs
- TypedDataSourceCodeGenerator.cs
- GlyphInfoList.cs
- BitSet.cs
- OracleEncoding.cs
- VirtualDirectoryMapping.cs
- ClientSponsor.cs
- UpDownBase.cs
- EngineSiteSapi.cs
- SortedList.cs
- BaseCodePageEncoding.cs
- FileRecordSequenceCompletedAsyncResult.cs
- DebugView.cs
- InvalidContentTypeException.cs
- OrderPreservingPipeliningSpoolingTask.cs
- CompilerCollection.cs
- SoapIncludeAttribute.cs
- ConditionalDesigner.cs
- InternalCompensate.cs
- Label.cs
- SocketAddress.cs
- UnsafeNativeMethods.cs
- TemplateBindingExtensionConverter.cs
- ThreadExceptionDialog.cs
- WebPartChrome.cs
- KoreanLunisolarCalendar.cs
- SrgsItemList.cs
- MaterialGroup.cs
- SpellCheck.cs
- ProcessModuleCollection.cs
- SatelliteContractVersionAttribute.cs
- BrowserCapabilitiesCodeGenerator.cs
- SecurityKeyType.cs
- SmtpFailedRecipientException.cs
- ToolStripScrollButton.cs
- DynamicField.cs
- DefaultTextStore.cs
- ValueTypeIndexerReference.cs
- DataGridViewRowCollection.cs
- _HTTPDateParse.cs
- MemberInfoSerializationHolder.cs
- CompressStream.cs
- CreateUserErrorEventArgs.cs
- StreamingContext.cs
- Canvas.cs
- SafePointer.cs
- KnownBoxes.cs
- embossbitmapeffect.cs
- SortedDictionary.cs
- DataTablePropertyDescriptor.cs
- ControlValuePropertyAttribute.cs
- WebPartConnection.cs
- SQLGuid.cs
- CaseInsensitiveHashCodeProvider.cs
- ProfilePropertySettingsCollection.cs
- InfoCardSymmetricCrypto.cs
- XmlAttributeCollection.cs
- Typography.cs
- DetailsViewModeEventArgs.cs
- FormatSettings.cs
- DocumentPageViewAutomationPeer.cs
- ClientCredentialsSecurityTokenManager.cs
- XmlAtomicValue.cs
- TemplateControlCodeDomTreeGenerator.cs
- SoapFormatter.cs
- MessagePartProtectionMode.cs