Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ItemContainerGenerator.cs
- IUnknownConstantAttribute.cs
- ConfigXmlAttribute.cs
- SqlAliasesReferenced.cs
- ReliableOutputSessionChannel.cs
- WebConfigurationHostFileChange.cs
- HttpResponseHeader.cs
- PnrpPeerResolverElement.cs
- PluralizationServiceUtil.cs
- DesignerValidationSummaryAdapter.cs
- NamespaceQuery.cs
- ViewBox.cs
- MergeExecutor.cs
- ByteConverter.cs
- configsystem.cs
- XslAst.cs
- ParamArrayAttribute.cs
- LocalValueEnumerator.cs
- XmlSortKey.cs
- CompilerScopeManager.cs
- compensatingcollection.cs
- WindowsHyperlink.cs
- SoundPlayer.cs
- ScriptRegistrationManager.cs
- ImageListStreamer.cs
- IisTraceListener.cs
- SqlError.cs
- PrimitiveDataContract.cs
- Opcode.cs
- odbcmetadatacolumnnames.cs
- ArgumentsParser.cs
- XslAst.cs
- FixedDocumentPaginator.cs
- Journaling.cs
- FileRecordSequenceCompletedAsyncResult.cs
- PolyLineSegment.cs
- AutomationPattern.cs
- LoadRetryAsyncResult.cs
- DataMisalignedException.cs
- StorageEntitySetMapping.cs
- SymbolEqualComparer.cs
- TextAnchor.cs
- CounterSample.cs
- SamlSubjectStatement.cs
- TextRangeSerialization.cs
- ReadOnlyHierarchicalDataSourceView.cs
- SmtpNetworkElement.cs
- PenContext.cs
- MatchAttribute.cs
- ImageListStreamer.cs
- ParserExtension.cs
- CollectionViewGroupRoot.cs
- Decoder.cs
- EntityDataSourceEntityTypeFilterItem.cs
- HttpModuleAction.cs
- PerspectiveCamera.cs
- BitHelper.cs
- UndoManager.cs
- InternalCompensate.cs
- NativeMethods.cs
- ColorAnimation.cs
- XmlWrappingWriter.cs
- ECDiffieHellmanPublicKey.cs
- PassportIdentity.cs
- RijndaelManagedTransform.cs
- ComNativeDescriptor.cs
- SQLBytesStorage.cs
- LineServicesRun.cs
- RSAOAEPKeyExchangeDeformatter.cs
- ClassHandlersStore.cs
- FormsAuthentication.cs
- ColorAnimationBase.cs
- MobileListItemCollection.cs
- ETagAttribute.cs
- GeometryDrawing.cs
- BufferedReadStream.cs
- PermissionSet.cs
- WebBrowser.cs
- RootBuilder.cs
- FunctionParameter.cs
- EncryptedData.cs
- DataGridViewComboBoxColumn.cs
- Timer.cs
- XmlHierarchicalEnumerable.cs
- HtmlImage.cs
- SafeWaitHandle.cs
- NetworkStream.cs
- DataGridViewCellPaintingEventArgs.cs
- LinkDescriptor.cs
- DependencyPropertyDescriptor.cs
- DataServices.cs
- UpdateRecord.cs
- XmlSyndicationContent.cs
- DetailsViewPagerRow.cs
- KnownBoxes.cs
- CreateUserWizardStep.cs
- HttpModuleCollection.cs
- SystemIcmpV4Statistics.cs
- ObjectSet.cs
- Binding.cs