Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- IncrementalReadDecoders.cs
- IPEndPoint.cs
- SignatureSummaryDialog.cs
- FormViewInsertEventArgs.cs
- JumpTask.cs
- ImageDrawing.cs
- CommandBinding.cs
- WebPartConnectionsConfigureVerb.cs
- KeyTime.cs
- CompilerState.cs
- XmlEntity.cs
- XmlSchemaParticle.cs
- BufferedGraphics.cs
- UntypedNullExpression.cs
- PointIndependentAnimationStorage.cs
- C14NUtil.cs
- HierarchicalDataBoundControl.cs
- TaskExceptionHolder.cs
- DbProviderConfigurationHandler.cs
- RuleSetCollection.cs
- PreDigestedSignedInfo.cs
- DataView.cs
- XD.cs
- ServiceNameElement.cs
- _DisconnectOverlappedAsyncResult.cs
- DateTimeEditor.cs
- DataSourceViewSchemaConverter.cs
- OdbcPermission.cs
- WebContentFormatHelper.cs
- VariantWrapper.cs
- BaseTemplateParser.cs
- StatusBarDesigner.cs
- Int16AnimationBase.cs
- WebPartZoneBaseDesigner.cs
- WindowsToolbarAsMenu.cs
- AlphabeticalEnumConverter.cs
- WsrmMessageInfo.cs
- TableRow.cs
- EdgeProfileValidation.cs
- SymDocumentType.cs
- xmlNames.cs
- ToolStripDropDownMenu.cs
- CommandEventArgs.cs
- TextRangeEdit.cs
- SqlTransaction.cs
- ScriptingWebServicesSectionGroup.cs
- MailAddress.cs
- DeadCharTextComposition.cs
- SQLRoleProvider.cs
- WrappedReader.cs
- WindowsStartMenu.cs
- WindowsTreeView.cs
- BaseCodePageEncoding.cs
- Stacktrace.cs
- AppSettingsExpressionBuilder.cs
- NamedObject.cs
- GroupJoinQueryOperator.cs
- DataGridColumnsPage.cs
- TypeInformation.cs
- ComponentGlyph.cs
- DateTimePicker.cs
- PermissionListSet.cs
- FtpRequestCacheValidator.cs
- SettingsPropertyValue.cs
- EmbossBitmapEffect.cs
- WebConfigurationHostFileChange.cs
- TypeCodeDomSerializer.cs
- ReversePositionQuery.cs
- ViewEventArgs.cs
- MenuItemStyle.cs
- TreeChangeInfo.cs
- DesignerForm.cs
- XmlRawWriterWrapper.cs
- Int32RectValueSerializer.cs
- X509CertificateStore.cs
- ContextStaticAttribute.cs
- WebPartZone.cs
- WmlTextViewAdapter.cs
- dsa.cs
- DbParameterCollectionHelper.cs
- ConstructorNeedsTagAttribute.cs
- IxmlLineInfo.cs
- MetadataAssemblyHelper.cs
- ZipArchive.cs
- ConfigXmlCDataSection.cs
- XPathItem.cs
- ReflectionTypeLoadException.cs
- ControlDesigner.cs
- XPathExpr.cs
- CodeAccessSecurityEngine.cs
- WebPartVerbsEventArgs.cs
- TransactionFilter.cs
- DesignerActionList.cs
- objectresult_tresulttype.cs
- Path.cs
- SoapIgnoreAttribute.cs
- UnsafeNativeMethods.cs
- CaseStatementProjectedSlot.cs
- IDReferencePropertyAttribute.cs
- _BufferOffsetSize.cs