Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Focus.cs
- xsdvalidator.cs
- MULTI_QI.cs
- TreeViewEvent.cs
- DataGridRowHeaderAutomationPeer.cs
- ResourcesGenerator.cs
- IApplicationTrustManager.cs
- Event.cs
- DebugController.cs
- ExpressionParser.cs
- BamlBinaryWriter.cs
- SevenBitStream.cs
- ObjectSecurity.cs
- FieldAccessException.cs
- TableHeaderCell.cs
- ForAllOperator.cs
- ClientSettingsSection.cs
- DynamicMethod.cs
- InheritanceService.cs
- TargetParameterCountException.cs
- WebServiceMethodData.cs
- WebPartDescriptionCollection.cs
- StructuralCache.cs
- Duration.cs
- SoapConverter.cs
- Pair.cs
- OutOfProcStateClientManager.cs
- Constraint.cs
- RangeValidator.cs
- SqlRewriteScalarSubqueries.cs
- DbConnectionFactory.cs
- PrincipalPermissionMode.cs
- DefaultValidator.cs
- XhtmlBasicTextBoxAdapter.cs
- recordstate.cs
- AppPool.cs
- XamlStream.cs
- AspNetRouteServiceHttpHandler.cs
- HasCopySemanticsAttribute.cs
- ReflectionTypeLoadException.cs
- NativeMethods.cs
- X509CertificateTokenFactoryCredential.cs
- CommonObjectSecurity.cs
- FileEnumerator.cs
- ModelVisual3D.cs
- ResourceBinder.cs
- SymbolPair.cs
- OracleCommandSet.cs
- ProfessionalColors.cs
- ValidationManager.cs
- TaskFormBase.cs
- Quaternion.cs
- SrgsRuleRef.cs
- SimpleWebHandlerParser.cs
- XpsResource.cs
- NamespaceQuery.cs
- ModifierKeysConverter.cs
- XmlReaderSettings.cs
- TextEditorThreadLocalStore.cs
- VirtualPathProvider.cs
- FixedPage.cs
- MarkupExtensionReturnTypeAttribute.cs
- UseLicense.cs
- ThreadInterruptedException.cs
- Group.cs
- LinearKeyFrames.cs
- DbConnectionInternal.cs
- DebuggerAttributes.cs
- HttpGetProtocolImporter.cs
- ListControl.cs
- Container.cs
- FixedElement.cs
- WebPartDisplayModeCollection.cs
- CharEnumerator.cs
- SystemIPAddressInformation.cs
- Visitors.cs
- StylusPlugin.cs
- EncodingFallbackAwareXmlTextWriter.cs
- XhtmlBasicCalendarAdapter.cs
- TileBrush.cs
- CheckBoxList.cs
- SupportsEventValidationAttribute.cs
- FileFormatException.cs
- TemplateXamlParser.cs
- EventHandlerList.cs
- XpsThumbnail.cs
- CompoundFileStreamReference.cs
- SqlDataSourceView.cs
- HeaderCollection.cs
- CodeTypeReferenceSerializer.cs
- Rfc2898DeriveBytes.cs
- EventHandlerList.cs
- MarkupWriter.cs
- BrowserTree.cs
- InputLanguageProfileNotifySink.cs
- PropertyDescriptor.cs
- StreamReader.cs
- DBAsyncResult.cs
- InvalidPrinterException.cs
- ConfigurationSectionCollection.cs