Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewCellMouseEventArgs.cs / 1305376 / DataGridViewCellMouseEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.ComponentModel; ////// /// public class DataGridViewCellMouseEventArgs : MouseEventArgs { private int rowIndex, columnIndex; ///[To be supplied.] ///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. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.ComponentModel; ////// /// public class DataGridViewCellMouseEventArgs : MouseEventArgs { private int rowIndex, columnIndex; ///[To be supplied.] ///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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- IncomingWebRequestContext.cs
- StrokeDescriptor.cs
- unitconverter.cs
- GifBitmapDecoder.cs
- DashStyle.cs
- RequestResponse.cs
- ResourcesBuildProvider.cs
- SafeCryptContextHandle.cs
- XmlIlTypeHelper.cs
- DeferredReference.cs
- GridSplitterAutomationPeer.cs
- XComponentModel.cs
- FixedDSBuilder.cs
- TextElementCollection.cs
- CompareInfo.cs
- ViewSimplifier.cs
- Point4DValueSerializer.cs
- ProjectionPlan.cs
- odbcmetadatafactory.cs
- HttpListenerResponse.cs
- GetResponse.cs
- Graph.cs
- DBDataPermission.cs
- DynamicValueConverter.cs
- XmlSchemaInfo.cs
- TransactionManager.cs
- IntegerFacetDescriptionElement.cs
- HyperLinkStyle.cs
- AutoSizeToolBoxItem.cs
- Dictionary.cs
- SqlTriggerContext.cs
- ImageFormatConverter.cs
- XmlParserContext.cs
- EmptyImpersonationContext.cs
- AgileSafeNativeMemoryHandle.cs
- DynamicVirtualDiscoSearcher.cs
- EdmSchemaError.cs
- ListBoxChrome.cs
- EmbeddedMailObjectsCollection.cs
- MemoryRecordBuffer.cs
- InstanceKeyCompleteException.cs
- dbenumerator.cs
- Floater.cs
- WindowsGraphics2.cs
- VisualBasicValue.cs
- XslVisitor.cs
- KeyValuePairs.cs
- ServiceEndpointCollection.cs
- SqlCommandSet.cs
- UrlMappingsModule.cs
- SingleStorage.cs
- ADConnectionHelper.cs
- TextDecoration.cs
- WsiProfilesElement.cs
- DrawingImage.cs
- ListViewItem.cs
- XPathDescendantIterator.cs
- OleCmdHelper.cs
- CursorConverter.cs
- PanningMessageFilter.cs
- MessagePartSpecification.cs
- InstanceNormalEvent.cs
- SubMenuStyle.cs
- BaseCodePageEncoding.cs
- StringArrayConverter.cs
- PropertyGridView.cs
- Content.cs
- LowerCaseStringConverter.cs
- EntityDataSourceDataSelectionPanel.cs
- Soap.cs
- EndpointConfigContainer.cs
- SqlDataSourceCommandEventArgs.cs
- CompensationHandlingFilter.cs
- LocalizationComments.cs
- Font.cs
- RuntimeResourceSet.cs
- FileUtil.cs
- XmlSchemaCompilationSettings.cs
- DataView.cs
- MyContact.cs
- SignerInfo.cs
- SystemIcons.cs
- UnsafeNativeMethods.cs
- TypeUtil.cs
- GPPOINTF.cs
- SQLInt16.cs
- PerformanceCountersElement.cs
- ResXBuildProvider.cs
- ValidationRule.cs
- DataContractSerializerElement.cs
- MoveSizeWinEventHandler.cs
- CopyNodeSetAction.cs
- ModelVisual3D.cs
- LazyTextWriterCreator.cs
- DataControlLinkButton.cs
- AttachedAnnotation.cs
- XMLUtil.cs
- QilGenerator.cs
- GuidelineSet.cs
- SpotLight.cs