Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewCellMouseEventArgs.cs / 1305376 / 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
- Currency.cs
- PropertyIDSet.cs
- FieldMetadata.cs
- StateDesigner.Layouts.cs
- XmlSchemaSimpleContentRestriction.cs
- HtmlForm.cs
- SByte.cs
- TimeZone.cs
- DocumentPageView.cs
- ServiceOperationParameter.cs
- CloudCollection.cs
- DispatcherExceptionEventArgs.cs
- TriggerCollection.cs
- DateTimeStorage.cs
- BufferedWebEventProvider.cs
- HttpRequest.cs
- MemoryStream.cs
- XmlSchemaSubstitutionGroup.cs
- HttpListenerRequest.cs
- InboundActivityHelper.cs
- UnsafeMethods.cs
- SettingsAttributes.cs
- CommandLineParser.cs
- PartitionResolver.cs
- TypeUnloadedException.cs
- CustomErrorsSection.cs
- SerializableAttribute.cs
- InvokeMethodActivityDesigner.cs
- ConfigXmlDocument.cs
- AdvancedBindingEditor.cs
- Label.cs
- StateBag.cs
- SHA384.cs
- CqlParserHelpers.cs
- KeyPullup.cs
- XamlTreeBuilder.cs
- Rfc2898DeriveBytes.cs
- CodeExporter.cs
- StringStorage.cs
- UIElementParagraph.cs
- IdleTimeoutMonitor.cs
- SchemaElementDecl.cs
- XpsFontSerializationService.cs
- HttpCookieCollection.cs
- InfocardExtendedInformationCollection.cs
- UInt16Converter.cs
- TreeNode.cs
- HtmlAnchor.cs
- clipboard.cs
- SystemPens.cs
- UserUseLicenseDictionaryLoader.cs
- BitmapMetadata.cs
- HandleCollector.cs
- XmlSchemaAny.cs
- AvTrace.cs
- CellQuery.cs
- Vector3DCollectionConverter.cs
- SynchronizationContext.cs
- Root.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- PolicyLevel.cs
- RoutedEventValueSerializer.cs
- TrustSection.cs
- ImmutableObjectAttribute.cs
- QueryOutputWriter.cs
- ListDictionary.cs
- srgsitem.cs
- PropertyPath.cs
- DesignerSerializationOptionsAttribute.cs
- TransformCryptoHandle.cs
- BitmapEffectRenderDataResource.cs
- MarkupCompiler.cs
- OracleConnectionFactory.cs
- RegistrationServices.cs
- DataGridViewRowsAddedEventArgs.cs
- HTTPNotFoundHandler.cs
- ModelPerspective.cs
- StringReader.cs
- Filter.cs
- PageRanges.cs
- IntSecurity.cs
- Exception.cs
- RuntimeArgumentHandle.cs
- Tokenizer.cs
- ColumnBinding.cs
- VisualStyleInformation.cs
- AccessDataSource.cs
- RepeaterDesigner.cs
- ScrollChrome.cs
- DesignerCatalogPartChrome.cs
- EqualityComparer.cs
- ScaleTransform.cs
- CryptoConfig.cs
- XsdDuration.cs
- CheckBox.cs
- RootBrowserWindowAutomationPeer.cs
- DbProviderConfigurationHandler.cs
- PKCS1MaskGenerationMethod.cs
- NumberFunctions.cs
- SapiInterop.cs