Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ServiceNameElement.cs
- unsafeIndexingFilterStream.cs
- PasswordTextNavigator.cs
- ColumnClickEvent.cs
- TypeElement.cs
- EventArgs.cs
- SmiEventStream.cs
- WrappedReader.cs
- ButtonBase.cs
- ObjectListCommand.cs
- XPathNodeInfoAtom.cs
- ApplicationFileParser.cs
- DebugHandleTracker.cs
- _DisconnectOverlappedAsyncResult.cs
- RemotingSurrogateSelector.cs
- XmlStreamStore.cs
- validationstate.cs
- XmlWhitespace.cs
- ResourceExpressionBuilder.cs
- QfeChecker.cs
- PreviewKeyDownEventArgs.cs
- LicenseContext.cs
- CodeObjectCreateExpression.cs
- SHA512Managed.cs
- MD5CryptoServiceProvider.cs
- ContainsRowNumberChecker.cs
- NotImplementedException.cs
- GraphicsPath.cs
- RijndaelManagedTransform.cs
- FirewallWrapper.cs
- PersonalizationProviderCollection.cs
- HealthMonitoringSectionHelper.cs
- DataFormat.cs
- SystemColorTracker.cs
- FrameworkReadOnlyPropertyMetadata.cs
- WebColorConverter.cs
- CounterSample.cs
- linebase.cs
- InputScopeAttribute.cs
- TrustSection.cs
- PermissionSetTriple.cs
- FontFamily.cs
- HiddenFieldPageStatePersister.cs
- BufferedWebEventProvider.cs
- ToolStripHighContrastRenderer.cs
- TypedAsyncResult.cs
- Maps.cs
- ToolStripLocationCancelEventArgs.cs
- SelectionService.cs
- ImageAutomationPeer.cs
- EnumValAlphaComparer.cs
- MetadataItem.cs
- PropertyPath.cs
- DownloadProgressEventArgs.cs
- GridViewEditEventArgs.cs
- UpdatePanelTrigger.cs
- BaseCAMarshaler.cs
- EnvelopedPkcs7.cs
- SecurityHeaderTokenResolver.cs
- TextEditorThreadLocalStore.cs
- AuthenticationServiceManager.cs
- SurrogateSelector.cs
- SchemaImporterExtensionElement.cs
- CqlParser.cs
- RenderCapability.cs
- BulletedList.cs
- SqlBuilder.cs
- BitmapMetadataEnumerator.cs
- CookieHandler.cs
- TemplateInstanceAttribute.cs
- KeyInterop.cs
- PathTooLongException.cs
- ImageKeyConverter.cs
- uribuilder.cs
- Events.cs
- SQLSingle.cs
- httpapplicationstate.cs
- TextStore.cs
- CursorConverter.cs
- TextBounds.cs
- GridItem.cs
- Utils.cs
- Base64Stream.cs
- DataObjectAttribute.cs
- MergePropertyDescriptor.cs
- BinaryObjectReader.cs
- EmissiveMaterial.cs
- XmlReflectionImporter.cs
- MergablePropertyAttribute.cs
- TransformConverter.cs
- MouseButton.cs
- XmlSerializerOperationGenerator.cs
- TreeNodeBinding.cs
- OrthographicCamera.cs
- EncryptedPackage.cs
- ProxyWebPartManager.cs
- SystemParameters.cs
- HMACMD5.cs
- WindowsGraphics.cs
- EventLogPropertySelector.cs