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
- ListViewInsertionMark.cs
- MeasurementDCInfo.cs
- GlyphRunDrawing.cs
- StringOutput.cs
- PerfService.cs
- URI.cs
- SoapClientProtocol.cs
- DelegatingConfigHost.cs
- RadioButtonAutomationPeer.cs
- PeerUnsafeNativeCryptMethods.cs
- Formatter.cs
- StateMachineWorkflowInstance.cs
- XmlSchemaExternal.cs
- ContentWrapperAttribute.cs
- DynamicControl.cs
- DbMetaDataFactory.cs
- FixedPageProcessor.cs
- TextServicesManager.cs
- followingquery.cs
- DataRelationPropertyDescriptor.cs
- DependencyStoreSurrogate.cs
- PassportIdentity.cs
- X509SecurityToken.cs
- EventItfInfo.cs
- SqlFunctionAttribute.cs
- LocalValueEnumerator.cs
- CommentEmitter.cs
- WeakReferenceKey.cs
- KeyValueSerializer.cs
- DesignerTransaction.cs
- ConversionValidationRule.cs
- StateItem.cs
- WithStatement.cs
- EnterpriseServicesHelper.cs
- TargetControlTypeAttribute.cs
- ProgressBar.cs
- MessageBox.cs
- StickyNoteHelper.cs
- TypeKeyValue.cs
- SmtpDigestAuthenticationModule.cs
- lengthconverter.cs
- CssStyleCollection.cs
- SqlCommandSet.cs
- RemotingConfigParser.cs
- DragEventArgs.cs
- VectorKeyFrameCollection.cs
- DataStreams.cs
- errorpatternmatcher.cs
- SqlCacheDependencySection.cs
- StateMachineHelpers.cs
- ConstructorArgumentAttribute.cs
- XPathException.cs
- WebResourceAttribute.cs
- MessageSmuggler.cs
- ResourcePermissionBase.cs
- XsdDuration.cs
- PackageFilter.cs
- ContextMarshalException.cs
- Transform3D.cs
- TableRowGroup.cs
- BoundingRectTracker.cs
- DrawListViewItemEventArgs.cs
- ObjectManager.cs
- FormViewActionList.cs
- BuildProviderAppliesToAttribute.cs
- MessageQueueEnumerator.cs
- Mouse.cs
- ReadOnlyHierarchicalDataSourceView.cs
- SafeNativeMethodsCLR.cs
- PlatformCulture.cs
- CustomErrorCollection.cs
- EntityDataSourceChangingEventArgs.cs
- ByteStack.cs
- DeferredRunTextReference.cs
- BaseDataListActionList.cs
- AnnotationAuthorChangedEventArgs.cs
- _ProxyRegBlob.cs
- CompressionTransform.cs
- NavigatingCancelEventArgs.cs
- BufferedReadStream.cs
- XPathException.cs
- GridViewColumnCollection.cs
- ErrorInfoXmlDocument.cs
- WorkflowDefinitionDispenser.cs
- SchemaEntity.cs
- StringArrayConverter.cs
- ChildTable.cs
- XPathNodeList.cs
- ProfileSettingsCollection.cs
- SqlMethodCallConverter.cs
- PictureBox.cs
- SqlMethodCallConverter.cs
- DateBoldEvent.cs
- XDeferredAxisSource.cs
- ObjectListSelectEventArgs.cs
- ProcessHostMapPath.cs
- CatalogZoneBase.cs
- CompositeControl.cs
- EastAsianLunisolarCalendar.cs
- WorkflowRuntimeService.cs