Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ExpressionBindings.cs
- SemanticAnalyzer.cs
- XmlBinaryReaderSession.cs
- ContextStaticAttribute.cs
- TransactionOptions.cs
- AxHost.cs
- ConstructorBuilder.cs
- BoolExpressionVisitors.cs
- SQLDateTimeStorage.cs
- MultipartContentParser.cs
- TreeNodeClickEventArgs.cs
- StrokeCollection.cs
- ThreadExceptionDialog.cs
- ListenerAdapter.cs
- PeerApplicationLaunchInfo.cs
- ImageAnimator.cs
- CollaborationHelperFunctions.cs
- TimerElapsedEvenArgs.cs
- CharAnimationUsingKeyFrames.cs
- TypeReference.cs
- SmiEventSink_Default.cs
- LocalFileSettingsProvider.cs
- NotImplementedException.cs
- LexicalChunk.cs
- Part.cs
- querybuilder.cs
- EntityConnectionStringBuilder.cs
- DecoderFallbackWithFailureFlag.cs
- httpapplicationstate.cs
- FontFamilyIdentifier.cs
- Converter.cs
- XmlHierarchyData.cs
- Single.cs
- WebServicesDescriptionAttribute.cs
- MgmtConfigurationRecord.cs
- QilDataSource.cs
- DataColumnMappingCollection.cs
- StylusEventArgs.cs
- WindowsTokenRoleProvider.cs
- JobDuplex.cs
- MenuRenderer.cs
- OleDbException.cs
- HtmlShim.cs
- GridProviderWrapper.cs
- DefaultAuthorizationContext.cs
- HyperLinkStyle.cs
- StreamInfo.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- SpinLock.cs
- AuthorizationSection.cs
- DbDataRecord.cs
- InputGestureCollection.cs
- AsyncStreamReader.cs
- _BufferOffsetSize.cs
- LeafCellTreeNode.cs
- HttpServerVarsCollection.cs
- DataColumnPropertyDescriptor.cs
- InheritedPropertyChangedEventArgs.cs
- BindingWorker.cs
- ThicknessAnimationUsingKeyFrames.cs
- TypefaceMap.cs
- WebHttpSecurityModeHelper.cs
- EmptyControlCollection.cs
- DataGridViewMethods.cs
- TrackingRecord.cs
- HtmlInputHidden.cs
- ServiceOperationHelpers.cs
- ContentFilePart.cs
- SmiConnection.cs
- MatrixUtil.cs
- HtmlSelect.cs
- GridProviderWrapper.cs
- ObjectHelper.cs
- DotNetATv1WindowsLogEntryDeserializer.cs
- JournalNavigationScope.cs
- MimeMapping.cs
- loginstatus.cs
- ReadOnlyDictionary.cs
- IncrementalCompileAnalyzer.cs
- IdentityModelDictionary.cs
- ToolBarPanel.cs
- LastQueryOperator.cs
- ScrollBarRenderer.cs
- Track.cs
- CodeGroup.cs
- WinFormsSecurity.cs
- ConfigsHelper.cs
- StylusPointProperties.cs
- PeerCustomResolverSettings.cs
- ExpressionBuilder.cs
- ThicknessAnimation.cs
- NominalTypeEliminator.cs
- XmlUnspecifiedAttribute.cs
- Evidence.cs
- HttpCookieCollection.cs
- EmptyImpersonationContext.cs
- Pair.cs
- MultiPropertyDescriptorGridEntry.cs
- HyperLinkDesigner.cs
- PageVisual.cs