Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- DbResourceAllocator.cs
- ShaderRenderModeValidation.cs
- ConfigurationLockCollection.cs
- AppliedDeviceFiltersEditor.cs
- HandleExceptionArgs.cs
- DataObjectSettingDataEventArgs.cs
- WebBrowserContainer.cs
- COAUTHIDENTITY.cs
- DataGridViewButtonCell.cs
- Button.cs
- Point4DValueSerializer.cs
- SystemDiagnosticsSection.cs
- KnownBoxes.cs
- ThaiBuddhistCalendar.cs
- PenLineCapValidation.cs
- safex509handles.cs
- TemplateGroupCollection.cs
- StdValidatorsAndConverters.cs
- AttributeAction.cs
- InstanceContextMode.cs
- TreeIterator.cs
- UDPClient.cs
- EnumerableRowCollectionExtensions.cs
- ZipIOModeEnforcingStream.cs
- DesignerActionGlyph.cs
- ClockController.cs
- OutputCacheSettings.cs
- StrongNameUtility.cs
- Debugger.cs
- CodeParameterDeclarationExpression.cs
- ResourceKey.cs
- ObjectListField.cs
- GeometryGroup.cs
- SQLInt16Storage.cs
- QueryCacheManager.cs
- HostVisual.cs
- StrokeNodeOperations2.cs
- DataGridViewCellFormattingEventArgs.cs
- ComAdminWrapper.cs
- CultureTableRecord.cs
- ExceptionHandlersDesigner.cs
- FakeModelPropertyImpl.cs
- FormsAuthenticationUser.cs
- objectquery_tresulttype.cs
- EntityTransaction.cs
- ConfigurationSectionCollection.cs
- BitmapData.cs
- OdbcStatementHandle.cs
- ViewManager.cs
- SafeThemeHandle.cs
- PersonalizationState.cs
- XmlDsigSep2000.cs
- CustomErrorsSectionWrapper.cs
- EnvironmentPermission.cs
- storepermissionattribute.cs
- SQLBinary.cs
- LazyTextWriterCreator.cs
- Console.cs
- RightsManagementErrorHandler.cs
- ImageUrlEditor.cs
- RadialGradientBrush.cs
- TraceHandlerErrorFormatter.cs
- FileLoadException.cs
- SQLByteStorage.cs
- XmlException.cs
- DataKeyArray.cs
- HtmlTableRowCollection.cs
- CrossAppDomainChannel.cs
- PropertyBuilder.cs
- DynamicQueryableWrapper.cs
- ParameterElementCollection.cs
- StatusBarAutomationPeer.cs
- GridViewDesigner.cs
- FileLoadException.cs
- CharEntityEncoderFallback.cs
- WorkflowStateRollbackService.cs
- SurrogateChar.cs
- ValidationService.cs
- SiteMapNodeItem.cs
- ProcessActivityTreeOptions.cs
- ContentOperations.cs
- NotifyInputEventArgs.cs
- EditorZoneBase.cs
- FixedSOMPage.cs
- TextEditorTyping.cs
- DragDrop.cs
- BitmapEffectState.cs
- RegionInfo.cs
- ADMembershipProvider.cs
- LabelDesigner.cs
- SectionRecord.cs
- CreateUserWizardAutoFormat.cs
- EntityViewGenerationAttribute.cs
- Relationship.cs
- MarshalDirectiveException.cs
- BinaryConverter.cs
- ClientTarget.cs
- X509CertificateCollection.cs
- DefaultEventAttribute.cs
- EDesignUtil.cs