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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ClassValidator.cs
- SecurityCredentialsManager.cs
- MimeWriter.cs
- ISSmlParser.cs
- EncoderFallback.cs
- recordstatescratchpad.cs
- SoapCodeExporter.cs
- AsyncInvokeContext.cs
- EntityTypeEmitter.cs
- DesignerEventService.cs
- SmtpAuthenticationManager.cs
- ObjectDataSource.cs
- DataGridView.cs
- GridViewColumnHeaderAutomationPeer.cs
- SqlNodeTypeOperators.cs
- GeneratedContractType.cs
- TemplateNodeContextMenu.cs
- ProcessInputEventArgs.cs
- CellParagraph.cs
- RtfControls.cs
- TypeReference.cs
- CaseStatementProjectedSlot.cs
- Hash.cs
- FrameworkContentElementAutomationPeer.cs
- ConditionalDesigner.cs
- SwitchCase.cs
- HideDisabledControlAdapter.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- SelectedCellsCollection.cs
- EntityFunctions.cs
- PolicyVersionConverter.cs
- AndMessageFilter.cs
- _SafeNetHandles.cs
- FilteredDataSetHelper.cs
- DesignerSerializationVisibilityAttribute.cs
- EmptyStringExpandableObjectConverter.cs
- WorkflowFileItem.cs
- LocatorPartList.cs
- MgmtConfigurationRecord.cs
- counter.cs
- GroupStyle.cs
- StateValidator.cs
- ProxySimple.cs
- altserialization.cs
- UidManager.cs
- CultureInfoConverter.cs
- JpegBitmapEncoder.cs
- MailAddressCollection.cs
- TextCollapsingProperties.cs
- HttpStreamXmlDictionaryReader.cs
- SqlBulkCopy.cs
- ProtocolViolationException.cs
- NullableFloatAverageAggregationOperator.cs
- CompilerErrorCollection.cs
- WorkflowDebuggerSteppingAttribute.cs
- SoapWriter.cs
- AsyncContentLoadedEventArgs.cs
- HtmlInputPassword.cs
- SizeConverter.cs
- VisualStyleInformation.cs
- BitmapFrame.cs
- ViewLoader.cs
- PersistenceTypeAttribute.cs
- WizardStepBase.cs
- ProxyAttribute.cs
- HMACSHA1.cs
- OverlappedAsyncResult.cs
- ParameterExpression.cs
- FormatPage.cs
- CodeBinaryOperatorExpression.cs
- Point3DCollection.cs
- CharEnumerator.cs
- DesignTimeValidationFeature.cs
- TextParagraph.cs
- SecurityKeyIdentifier.cs
- DeadCharTextComposition.cs
- ZipIOExtraFieldPaddingElement.cs
- ServiceDesigner.cs
- DiscreteKeyFrames.cs
- CodePageUtils.cs
- TextControlDesigner.cs
- XmlSignificantWhitespace.cs
- translator.cs
- KeyboardDevice.cs
- ToolBar.cs
- EllipseGeometry.cs
- CurrencyWrapper.cs
- CollectionDataContractAttribute.cs
- XmlDocumentSerializer.cs
- ToolStripProgressBar.cs
- XhtmlBasicCommandAdapter.cs
- WhitespaceReader.cs
- AxDesigner.cs
- ISAPIWorkerRequest.cs
- InternalTypeHelper.cs
- MasterPageCodeDomTreeGenerator.cs
- PermissionSetTriple.cs
- MobileControlPersister.cs
- CompilerErrorCollection.cs
- DefaultValueTypeConverter.cs