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
- AssemblyEvidenceFactory.cs
- StringToken.cs
- HashStream.cs
- ObjectDataSource.cs
- FrameworkContentElementAutomationPeer.cs
- CodeTypeMember.cs
- Button.cs
- ColorTranslator.cs
- CachedTypeface.cs
- RightsManagementEncryptionTransform.cs
- MediaSystem.cs
- PolyBezierSegment.cs
- LogStore.cs
- CompoundFileStorageReference.cs
- ParserOptions.cs
- StrongNamePublicKeyBlob.cs
- GatewayDefinition.cs
- EventDriven.cs
- KeyInstance.cs
- SqlDataSourceQuery.cs
- AppDomainInstanceProvider.cs
- PathSegmentCollection.cs
- LineInfo.cs
- WorkflowWebService.cs
- AutoCompleteStringCollection.cs
- securestring.cs
- WebDisplayNameAttribute.cs
- SettingsProperty.cs
- _LocalDataStoreMgr.cs
- Exceptions.cs
- StringTraceRecord.cs
- FigureParagraph.cs
- FormsAuthenticationConfiguration.cs
- RotateTransform3D.cs
- Perspective.cs
- UnmanagedHandle.cs
- ModelFunction.cs
- ColorAnimationBase.cs
- RelationshipEnd.cs
- ChannelManager.cs
- EndpointNameMessageFilter.cs
- ClientFormsAuthenticationCredentials.cs
- PageParser.cs
- HtmlToClrEventProxy.cs
- PerformanceCounterPermissionEntryCollection.cs
- WinFormsComponentEditor.cs
- TagNameToTypeMapper.cs
- HtmlHead.cs
- AuthenticationSection.cs
- ToolStripTextBox.cs
- CreateUserWizard.cs
- FamilyMap.cs
- Win32.cs
- ListControl.cs
- DataKeyArray.cs
- EnvelopedPkcs7.cs
- OleDbTransaction.cs
- DataColumnPropertyDescriptor.cs
- MessageHeaderT.cs
- RefExpr.cs
- ResourceReferenceKeyNotFoundException.cs
- BamlResourceContent.cs
- glyphs.cs
- dtdvalidator.cs
- PolicyStatement.cs
- MD5.cs
- QueryCacheEntry.cs
- Accessible.cs
- ConfigurationSection.cs
- AutoSizeToolBoxItem.cs
- COM2TypeInfoProcessor.cs
- HttpInputStream.cs
- QilReference.cs
- InternalPermissions.cs
- WebHttpBindingElement.cs
- ButtonRenderer.cs
- MsmqIntegrationChannelFactory.cs
- GetLedgerRequest.cs
- SafeFileMappingHandle.cs
- DbProviderServices.cs
- PreProcessInputEventArgs.cs
- QueryAsyncResult.cs
- TextBox.cs
- ImageCodecInfoPrivate.cs
- SystemFonts.cs
- BitSet.cs
- FunctionImportMapping.cs
- codemethodreferenceexpression.cs
- HttpRequestWrapper.cs
- CacheEntry.cs
- SystemColorTracker.cs
- GenerateHelper.cs
- PropagatorResult.cs
- WebScriptServiceHost.cs
- IncrementalReadDecoders.cs
- ActivationService.cs
- TypeSystemProvider.cs
- AppearanceEditorPart.cs
- AnimationTimeline.cs
- ResourceAssociationSetEnd.cs