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
- ConfigXmlAttribute.cs
- odbcmetadatafactory.cs
- SendingRequestEventArgs.cs
- ExecutedRoutedEventArgs.cs
- WebSysDescriptionAttribute.cs
- InvokePattern.cs
- DecimalSumAggregationOperator.cs
- GPPOINT.cs
- TaskHelper.cs
- StringInfo.cs
- SelectedGridItemChangedEvent.cs
- PartBasedPackageProperties.cs
- NotFiniteNumberException.cs
- AssemblyInfo.cs
- DataGridViewRowPostPaintEventArgs.cs
- DataBindingExpressionBuilder.cs
- TextRange.cs
- WmpBitmapEncoder.cs
- SrgsDocumentParser.cs
- unsafeIndexingFilterStream.cs
- AvTraceFormat.cs
- RequestStatusBarUpdateEventArgs.cs
- SoapCommonClasses.cs
- TableItemProviderWrapper.cs
- WebBrowserContainer.cs
- RenderingEventArgs.cs
- UInt32Storage.cs
- StrongNameKeyPair.cs
- AssociationEndMember.cs
- OutOfMemoryException.cs
- FileLogRecordHeader.cs
- XmlSignatureManifest.cs
- MultiBindingExpression.cs
- PartialClassGenerationTask.cs
- ProvidePropertyAttribute.cs
- TreeViewItem.cs
- PlainXmlDeserializer.cs
- SafeHandles.cs
- SqlDataAdapter.cs
- BaseParser.cs
- ChannelTraceRecord.cs
- TerminateDesigner.cs
- Quaternion.cs
- ApplicationDirectory.cs
- ExtenderProvidedPropertyAttribute.cs
- ExecutorLocksHeldException.cs
- CorrelationManager.cs
- UpdateCommand.cs
- PreservationFileWriter.cs
- OdbcHandle.cs
- XmlnsCache.cs
- StyleHelper.cs
- EdmError.cs
- StyleBamlTreeBuilder.cs
- RawMouseInputReport.cs
- EncodingInfo.cs
- ConnectionPool.cs
- SemanticValue.cs
- Rotation3DKeyFrameCollection.cs
- AxisAngleRotation3D.cs
- ToolStripRendererSwitcher.cs
- RMPublishingDialog.cs
- ManagementOperationWatcher.cs
- CircleHotSpot.cs
- PeerChannelFactory.cs
- PasswordRecoveryAutoFormat.cs
- ArrangedElementCollection.cs
- QueryCursorEventArgs.cs
- OracleTransaction.cs
- Constants.cs
- SpanIndex.cs
- IndexOutOfRangeException.cs
- ExtendedProperty.cs
- CommandBindingCollection.cs
- SafeRightsManagementHandle.cs
- MobileListItem.cs
- WCFModelStrings.Designer.cs
- ContextMarshalException.cs
- CodeGenerator.cs
- Section.cs
- SplitterEvent.cs
- CompositionAdorner.cs
- DragDrop.cs
- StickyNote.cs
- Quad.cs
- MsmqSecureHashAlgorithm.cs
- DataColumnPropertyDescriptor.cs
- MethodBuilder.cs
- TypeDelegator.cs
- Base64Encoding.cs
- LateBoundBitmapDecoder.cs
- TextStore.cs
- RestHandler.cs
- RenameRuleObjectDialog.cs
- RenderData.cs
- ListViewDataItem.cs
- TrustLevel.cs
- GridSplitter.cs
- AppearanceEditorPart.cs
- SmtpDigestAuthenticationModule.cs