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
- ShaderRenderModeValidation.cs
- COM2ExtendedTypeConverter.cs
- Validator.cs
- LocalizeDesigner.cs
- TypeElement.cs
- SystemWebCachingSectionGroup.cs
- SQLChars.cs
- Point.cs
- WebPartConnection.cs
- RequestResizeEvent.cs
- CounterCreationData.cs
- TemplatePropertyEntry.cs
- SmiRecordBuffer.cs
- AssemblyResolver.cs
- CompilerGlobalScopeAttribute.cs
- ScriptComponentDescriptor.cs
- PriorityBindingExpression.cs
- SchemaImporterExtensionElementCollection.cs
- Trace.cs
- MonthCalendarDesigner.cs
- AssemblyAttributesGoHere.cs
- HttpRuntimeSection.cs
- SoundPlayer.cs
- ServiceModelPerformanceCounters.cs
- MobileErrorInfo.cs
- ReceiveContextCollection.cs
- QuaternionConverter.cs
- SecurityChannelFactory.cs
- SplitterEvent.cs
- StylusButtonEventArgs.cs
- IsolatedStorageException.cs
- ToolStrip.cs
- XNodeNavigator.cs
- ScrollProviderWrapper.cs
- NetSectionGroup.cs
- LicenseProviderAttribute.cs
- Stack.cs
- DesignerUtility.cs
- GridItemProviderWrapper.cs
- BitmapSizeOptions.cs
- MergeFailedEvent.cs
- ComboBox.cs
- Vertex.cs
- Maps.cs
- SqlVersion.cs
- Activity.cs
- NestedContainer.cs
- XmlEventCache.cs
- SpellerHighlightLayer.cs
- OutputCacheSettingsSection.cs
- WinEventQueueItem.cs
- Transform3DCollection.cs
- QuaternionAnimation.cs
- DocumentApplication.cs
- DirtyTextRange.cs
- CorrelationActionMessageFilter.cs
- Expr.cs
- ApplicationFileCodeDomTreeGenerator.cs
- StyleXamlTreeBuilder.cs
- RegexCode.cs
- NavigationCommands.cs
- KeyInfo.cs
- GridViewDeleteEventArgs.cs
- Frame.cs
- SR.Designer.cs
- DummyDataSource.cs
- ContentPropertyAttribute.cs
- Activator.cs
- ManualResetEvent.cs
- SafeFileMappingHandle.cs
- SqlConnectionString.cs
- DynamicObject.cs
- WebConfigurationFileMap.cs
- TypefaceMap.cs
- SessionStateUtil.cs
- wgx_sdk_version.cs
- PathGeometry.cs
- Exceptions.cs
- MetaModel.cs
- AQNBuilder.cs
- SAPIEngineTypes.cs
- SimpleFileLog.cs
- ReferentialConstraintRoleElement.cs
- ScriptResourceHandler.cs
- ControlDesigner.cs
- ConstantProjectedSlot.cs
- CategoryGridEntry.cs
- BitVector32.cs
- QilIterator.cs
- EventLogLink.cs
- ConfigUtil.cs
- CustomWebEventKey.cs
- MasterPageBuildProvider.cs
- HostingPreferredMapPath.cs
- CommonRemoteMemoryBlock.cs
- ConnectAlgorithms.cs
- DataColumn.cs
- ExpressionQuoter.cs
- AutomationPropertyInfo.cs
- FileDialogPermission.cs