Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewCellCancelEventArgs.cs / 1 / DataGridViewCellCancelEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Diagnostics; using System.ComponentModel; ///public class DataGridViewCellCancelEventArgs : CancelEventArgs { private int columnIndex; private int rowIndex; internal DataGridViewCellCancelEventArgs(DataGridViewCell dataGridViewCell) : this(dataGridViewCell.ColumnIndex, dataGridViewCell.RowIndex) { } /// public DataGridViewCellCancelEventArgs(int columnIndex, int rowIndex) { 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.Diagnostics; using System.ComponentModel; ///public class DataGridViewCellCancelEventArgs : CancelEventArgs { private int columnIndex; private int rowIndex; internal DataGridViewCellCancelEventArgs(DataGridViewCell dataGridViewCell) : this(dataGridViewCell.ColumnIndex, dataGridViewCell.RowIndex) { } /// public DataGridViewCellCancelEventArgs(int columnIndex, int rowIndex) { 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
- DurableEnlistmentState.cs
- TextTreeUndoUnit.cs
- BaseDataListComponentEditor.cs
- SqlDataReaderSmi.cs
- SqlNotificationRequest.cs
- VirtualDirectoryMappingCollection.cs
- SparseMemoryStream.cs
- BamlLocalizabilityResolver.cs
- UdpTransportSettings.cs
- Clause.cs
- DecoderExceptionFallback.cs
- SByteStorage.cs
- ScriptControl.cs
- EntityViewGenerationAttribute.cs
- NonSerializedAttribute.cs
- Int16KeyFrameCollection.cs
- SoapHeaderAttribute.cs
- EmptyCollection.cs
- EntityDataSourceColumn.cs
- ColorKeyFrameCollection.cs
- mda.cs
- HitTestDrawingContextWalker.cs
- DataSourceControl.cs
- EventLogPermission.cs
- EntityDesignerBuildProvider.cs
- ImageAutomationPeer.cs
- LocatorPart.cs
- SingleTagSectionHandler.cs
- ColorPalette.cs
- CodeObject.cs
- GridToolTip.cs
- RoleGroup.cs
- ItemCollection.cs
- XmlIlVisitor.cs
- DataGridViewCellPaintingEventArgs.cs
- GenerateScriptTypeAttribute.cs
- SQLBoolean.cs
- Viewport2DVisual3D.cs
- TextBox.cs
- XPathExpr.cs
- ItemPager.cs
- UriExt.cs
- ZipIOBlockManager.cs
- UpdateManifestForBrowserApplication.cs
- DecoderFallbackWithFailureFlag.cs
- KoreanCalendar.cs
- CallContext.cs
- WebResourceUtil.cs
- GridErrorDlg.cs
- XDRSchema.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- DbConnectionPoolOptions.cs
- OutputCacheProfile.cs
- Int64.cs
- Encoder.cs
- LinqDataSourceDisposeEventArgs.cs
- WebFaultException.cs
- HtmlControl.cs
- XamlVector3DCollectionSerializer.cs
- SelectionWordBreaker.cs
- OracleInternalConnection.cs
- TextTreeUndo.cs
- SingleAnimationUsingKeyFrames.cs
- RequestCachingSection.cs
- SQLDouble.cs
- CodeObjectCreateExpression.cs
- NamespaceList.cs
- SessionEndedEventArgs.cs
- PartialCachingAttribute.cs
- SubpageParaClient.cs
- FrameDimension.cs
- HandleRef.cs
- ObjectStorage.cs
- SkinBuilder.cs
- PrincipalPermission.cs
- FileFormatException.cs
- XmlSchemaSimpleType.cs
- StringUtil.cs
- PrintingPermission.cs
- UrlPath.cs
- EndpointConfigContainer.cs
- CFStream.cs
- BitmapEffectRenderDataResource.cs
- UnsafeMethods.cs
- DataServiceQuery.cs
- SafeEventHandle.cs
- XmlDownloadManager.cs
- GlyphRunDrawing.cs
- ContractHandle.cs
- ControlParameter.cs
- ClientSettingsStore.cs
- ExtenderControl.cs
- CheckPair.cs
- __Filters.cs
- SmiRequestExecutor.cs
- StringFunctions.cs
- StrongName.cs
- SystemDropShadowChrome.cs
- TableCell.cs
- PrintPreviewGraphics.cs