Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- SslStreamSecurityElement.cs
- PtsHost.cs
- SectionVisual.cs
- DependencyObjectProvider.cs
- SamlSerializer.cs
- XamlVector3DCollectionSerializer.cs
- XPathNodeList.cs
- _RequestLifetimeSetter.cs
- PointLightBase.cs
- ColorContext.cs
- BuildManager.cs
- JsonDataContract.cs
- LostFocusEventManager.cs
- BitmapDownload.cs
- SecurityTokenAttachmentMode.cs
- TextAdaptor.cs
- TableLayoutRowStyleCollection.cs
- KeyedCollection.cs
- StateWorkerRequest.cs
- Certificate.cs
- DispatcherProcessingDisabled.cs
- EtwTrace.cs
- ToolBarPanel.cs
- DataMemberConverter.cs
- DeviceContext.cs
- FixedSOMContainer.cs
- SecurityListenerSettingsLifetimeManager.cs
- ImageIndexConverter.cs
- WebPartConnectVerb.cs
- RemotingConfigParser.cs
- MsiStyleLogWriter.cs
- HashCodeCombiner.cs
- MatrixKeyFrameCollection.cs
- listitem.cs
- ListParaClient.cs
- ExtendedPropertyCollection.cs
- ParagraphVisual.cs
- IgnoreDeviceFilterElementCollection.cs
- CodeAssignStatement.cs
- Stream.cs
- sqlpipe.cs
- StringConverter.cs
- MonitoringDescriptionAttribute.cs
- RequestSecurityTokenResponseCollection.cs
- InkPresenter.cs
- ThreadTrace.cs
- TreeViewImageIndexConverter.cs
- HtmlSelectionListAdapter.cs
- ToolboxItemAttribute.cs
- XslCompiledTransform.cs
- DragAssistanceManager.cs
- Baml6Assembly.cs
- DispatcherSynchronizationContext.cs
- TextStore.cs
- ParameterReplacerVisitor.cs
- LayoutInformation.cs
- FileChangesMonitor.cs
- TypeValidationEventArgs.cs
- CultureData.cs
- XamlClipboardData.cs
- arabicshape.cs
- ITextView.cs
- NativeMethods.cs
- MembershipValidatePasswordEventArgs.cs
- SapiGrammar.cs
- ListenerElementsCollection.cs
- MouseActionValueSerializer.cs
- ThemeDictionaryExtension.cs
- XPathNodeIterator.cs
- RMPublishingDialog.cs
- BufferedGraphics.cs
- ClientTargetSection.cs
- Win32SafeHandles.cs
- InputLanguageCollection.cs
- ProtectedConfiguration.cs
- Pens.cs
- PipelineModuleStepContainer.cs
- WriteTimeStream.cs
- WindowAutomationPeer.cs
- ConfigurationElementCollection.cs
- BamlTreeMap.cs
- MultiBindingExpression.cs
- BitSet.cs
- DataGridCellsPanel.cs
- DSACryptoServiceProvider.cs
- AnimationTimeline.cs
- SQLBinaryStorage.cs
- AssociatedControlConverter.cs
- AppSecurityManager.cs
- ImageSource.cs
- SafeLibraryHandle.cs
- Quaternion.cs
- EntityCommandExecutionException.cs
- ConfigXmlReader.cs
- XsltLoader.cs
- NotEqual.cs
- DataSet.cs
- AuthStoreRoleProvider.cs
- DynamicDocumentPaginator.cs
- _IPv6Address.cs