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
- ResourceReferenceKeyNotFoundException.cs
- AttributeEmitter.cs
- RelativeSource.cs
- WinEventTracker.cs
- Single.cs
- DeobfuscatingStream.cs
- OperationGenerator.cs
- PenThreadWorker.cs
- WebPartDisplayModeCollection.cs
- Win32Exception.cs
- ErrorInfoXmlDocument.cs
- CatalogPartCollection.cs
- x509store.cs
- StyleSelector.cs
- XamlClipboardData.cs
- TextModifierScope.cs
- PropertyHelper.cs
- SHA256.cs
- Stopwatch.cs
- CacheMemory.cs
- XXXOnTypeBuilderInstantiation.cs
- PasswordBoxAutomationPeer.cs
- XPathParser.cs
- EntitySetBaseCollection.cs
- StructuralType.cs
- NativeMethods.cs
- Parsers.cs
- InputScope.cs
- CodeVariableDeclarationStatement.cs
- CryptoApi.cs
- GeneralTransform3DGroup.cs
- FormViewDeletedEventArgs.cs
- StringFormat.cs
- ColumnHeader.cs
- ReadOnlyObservableCollection.cs
- SmtpCommands.cs
- PermissionAttributes.cs
- GZipStream.cs
- MetadataFile.cs
- Calendar.cs
- UrlMappingCollection.cs
- SchemaInfo.cs
- MissingManifestResourceException.cs
- SqlNodeAnnotations.cs
- PrimarySelectionGlyph.cs
- TextUtf8RawTextWriter.cs
- XmlSchemaSimpleType.cs
- DisplayMemberTemplateSelector.cs
- BulletedList.cs
- EncodingInfo.cs
- UpdateDelegates.Generated.cs
- MessageSecurityProtocol.cs
- PnrpPeerResolverBindingElement.cs
- SkipQueryOptionExpression.cs
- WebPartDeleteVerb.cs
- DataContractAttribute.cs
- DesignerSerializationVisibilityAttribute.cs
- ScopeCompiler.cs
- ActivitySurrogate.cs
- _DisconnectOverlappedAsyncResult.cs
- Binding.cs
- ItemsControlAutomationPeer.cs
- SqlProviderUtilities.cs
- Propagator.Evaluator.cs
- MarkupObject.cs
- WebBrowserProgressChangedEventHandler.cs
- SharedDp.cs
- NativeMethods.cs
- SoapMessage.cs
- ToolBar.cs
- EditingContext.cs
- _ServiceNameStore.cs
- OdbcUtils.cs
- EarlyBoundInfo.cs
- DeflateStream.cs
- JapaneseCalendar.cs
- SortQuery.cs
- KeyEventArgs.cs
- HostedTransportConfigurationBase.cs
- ProcessHostConfigUtils.cs
- AutoGeneratedFieldProperties.cs
- RuleProcessor.cs
- Journal.cs
- ObjectCache.cs
- StylusPointPropertyInfo.cs
- EntityClassGenerator.cs
- XmlText.cs
- BulletChrome.cs
- WebBrowserHelper.cs
- PermissionSet.cs
- InstancePersistence.cs
- Visual3D.cs
- PropertyValueUIItem.cs
- StrokeIntersection.cs
- Script.cs
- ListViewPagedDataSource.cs
- UIElementAutomationPeer.cs
- StringReader.cs
- mediaeventshelper.cs
- AsnEncodedData.cs