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
- XD.cs
- Scanner.cs
- UIHelper.cs
- EntityDataSourceValidationException.cs
- XmlArrayAttribute.cs
- SafeBuffer.cs
- HotSpotCollection.cs
- HwndSubclass.cs
- ToggleProviderWrapper.cs
- RuleSettings.cs
- ComPlusServiceHost.cs
- SyntaxCheck.cs
- DelegateSerializationHolder.cs
- AnnotationHighlightLayer.cs
- BaseParser.cs
- OutputWindow.cs
- AuthorizationSection.cs
- ToolStripArrowRenderEventArgs.cs
- RichTextBoxAutomationPeer.cs
- CreateWorkflowOwnerCommand.cs
- ResourcesBuildProvider.cs
- DateTimeFormatInfo.cs
- CodeTypeMemberCollection.cs
- InputGestureCollection.cs
- MediaSystem.cs
- SettingsSection.cs
- ServiceErrorHandler.cs
- XmlResolver.cs
- SimpleRecyclingCache.cs
- SchemaImporterExtension.cs
- ScrollBarRenderer.cs
- SimplePropertyEntry.cs
- XPathAncestorIterator.cs
- ListGeneralPage.cs
- DataFormat.cs
- Int16Converter.cs
- ElementAction.cs
- ModuleBuilder.cs
- OdbcConnectionOpen.cs
- Window.cs
- Rotation3DAnimationUsingKeyFrames.cs
- ProviderUtil.cs
- SchemaReference.cs
- ReflectionPermission.cs
- StandardToolWindows.cs
- BinaryUtilClasses.cs
- TableItemPatternIdentifiers.cs
- CodeBinaryOperatorExpression.cs
- TrackingServices.cs
- ToolStripMenuItemDesigner.cs
- SqlServer2KCompatibilityAnnotation.cs
- DependencyPropertyKind.cs
- MetaType.cs
- MemoryPressure.cs
- HwndMouseInputProvider.cs
- LineServicesCallbacks.cs
- CustomAttributeSerializer.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- MailDefinition.cs
- XdrBuilder.cs
- XmlSchemaComplexContentRestriction.cs
- AssemblyCache.cs
- EntityDataSourceValidationException.cs
- SafeCertificateStore.cs
- ServicePrincipalNameElement.cs
- QueryCacheKey.cs
- SerialPort.cs
- DependencySource.cs
- InputLanguageManager.cs
- Hashtable.cs
- TextEvent.cs
- ResumeStoryboard.cs
- PageParser.cs
- SessionStateItemCollection.cs
- SinglePhaseEnlistment.cs
- BuildProviderCollection.cs
- ValueExpressions.cs
- ArraySet.cs
- InheritanceContextHelper.cs
- DesignerOptions.cs
- BatchParser.cs
- ToolStripItemClickedEventArgs.cs
- FixedDocumentPaginator.cs
- SwitchLevelAttribute.cs
- DataGridViewMethods.cs
- HostingEnvironment.cs
- PreviewControlDesigner.cs
- WebDescriptionAttribute.cs
- DateTime.cs
- JsonMessageEncoderFactory.cs
- SocketAddress.cs
- TypeForwardedToAttribute.cs
- StylusPoint.cs
- ProtectedConfiguration.cs
- CharConverter.cs
- HMACSHA512.cs
- KeyTime.cs
- oledbconnectionstring.cs
- JsonFormatGeneratorStatics.cs
- DataGridViewColumnEventArgs.cs