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
- VectorAnimationBase.cs
- DrawingCollection.cs
- SemaphoreSecurity.cs
- Window.cs
- QueryStringParameter.cs
- ProtocolElement.cs
- RegexMatch.cs
- TemplateBindingExpression.cs
- Config.cs
- DependencyPropertyKind.cs
- ControlValuePropertyAttribute.cs
- StrokeCollectionDefaultValueFactory.cs
- CrossSiteScriptingValidation.cs
- TheQuery.cs
- LicenseProviderAttribute.cs
- OperationCanceledException.cs
- GlobalizationAssembly.cs
- MediaTimeline.cs
- WindowsSecurityTokenAuthenticator.cs
- ComPersistableTypeElement.cs
- IncomingWebResponseContext.cs
- AuthenticationService.cs
- PersonalizablePropertyEntry.cs
- ValidationError.cs
- Clause.cs
- TextElement.cs
- PropertyExpression.cs
- SessionEndingEventArgs.cs
- DescendantQuery.cs
- InternalBufferOverflowException.cs
- WebBrowserNavigatingEventHandler.cs
- Query.cs
- CryptoHelper.cs
- WindowsIPAddress.cs
- PasswordBox.cs
- OutputCacheModule.cs
- DataDocumentXPathNavigator.cs
- TraversalRequest.cs
- RadioButton.cs
- XmlTypeAttribute.cs
- GetReadStreamResult.cs
- CommonDialog.cs
- TextElementCollectionHelper.cs
- DataGridViewElement.cs
- IPAddress.cs
- ApplicationServiceManager.cs
- ParameterElementCollection.cs
- ActiveXHost.cs
- DataGridPageChangedEventArgs.cs
- MimeObjectFactory.cs
- EntityContainer.cs
- AdapterDictionary.cs
- FloatUtil.cs
- WorkflowTransactionService.cs
- XmlSchemaExporter.cs
- DataGridViewBindingCompleteEventArgs.cs
- Button.cs
- ThemeInfoAttribute.cs
- EnumDataContract.cs
- WeakHashtable.cs
- TabControlEvent.cs
- FixedPageStructure.cs
- NameObjectCollectionBase.cs
- ResourceProviderFactory.cs
- PersonalizationProvider.cs
- HashAlgorithm.cs
- AnnotationAdorner.cs
- WinFormsSecurity.cs
- _IPv4Address.cs
- QueryableDataSourceHelper.cs
- UIPermission.cs
- FontNameEditor.cs
- MouseActionConverter.cs
- PerfCounters.cs
- AnnotationDocumentPaginator.cs
- DataGridViewColumnEventArgs.cs
- CFStream.cs
- ProfileManager.cs
- WindowsStatusBar.cs
- TaskFormBase.cs
- EdmProviderManifest.cs
- ToolStripRenderEventArgs.cs
- DesignerToolboxInfo.cs
- DESCryptoServiceProvider.cs
- DictionaryEntry.cs
- ModuleElement.cs
- _SecureChannel.cs
- ListChangedEventArgs.cs
- DefaultSection.cs
- SingleConverter.cs
- CompilerTypeWithParams.cs
- HtmlLink.cs
- WebCodeGenerator.cs
- Int32Animation.cs
- UnionCqlBlock.cs
- GifBitmapEncoder.cs
- BrushValueSerializer.cs
- NullEntityWrapper.cs
- OdbcEnvironment.cs
- BuildResultCache.cs