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
- AttributeXamlType.cs
- FormViewUpdatedEventArgs.cs
- EntityDataSourceWrapperCollection.cs
- Vector3DConverter.cs
- SortExpressionBuilder.cs
- EncryptedPackage.cs
- ProxyElement.cs
- NullEntityWrapper.cs
- LinkedResourceCollection.cs
- GroupAggregateExpr.cs
- _SslState.cs
- ReadOnlyTernaryTree.cs
- FlowDocumentPage.cs
- FragmentNavigationEventArgs.cs
- GeometryCombineModeValidation.cs
- PointCollection.cs
- WindowManager.cs
- WebResponse.cs
- AttributeEmitter.cs
- TriggerBase.cs
- SqlDeflator.cs
- DesignerTransactionCloseEvent.cs
- SettingsPropertyIsReadOnlyException.cs
- MarkupCompiler.cs
- ErrorFormatter.cs
- PKCS1MaskGenerationMethod.cs
- EditingCoordinator.cs
- XpsPackagingException.cs
- RelatedPropertyManager.cs
- X509ChainElement.cs
- CompoundFileIOPermission.cs
- Token.cs
- PagedDataSource.cs
- RequestResizeEvent.cs
- smtpconnection.cs
- ConstructorBuilder.cs
- DataRowComparer.cs
- BrowserPolicyValidator.cs
- GradientBrush.cs
- columnmapfactory.cs
- ProfessionalColorTable.cs
- WebBrowserContainer.cs
- XamlPointCollectionSerializer.cs
- util.cs
- HScrollProperties.cs
- PropVariant.cs
- FixedSOMPage.cs
- DataGridAddNewRow.cs
- NonceToken.cs
- ResourceProviderFactory.cs
- MasterPageParser.cs
- HitTestDrawingContextWalker.cs
- DriveNotFoundException.cs
- LinkGrep.cs
- DataGridItemCollection.cs
- CommandField.cs
- ViewGenerator.cs
- HtmlInputFile.cs
- PermissionSetTriple.cs
- Component.cs
- OperandQuery.cs
- EntitySqlException.cs
- GroupBoxDesigner.cs
- TextEditorLists.cs
- SrgsGrammar.cs
- TemplateControlParser.cs
- Filter.cs
- ProcessHostFactoryHelper.cs
- DbConnectionStringCommon.cs
- Int16.cs
- ThreadInterruptedException.cs
- ComplusEndpointConfigContainer.cs
- QilChoice.cs
- SchemaType.cs
- SByteStorage.cs
- SqlResolver.cs
- odbcmetadatafactory.cs
- NumberFormatInfo.cs
- XmlWrappingReader.cs
- MethodBody.cs
- HyperLinkStyle.cs
- TextEditor.cs
- DefaultTextStore.cs
- returneventsaver.cs
- DataGridTextBox.cs
- CustomError.cs
- HiddenField.cs
- SlotInfo.cs
- KeyConverter.cs
- xmlsaver.cs
- BmpBitmapEncoder.cs
- SafeFileMapViewHandle.cs
- IdentityHolder.cs
- CodeGenHelper.cs
- WSSecurityOneDotOneReceiveSecurityHeader.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- SiteMapSection.cs
- EncoderParameters.cs
- CryptoApi.cs
- QilFactory.cs