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
- CompilerLocalReference.cs
- IdentityNotMappedException.cs
- SQLInt16.cs
- SkipQueryOptionExpression.cs
- Semaphore.cs
- PathFigure.cs
- Matrix3D.cs
- DynamicResourceExtension.cs
- Camera.cs
- Button.cs
- TextServicesCompartmentContext.cs
- AppDomainAttributes.cs
- ConstructorArgumentAttribute.cs
- Slider.cs
- PopupEventArgs.cs
- WebPartVerb.cs
- Renderer.cs
- RelativeSource.cs
- ObjectDisposedException.cs
- TableLayoutPanelResizeGlyph.cs
- DataSetMappper.cs
- QueueTransferProtocol.cs
- RealizationDrawingContextWalker.cs
- OleDbEnumerator.cs
- FileAuthorizationModule.cs
- OciLobLocator.cs
- RegexCompilationInfo.cs
- CompositeDataBoundControl.cs
- CommandSet.cs
- ProfileParameter.cs
- DispatcherEventArgs.cs
- NumberFormatInfo.cs
- TrustSection.cs
- ArrayList.cs
- ShutDownListener.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- ellipse.cs
- TypeListConverter.cs
- TrailingSpaceComparer.cs
- TextServicesLoader.cs
- COM2ComponentEditor.cs
- InvokeFunc.cs
- DataServiceHostFactory.cs
- List.cs
- DashStyle.cs
- DrawingGroup.cs
- HtmlInputText.cs
- PagerSettings.cs
- ValidatedControlConverter.cs
- SessionSwitchEventArgs.cs
- HtmlImageAdapter.cs
- QueryBranchOp.cs
- RuleProcessor.cs
- RulePatternOps.cs
- BinaryConverter.cs
- SequentialOutput.cs
- KnownColorTable.cs
- ProfilePropertySettings.cs
- DataTableMappingCollection.cs
- GridViewRow.cs
- RuntimeConfig.cs
- SqlDataReader.cs
- WriteableOnDemandPackagePart.cs
- FormConverter.cs
- CodeObjectCreateExpression.cs
- basemetadatamappingvisitor.cs
- WindowProviderWrapper.cs
- ColumnReorderedEventArgs.cs
- SspiNegotiationTokenProviderState.cs
- ArithmeticException.cs
- ProxyWebPartManager.cs
- EditorBrowsableAttribute.cs
- ExpressionEditorAttribute.cs
- BulletChrome.cs
- SqlWebEventProvider.cs
- ObjectViewFactory.cs
- ScriptingSectionGroup.cs
- HttpListenerPrefixCollection.cs
- RepeaterItemEventArgs.cs
- RtType.cs
- ScalarOps.cs
- RepeaterDataBoundAdapter.cs
- Table.cs
- GlyphTypeface.cs
- DataBoundControlAdapter.cs
- SpStreamWrapper.cs
- TemplateApplicationHelper.cs
- XmlSerializerAssemblyAttribute.cs
- Quaternion.cs
- QueryResultOp.cs
- JavascriptCallbackMessageInspector.cs
- UInt64.cs
- SettingsPropertyCollection.cs
- ParentUndoUnit.cs
- MetafileHeader.cs
- OleDbTransaction.cs
- SafeCryptContextHandle.cs
- DataGridViewRowHeaderCell.cs
- ProcessInfo.cs
- RemotingException.cs