Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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; ////// /// 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
- ObjectStateEntryBaseUpdatableDataRecord.cs
- xmlNames.cs
- FontUnit.cs
- MergeLocalizationDirectives.cs
- PreloadedPackages.cs
- OrderPreservingPipeliningMergeHelper.cs
- Material.cs
- NeedSkipTokenVisitor.cs
- XsdDateTime.cs
- NonPrimarySelectionGlyph.cs
- complextypematerializer.cs
- SystemTcpStatistics.cs
- XmlChildNodes.cs
- SplitContainer.cs
- BufferedReadStream.cs
- NavigatingCancelEventArgs.cs
- ScanQueryOperator.cs
- DoubleStorage.cs
- RtfControls.cs
- FindCriteria11.cs
- TypeDescriptionProviderAttribute.cs
- SystemWebCachingSectionGroup.cs
- OLEDB_Enum.cs
- PageParser.cs
- ConfigsHelper.cs
- TextServicesPropertyRanges.cs
- DbConnectionPoolGroupProviderInfo.cs
- MachineKey.cs
- RenderDataDrawingContext.cs
- DLinqAssociationProvider.cs
- BitmapCodecInfo.cs
- PlatformNotSupportedException.cs
- TabPanel.cs
- SafeLibraryHandle.cs
- UiaCoreProviderApi.cs
- OdbcTransaction.cs
- StackOverflowException.cs
- IEnumerable.cs
- BulletChrome.cs
- MimeTypePropertyAttribute.cs
- PropertyChangedEventArgs.cs
- WinFormsSpinner.cs
- DataMisalignedException.cs
- EncryptedKeyIdentifierClause.cs
- EndpointDispatcher.cs
- WindowsListBox.cs
- UnicodeEncoding.cs
- DataViewSetting.cs
- AsymmetricSignatureDeformatter.cs
- EdmMember.cs
- SQLMoney.cs
- GatewayDefinition.cs
- SearchForVirtualItemEventArgs.cs
- PreProcessInputEventArgs.cs
- Identity.cs
- HttpRequestTraceRecord.cs
- DragDropManager.cs
- _Win32.cs
- XsltInput.cs
- EditBehavior.cs
- CreateUserWizardStep.cs
- Context.cs
- DataListItemEventArgs.cs
- _IPv6Address.cs
- NumberFormatInfo.cs
- OdbcConnectionString.cs
- Cursor.cs
- RunClient.cs
- AutoResetEvent.cs
- PersonalizableTypeEntry.cs
- FrameDimension.cs
- Psha1DerivedKeyGeneratorHelper.cs
- TextElement.cs
- BookmarkResumptionRecord.cs
- SqlDataReaderSmi.cs
- TextTreeUndoUnit.cs
- Journal.cs
- SqlRecordBuffer.cs
- DataGridCaption.cs
- ProbeMatchesApril2005.cs
- Viewport3DAutomationPeer.cs
- ColumnResult.cs
- log.cs
- EventOpcode.cs
- Vector3DConverter.cs
- AnchoredBlock.cs
- DesignerSerializerAttribute.cs
- XmlnsDictionary.cs
- TextTreeNode.cs
- BmpBitmapDecoder.cs
- BounceEase.cs
- StylusTip.cs
- Focus.cs
- Graphics.cs
- XhtmlMobileTextWriter.cs
- RemoveStoryboard.cs
- PersonalizationDictionary.cs
- DPCustomTypeDescriptor.cs
- SimpleApplicationHost.cs
- MultipartContentParser.cs