Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StreamSecurityUpgradeAcceptorAsyncResult.cs
- PasswordDeriveBytes.cs
- ParagraphResult.cs
- DetailsViewInsertedEventArgs.cs
- Column.cs
- NavigationCommands.cs
- DataStorage.cs
- LinkConverter.cs
- Compilation.cs
- InkPresenterAutomationPeer.cs
- rsa.cs
- ImageConverter.cs
- _BaseOverlappedAsyncResult.cs
- RandomNumberGenerator.cs
- Button.cs
- odbcmetadatacolumnnames.cs
- Config.cs
- SystemWebSectionGroup.cs
- TraceFilter.cs
- InternalConfigEventArgs.cs
- shaper.cs
- SmiSettersStream.cs
- XPathMessageFilterElement.cs
- CalendarBlackoutDatesCollection.cs
- PathStreamGeometryContext.cs
- BadImageFormatException.cs
- ButtonField.cs
- ActivationWorker.cs
- OdbcUtils.cs
- SharedUtils.cs
- SevenBitStream.cs
- XmlWhitespace.cs
- SocketCache.cs
- MaterialGroup.cs
- StrokeNodeEnumerator.cs
- ConfigurationErrorsException.cs
- IntPtr.cs
- XmlDictionaryReader.cs
- XmlWriterDelegator.cs
- RoleService.cs
- ZipIOExtraFieldPaddingElement.cs
- FixedSOMElement.cs
- coordinatorscratchpad.cs
- ToolStripLabel.cs
- DetailsViewCommandEventArgs.cs
- Polygon.cs
- SecurityMode.cs
- SplitterPanel.cs
- FontNamesConverter.cs
- MoveSizeWinEventHandler.cs
- XamlTypeMapperSchemaContext.cs
- TimeSpanConverter.cs
- BulletedListEventArgs.cs
- HtmlTable.cs
- WebPartZone.cs
- Attributes.cs
- ListView.cs
- SplineQuaternionKeyFrame.cs
- ExternalFile.cs
- FastEncoderWindow.cs
- Substitution.cs
- SubMenuStyleCollection.cs
- Geometry.cs
- GenericTextProperties.cs
- SymmetricAlgorithm.cs
- OdbcConnection.cs
- IfJoinedCondition.cs
- ToolBarButton.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- HuffmanTree.cs
- QuaternionKeyFrameCollection.cs
- Imaging.cs
- FixedSOMGroup.cs
- ResourceWriter.cs
- FormClosedEvent.cs
- FilterElement.cs
- ParsedAttributeCollection.cs
- AssemblyUtil.cs
- SystemException.cs
- Graphics.cs
- BooleanAnimationBase.cs
- Expression.cs
- XsdDuration.cs
- PublishLicense.cs
- DnsPermission.cs
- FontStretches.cs
- SafeSerializationManager.cs
- DefaultAsyncDataDispatcher.cs
- TypeElement.cs
- SqlParameterizer.cs
- CommandArguments.cs
- SqlSelectStatement.cs
- CodeValidator.cs
- Propagator.ExtentPlaceholderCreator.cs
- HwndHostAutomationPeer.cs
- GridToolTip.cs
- ImportCatalogPart.cs
- login.cs
- NativeMethods.cs
- TriggerAction.cs