Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DataContractSerializer.cs
- DataServiceHost.cs
- Triangle.cs
- DataGridViewRowPostPaintEventArgs.cs
- MapPathBasedVirtualPathProvider.cs
- Bits.cs
- DesignerDataColumn.cs
- GACIdentityPermission.cs
- CheckBoxRenderer.cs
- PrimitiveXmlSerializers.cs
- VectorConverter.cs
- EnumerableRowCollection.cs
- _NestedMultipleAsyncResult.cs
- MD5CryptoServiceProvider.cs
- ParameterBinding.cs
- HttpServerVarsCollection.cs
- RtfToken.cs
- safex509handles.cs
- Blend.cs
- FrameworkContentElementAutomationPeer.cs
- AvtEvent.cs
- DiagnosticsElement.cs
- DataControlField.cs
- ScriptReferenceEventArgs.cs
- LinqDataSourceDisposeEventArgs.cs
- TextOptions.cs
- SweepDirectionValidation.cs
- DataGridBeginningEditEventArgs.cs
- MissingSatelliteAssemblyException.cs
- HttpServerProtocol.cs
- UInt32Storage.cs
- CodeAttachEventStatement.cs
- TextRenderer.cs
- RowVisual.cs
- DefaultHttpHandler.cs
- CryptoConfig.cs
- DirectoryInfo.cs
- ForwardPositionQuery.cs
- SchemaCreator.cs
- ExpressionWriter.cs
- ComponentResourceManager.cs
- StrongNameHelpers.cs
- FormViewCommandEventArgs.cs
- TextElement.cs
- TextEncodedRawTextWriter.cs
- Pkcs9Attribute.cs
- DescendantOverDescendantQuery.cs
- OdbcCommand.cs
- autovalidator.cs
- PagedDataSource.cs
- SettingsProperty.cs
- WebPartEditVerb.cs
- DateTime.cs
- LocalizableResourceBuilder.cs
- ParameterElement.cs
- PropertyConverter.cs
- SafeRightsManagementSessionHandle.cs
- SwitchLevelAttribute.cs
- IArgumentProvider.cs
- AssociationType.cs
- NativeMethods.cs
- HGlobalSafeHandle.cs
- WebCategoryAttribute.cs
- WinCategoryAttribute.cs
- CollectionsUtil.cs
- ReflectionHelper.cs
- DBDataPermission.cs
- XmlDocumentSurrogate.cs
- NameObjectCollectionBase.cs
- RangeValidator.cs
- CompilerGlobalScopeAttribute.cs
- ExceptionUtil.cs
- ProvidePropertyAttribute.cs
- BufferModesCollection.cs
- HierarchicalDataSourceIDConverter.cs
- NameValueFileSectionHandler.cs
- ListViewPagedDataSource.cs
- TextDecorationCollection.cs
- SyndicationDeserializer.cs
- ListenerElementsCollection.cs
- ModelProperty.cs
- ZipIOExtraFieldPaddingElement.cs
- DbParameterHelper.cs
- GeneralTransformCollection.cs
- Classification.cs
- HttpStreams.cs
- DynamicDataRouteHandler.cs
- XsltContext.cs
- GradientBrush.cs
- HybridDictionary.cs
- RuleRef.cs
- DoubleKeyFrameCollection.cs
- XappLauncher.cs
- BooleanProjectedSlot.cs
- PropertyTabAttribute.cs
- DirectionalLight.cs
- TreeNodeSelectionProcessor.cs
- EncodingTable.cs
- CompilationRelaxations.cs
- GridToolTip.cs