Code:
/ DotNET / DotNET / 8.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
- MessageEncoderFactory.cs
- CaseInsensitiveComparer.cs
- TextClipboardData.cs
- grammarelement.cs
- SizeValueSerializer.cs
- HttpModuleCollection.cs
- MarkupProperty.cs
- DataGridColumnCollectionEditor.cs
- AnnouncementService.cs
- KeyTimeConverter.cs
- TranslateTransform.cs
- MatrixConverter.cs
- CmsInterop.cs
- SqlRowUpdatedEvent.cs
- CngAlgorithm.cs
- MarkupExtensionParser.cs
- EtwTrace.cs
- DoubleMinMaxAggregationOperator.cs
- ObjectDataSourceMethodEventArgs.cs
- RemoteWebConfigurationHostStream.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- TableItemPatternIdentifiers.cs
- TypeResolvingOptionsAttribute.cs
- ToolboxCategoryItems.cs
- DocumentGridContextMenu.cs
- ModulesEntry.cs
- HttpResponse.cs
- MemoryMappedViewStream.cs
- Int32CAMarshaler.cs
- Choices.cs
- CustomTypeDescriptor.cs
- FlowDocumentReader.cs
- CssTextWriter.cs
- OrderByBuilder.cs
- HostingEnvironment.cs
- EmbeddedMailObjectsCollection.cs
- RulePatternOps.cs
- ACL.cs
- UnSafeCharBuffer.cs
- NGCSerializationManagerAsync.cs
- DecimalStorage.cs
- PolyQuadraticBezierSegment.cs
- DbConnectionPoolIdentity.cs
- XPathNavigatorReader.cs
- FeatureManager.cs
- GridView.cs
- DesignerSerializerAttribute.cs
- DataErrorValidationRule.cs
- KnownTypesHelper.cs
- LogEntrySerializationException.cs
- Point3DCollection.cs
- IResourceProvider.cs
- LineSegment.cs
- xmlsaver.cs
- DrawingVisual.cs
- FileChangesMonitor.cs
- DetailsViewModeEventArgs.cs
- JoinTreeNode.cs
- SqlTypesSchemaImporter.cs
- TextSearch.cs
- LinkedResourceCollection.cs
- URL.cs
- ImageMapEventArgs.cs
- TogglePattern.cs
- DropSource.cs
- ElementUtil.cs
- DynamicILGenerator.cs
- OdbcErrorCollection.cs
- ControlPropertyNameConverter.cs
- ProcessModule.cs
- AbsoluteQuery.cs
- Tracer.cs
- WsdlInspector.cs
- WebDisplayNameAttribute.cs
- DataGridViewCellConverter.cs
- SynchronizedDispatch.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- GrowingArray.cs
- InternalEnumValidator.cs
- ConditionalExpression.cs
- UdpMessageProperty.cs
- StringBuilder.cs
- BitVector32.cs
- IBuiltInEvidence.cs
- UpdateTranslator.cs
- _IPv6Address.cs
- ExitEventArgs.cs
- Block.cs
- XPathDocument.cs
- JsonFormatGeneratorStatics.cs
- JsonEnumDataContract.cs
- UpDownBase.cs
- ClonableStack.cs
- HttpCookieCollection.cs
- ControlParser.cs
- ThreadStaticAttribute.cs
- IndentedWriter.cs
- ExtendedPropertyDescriptor.cs
- Size3DConverter.cs
- Repeater.cs