Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewCellCancelEventArgs.cs / 1305376 / 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
- _BaseOverlappedAsyncResult.cs
- GroupQuery.cs
- HtmlFormWrapper.cs
- DataTableMappingCollection.cs
- WinFormsComponentEditor.cs
- Compensation.cs
- Compiler.cs
- AbandonedMutexException.cs
- HwndSource.cs
- Wizard.cs
- XsltInput.cs
- TypeBuilderInstantiation.cs
- MappingMetadataHelper.cs
- HttpListenerPrefixCollection.cs
- ListItemCollection.cs
- DefaultExpression.cs
- GeneratedView.cs
- WindowsButton.cs
- DbSetClause.cs
- SoapConverter.cs
- DefinitionUpdate.cs
- KnownTypes.cs
- TextServicesCompartmentEventSink.cs
- RotateTransform3D.cs
- DbMetaDataCollectionNames.cs
- StrongNamePublicKeyBlob.cs
- ListComponentEditor.cs
- XPathDocumentIterator.cs
- DataGridViewTextBoxCell.cs
- Canvas.cs
- VirtualDirectoryMapping.cs
- ObjectNotFoundException.cs
- NumericExpr.cs
- UpdateEventArgs.cs
- SQLCharsStorage.cs
- HierarchicalDataBoundControlAdapter.cs
- ConfigPathUtility.cs
- FillRuleValidation.cs
- ExtensionSurface.cs
- TreeChangeInfo.cs
- PeerIPHelper.cs
- EpmHelper.cs
- DependencyObjectType.cs
- RegionData.cs
- DesignerMetadata.cs
- WebPartConnectVerb.cs
- UserMapPath.cs
- URLMembershipCondition.cs
- EventToken.cs
- SubstitutionResponseElement.cs
- Section.cs
- SiteOfOriginPart.cs
- TypeConverterMarkupExtension.cs
- GZipDecoder.cs
- DefaultValueTypeConverter.cs
- PassportIdentity.cs
- Transform3DGroup.cs
- BitmapEffectDrawingContent.cs
- NonParentingControl.cs
- DataGridViewCellLinkedList.cs
- SHA1.cs
- SoapSchemaMember.cs
- ToolStripInSituService.cs
- ChangePasswordDesigner.cs
- ClassHandlersStore.cs
- ExpressionLink.cs
- FragmentQuery.cs
- SerialPinChanges.cs
- RtType.cs
- Button.cs
- NoneExcludedImageIndexConverter.cs
- ToolboxItemFilterAttribute.cs
- PackageProperties.cs
- GradientStopCollection.cs
- AutomationElementCollection.cs
- PermissionToken.cs
- MenuRendererStandards.cs
- TripleDES.cs
- sqlpipe.cs
- SrgsToken.cs
- GroupBox.cs
- AspNetPartialTrustHelpers.cs
- log.cs
- HtmlFormAdapter.cs
- SymbolType.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- XmlSchemaAppInfo.cs
- serverconfig.cs
- CharEnumerator.cs
- Part.cs
- IPEndPoint.cs
- ButtonChrome.cs
- DataGridViewCellPaintingEventArgs.cs
- baseaxisquery.cs
- IIS7UserPrincipal.cs
- SimpleType.cs
- TemplateBindingExpression.cs
- AdRotator.cs
- MergePropertyDescriptor.cs
- XmlDataDocument.cs