Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- DynamicMetaObjectBinder.cs
- TextTreeUndo.cs
- XmlSchemaAnyAttribute.cs
- MenuBindingsEditor.cs
- OutgoingWebResponseContext.cs
- RegularExpressionValidator.cs
- SafeNativeMethods.cs
- RecommendedAsConfigurableAttribute.cs
- PathFigure.cs
- ResXResourceSet.cs
- OptimizedTemplateContent.cs
- SearchExpression.cs
- ServiceDeploymentInfo.cs
- FunctionMappingTranslator.cs
- unsafeIndexingFilterStream.cs
- Socket.cs
- OptimalTextSource.cs
- SafeCryptContextHandle.cs
- TypePropertyEditor.cs
- RoleManagerSection.cs
- ConstraintCollection.cs
- DatePickerAutomationPeer.cs
- CorePropertiesFilter.cs
- XPathDescendantIterator.cs
- FontFamilyConverter.cs
- ProjectedWrapper.cs
- PeerNameRecord.cs
- SettingsPropertyValue.cs
- HostProtectionException.cs
- ParseElement.cs
- DateTimeOffsetAdapter.cs
- OdbcCommand.cs
- CategoryNameCollection.cs
- Operand.cs
- OdbcPermission.cs
- XamlToRtfParser.cs
- DataConnectionHelper.cs
- NetworkAddressChange.cs
- VerbConverter.cs
- ToolStripButton.cs
- TreeView.cs
- CheckBox.cs
- TraceLevelHelper.cs
- ImageKeyConverter.cs
- SetUserPreferenceRequest.cs
- WebResponse.cs
- CellTreeSimplifier.cs
- XmlSignificantWhitespace.cs
- ContentType.cs
- EditorResources.cs
- MatcherBuilder.cs
- UpdateCommand.cs
- _Rfc2616CacheValidators.cs
- StylusOverProperty.cs
- FlowDocument.cs
- Dynamic.cs
- LineUtil.cs
- FontWeights.cs
- NTAccount.cs
- PropertyGeneratedEventArgs.cs
- Stack.cs
- PaintValueEventArgs.cs
- PropertyGridView.cs
- XmlNamespaceMappingCollection.cs
- SrgsElementList.cs
- _IPv4Address.cs
- ResourceDictionary.cs
- Encoder.cs
- safelinkcollection.cs
- WinFormsSpinner.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- ToolStripDesignerAvailabilityAttribute.cs
- DataRecordObjectView.cs
- InteropBitmapSource.cs
- UserControlAutomationPeer.cs
- UidManager.cs
- SqlCacheDependencyDatabase.cs
- Metafile.cs
- TabRenderer.cs
- EndOfStreamException.cs
- GacUtil.cs
- CngUIPolicy.cs
- RoleService.cs
- WriteableBitmap.cs
- PaintEvent.cs
- LocalizableAttribute.cs
- CalendarSelectionChangedEventArgs.cs
- SecurityManager.cs
- DataGridViewMethods.cs
- ObjectManager.cs
- UIElement.cs
- LinearKeyFrames.cs
- StylusPointDescription.cs
- CodeDOMUtility.cs
- FrameworkContentElement.cs
- WebHttpEndpointElement.cs
- DistributedTransactionPermission.cs
- FixedFlowMap.cs
- ExecutionEngineException.cs
- StyleSheetDesigner.cs