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
- XMLUtil.cs
- Convert.cs
- InputMethod.cs
- CornerRadius.cs
- StylusPointPropertyUnit.cs
- ErrorWebPart.cs
- AddingNewEventArgs.cs
- QilInvokeEarlyBound.cs
- RegexRunnerFactory.cs
- EnumerableCollectionView.cs
- StylusSystemGestureEventArgs.cs
- GraphicsState.cs
- XmlNodeList.cs
- WindowsSolidBrush.cs
- WebEventTraceProvider.cs
- OrderPreservingPipeliningMergeHelper.cs
- AuthenticationSection.cs
- TypeForwardedFromAttribute.cs
- List.cs
- SqlResolver.cs
- FileUtil.cs
- FunctionImportElement.cs
- ButtonPopupAdapter.cs
- StateWorkerRequest.cs
- TdsParserSessionPool.cs
- CustomLineCap.cs
- ConsumerConnectionPoint.cs
- TypeContext.cs
- DocumentOrderQuery.cs
- ZoneIdentityPermission.cs
- ParseHttpDate.cs
- WmlLinkAdapter.cs
- MouseWheelEventArgs.cs
- WsatExtendedInformation.cs
- RetrieveVirtualItemEventArgs.cs
- KoreanCalendar.cs
- StateItem.cs
- TextCollapsingProperties.cs
- XmlWrappingWriter.cs
- BasePattern.cs
- DataPointer.cs
- odbcmetadatacolumnnames.cs
- FixedSOMPageElement.cs
- ParserStreamGeometryContext.cs
- datacache.cs
- UnsafeNativeMethodsTablet.cs
- EmbossBitmapEffect.cs
- GraphicsPathIterator.cs
- ControlCollection.cs
- HashCodeCombiner.cs
- OracleInfoMessageEventArgs.cs
- CuspData.cs
- XMLSyntaxException.cs
- TreeNodeCollection.cs
- PreviewPageInfo.cs
- WindowsSlider.cs
- DataRelationPropertyDescriptor.cs
- Matrix3DConverter.cs
- Context.cs
- SessionState.cs
- GrammarBuilderRuleRef.cs
- HitTestParameters.cs
- WindowsEditBoxRange.cs
- BindableAttribute.cs
- ProfileBuildProvider.cs
- TokenBasedSet.cs
- SynchronousChannel.cs
- WebPartCatalogAddVerb.cs
- PersonalizationProviderHelper.cs
- Geometry.cs
- SHA256.cs
- HttpDictionary.cs
- WebResourceUtil.cs
- VisualTreeHelper.cs
- CodeArrayCreateExpression.cs
- Line.cs
- SqlUDTStorage.cs
- WhitespaceRule.cs
- RelatedCurrencyManager.cs
- validation.cs
- AttachedPropertyMethodSelector.cs
- ThemeConfigurationDialog.cs
- BmpBitmapDecoder.cs
- QueueSurrogate.cs
- XslAst.cs
- COAUTHIDENTITY.cs
- DesignerActionPropertyItem.cs
- StrongNamePublicKeyBlob.cs
- ADMembershipUser.cs
- HostSecurityManager.cs
- XmlDocumentType.cs
- StrongNameUtility.cs
- AsyncResult.cs
- TypeLoader.cs
- PathGeometry.cs
- VisualStyleElement.cs
- ImageFormat.cs
- StatusBarPanelClickEvent.cs
- WebPartConnectionsEventArgs.cs
- CacheRequest.cs