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
- View.cs
- QilPatternVisitor.cs
- Queue.cs
- BaseHashHelper.cs
- ScrollBarRenderer.cs
- SynchronizingStream.cs
- CodeStatement.cs
- PropertyMapper.cs
- ConfigurationSectionCollection.cs
- RuntimeConfig.cs
- MaterializeFromAtom.cs
- IsolatedStorageFilePermission.cs
- PlaceHolder.cs
- DragEventArgs.cs
- ActivityTrace.cs
- BindingBase.cs
- BlurEffect.cs
- PasswordTextNavigator.cs
- FontNameEditor.cs
- ZipIOFileItemStream.cs
- WinInet.cs
- PrintDialogException.cs
- PropertyManager.cs
- SecurityPolicySection.cs
- TabletDevice.cs
- Variant.cs
- InsufficientMemoryException.cs
- BStrWrapper.cs
- ReflectionUtil.cs
- CustomCategoryAttribute.cs
- SR.cs
- AttributeExtensions.cs
- CollectionBuilder.cs
- sqlnorm.cs
- HtmlPageAdapter.cs
- ParagraphVisual.cs
- SimpleFieldTemplateFactory.cs
- UTF8Encoding.cs
- ObfuscationAttribute.cs
- TextProviderWrapper.cs
- SerializationStore.cs
- SecurityDescriptor.cs
- TrustLevel.cs
- RecognitionResult.cs
- LambdaValue.cs
- SystemEvents.cs
- CapabilitiesRule.cs
- ElementAction.cs
- StringAnimationUsingKeyFrames.cs
- UnsafeNativeMethodsTablet.cs
- IERequestCache.cs
- XmlEntityReference.cs
- XmlCharacterData.cs
- Color.cs
- FrameworkContentElement.cs
- DataGridItemCollection.cs
- ReverseInheritProperty.cs
- DCSafeHandle.cs
- XPathNode.cs
- AuthorizationSection.cs
- XmlSequenceWriter.cs
- XamlTemplateSerializer.cs
- WhitespaceRule.cs
- versioninfo.cs
- TypeHelpers.cs
- ParameterToken.cs
- SessionSwitchEventArgs.cs
- __TransparentProxy.cs
- PasswordTextNavigator.cs
- WebBrowserNavigatedEventHandler.cs
- WorkflowMarkupSerializerMapping.cs
- SafeEventLogReadHandle.cs
- StringOutput.cs
- Accessors.cs
- SymmetricKeyWrap.cs
- FileLoadException.cs
- TextRange.cs
- BlockCollection.cs
- BitmapEffectInputData.cs
- SettingsBindableAttribute.cs
- SqlNotificationRequest.cs
- SrgsSemanticInterpretationTag.cs
- ListBoxItem.cs
- SafeRegistryHandle.cs
- CategoryAttribute.cs
- SingleConverter.cs
- DocumentPageView.cs
- MouseActionValueSerializer.cs
- ExpressionNormalizer.cs
- InputLanguageEventArgs.cs
- ToolStripProgressBar.cs
- AuthenticationService.cs
- OracleConnection.cs
- securitycriticaldata.cs
- HasRunnableWorkflowEvent.cs
- DbExpressionBuilder.cs
- SqlBulkCopyColumnMapping.cs
- SizeAnimationBase.cs
- DrawingImage.cs
- ScriptingJsonSerializationSection.cs