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
- OrderPreservingPipeliningMergeHelper.cs
- DrawingVisual.cs
- OptionalColumn.cs
- PopOutPanel.cs
- CustomErrorCollection.cs
- AppSecurityManager.cs
- ExitEventArgs.cs
- MatchAttribute.cs
- SoapTypeAttribute.cs
- PlanCompiler.cs
- EventData.cs
- DiscoveryMessageProperty.cs
- TextLineBreak.cs
- ByteAnimation.cs
- NotImplementedException.cs
- Transform3DCollection.cs
- WebPartCancelEventArgs.cs
- PersistenceTypeAttribute.cs
- IndentedWriter.cs
- PersistChildrenAttribute.cs
- RunInstallerAttribute.cs
- BuildManager.cs
- WorkflowInstanceAbortedRecord.cs
- XmlSchemaIdentityConstraint.cs
- DataColumnMapping.cs
- DoubleLink.cs
- DisplayNameAttribute.cs
- infer.cs
- HttpFileCollection.cs
- LinkArea.cs
- DesignerSerializerAttribute.cs
- FileSecurity.cs
- ColumnReorderedEventArgs.cs
- NgenServicingAttributes.cs
- wgx_render.cs
- CompModSwitches.cs
- TaskFileService.cs
- XsltSettings.cs
- ButtonBaseAdapter.cs
- PiiTraceSource.cs
- IOThreadTimer.cs
- ConfigurationException.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- SizeF.cs
- Attributes.cs
- Canvas.cs
- XmlImplementation.cs
- SpeakCompletedEventArgs.cs
- HttpCachePolicyElement.cs
- SiteOfOriginPart.cs
- MatrixAnimationUsingPath.cs
- BaseCodeDomTreeGenerator.cs
- Journal.cs
- HttpClientChannel.cs
- AVElementHelper.cs
- ObjectItemLoadingSessionData.cs
- SmiRecordBuffer.cs
- FixedLineResult.cs
- WebPartCatalogCloseVerb.cs
- FontDifferentiator.cs
- StoreUtilities.cs
- RowToParametersTransformer.cs
- CommandBindingCollection.cs
- SecondaryIndexList.cs
- DelegateOutArgument.cs
- EntitySqlException.cs
- TextCharacters.cs
- RotateTransform.cs
- HMACSHA256.cs
- UnmanagedMarshal.cs
- List.cs
- SweepDirectionValidation.cs
- FieldBuilder.cs
- TemplateContentLoader.cs
- SafeWaitHandle.cs
- FontInfo.cs
- WebControlParameterProxy.cs
- SqlXml.cs
- HttpResponse.cs
- SerializationFieldInfo.cs
- OdbcPermission.cs
- TogglePattern.cs
- OdbcConnectionFactory.cs
- FixedPageProcessor.cs
- FocusManager.cs
- DiscoveryInnerClientAdhocCD1.cs
- TheQuery.cs
- TextInfo.cs
- GCHandleCookieTable.cs
- ReflectEventDescriptor.cs
- XmlStrings.cs
- SurrogateSelector.cs
- HttpHandlerActionCollection.cs
- SplineKeyFrames.cs
- SharedHttpTransportManager.cs
- RelationshipSet.cs
- CustomError.cs
- MenuItemBinding.cs
- ValueHandle.cs
- SystemUdpStatistics.cs