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
- MultipleViewPatternIdentifiers.cs
- SymLanguageVendor.cs
- FixedSOMSemanticBox.cs
- ZipIOExtraFieldZip64Element.cs
- FixedSOMTableCell.cs
- DesignerSerializerAttribute.cs
- WebControl.cs
- FileDialog.cs
- ValidationResult.cs
- EntryPointNotFoundException.cs
- Evaluator.cs
- PackagePartCollection.cs
- AdornerLayer.cs
- Mouse.cs
- MasterPage.cs
- Or.cs
- DrawingAttributesDefaultValueFactory.cs
- XmlQueryOutput.cs
- StrokeNodeEnumerator.cs
- RegexInterpreter.cs
- Content.cs
- SafeHandle.cs
- ObjectViewQueryResultData.cs
- OleServicesContext.cs
- MethodCallExpression.cs
- JavaScriptSerializer.cs
- COSERVERINFO.cs
- ControlIdConverter.cs
- LocationReference.cs
- Section.cs
- DocumentAutomationPeer.cs
- _NegotiateClient.cs
- ClipboardProcessor.cs
- ContainerUtilities.cs
- HttpListenerTimeoutManager.cs
- _CacheStreams.cs
- Run.cs
- Clock.cs
- CompareValidator.cs
- OwnerDrawPropertyBag.cs
- CanonicalFontFamilyReference.cs
- RunWorkerCompletedEventArgs.cs
- LinkedResource.cs
- FragmentNavigationEventArgs.cs
- FontWeights.cs
- TargetFrameworkUtil.cs
- FlagsAttribute.cs
- ResetableIterator.cs
- DataControlButton.cs
- SqlError.cs
- InternalsVisibleToAttribute.cs
- AnnotationComponentChooser.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- WebPermission.cs
- MachinePropertyVariants.cs
- DataAdapter.cs
- ActivityInstanceMap.cs
- DocobjHost.cs
- EntityType.cs
- TraceSwitch.cs
- ToolStripItemImageRenderEventArgs.cs
- ListViewGroupConverter.cs
- DefaultSection.cs
- InfoCardProofToken.cs
- ReferenceService.cs
- ByteStreamMessageEncodingElement.cs
- XmlCountingReader.cs
- APCustomTypeDescriptor.cs
- MILUtilities.cs
- CollectionContainer.cs
- Int32KeyFrameCollection.cs
- ThemeableAttribute.cs
- HttpWriter.cs
- ArrayExtension.cs
- HttpApplicationFactory.cs
- HttpConfigurationSystem.cs
- ThicknessConverter.cs
- WebServiceErrorEvent.cs
- DocumentXmlWriter.cs
- BamlLocalizableResourceKey.cs
- VisualStyleElement.cs
- EventPropertyMap.cs
- XmlReflectionMember.cs
- ReadOnlyDictionary.cs
- RecipientInfo.cs
- CompilerError.cs
- ProxyWebPart.cs
- ColumnHeaderConverter.cs
- Vector.cs
- SecurityProtocolFactory.cs
- SrgsDocumentParser.cs
- BlurBitmapEffect.cs
- GridProviderWrapper.cs
- SoapProcessingBehavior.cs
- InputEventArgs.cs
- TemplateBuilder.cs
- RtfToken.cs
- CustomValidator.cs
- ImpersonateTokenRef.cs
- DataKey.cs