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
- CheckBox.cs
- Component.cs
- CodeAttributeArgumentCollection.cs
- FileVersionInfo.cs
- MouseBinding.cs
- Rotation3DAnimation.cs
- ResourceReferenceExpression.cs
- OdbcRowUpdatingEvent.cs
- TransportDefaults.cs
- TaskFormBase.cs
- QuotedPrintableStream.cs
- MarshalDirectiveException.cs
- XmlObjectSerializerContext.cs
- XPathBinder.cs
- DiscoveryReference.cs
- ParserContext.cs
- FamilyCollection.cs
- SqlDataSource.cs
- SQLBytes.cs
- ModelProperty.cs
- Italic.cs
- SchemaConstraints.cs
- ThreadExceptionDialog.cs
- BaseProcessor.cs
- String.cs
- EventMetadata.cs
- AmbientProperties.cs
- XamlToRtfParser.cs
- StructuredTypeInfo.cs
- FastEncoder.cs
- Util.cs
- HttpResponse.cs
- DSASignatureDeformatter.cs
- MaterialGroup.cs
- StringAnimationUsingKeyFrames.cs
- EastAsianLunisolarCalendar.cs
- HttpServerChannel.cs
- SEHException.cs
- TextDecorationCollectionConverter.cs
- StoreAnnotationsMap.cs
- BuildProviderUtils.cs
- AuthenticatedStream.cs
- WorkflowServiceAttributes.cs
- CoreChannel.cs
- InvalidFilterCriteriaException.cs
- StringFreezingAttribute.cs
- SecurityCredentialsManager.cs
- ALinqExpressionVisitor.cs
- PenThreadWorker.cs
- coordinator.cs
- DbMetaDataColumnNames.cs
- TableLayoutRowStyleCollection.cs
- ExpressionVisitor.cs
- ScriptingProfileServiceSection.cs
- TripleDESCryptoServiceProvider.cs
- ToggleButtonAutomationPeer.cs
- BackStopAuthenticationModule.cs
- PersianCalendar.cs
- AssertUtility.cs
- ControlValuePropertyAttribute.cs
- EntityCommandDefinition.cs
- HtmlEmptyTagControlBuilder.cs
- HtmlInputFile.cs
- Authorization.cs
- PackageDigitalSignatureManager.cs
- ScrollEvent.cs
- TemplatedMailWebEventProvider.cs
- ColorAnimation.cs
- StorageMappingItemLoader.cs
- Point3DCollection.cs
- TableCellAutomationPeer.cs
- TableLayoutPanel.cs
- TextElement.cs
- CharacterBufferReference.cs
- GPPOINT.cs
- XPathMultyIterator.cs
- TreeView.cs
- TypeSemantics.cs
- localization.cs
- LocatorGroup.cs
- Lock.cs
- CmsUtils.cs
- AuthenticationSection.cs
- LeaseManager.cs
- EventArgs.cs
- StaticFileHandler.cs
- SoapSchemaExporter.cs
- DynamicPropertyReader.cs
- InvalidProgramException.cs
- HttpCapabilitiesEvaluator.cs
- TableLayoutCellPaintEventArgs.cs
- StatusBar.cs
- PolyLineSegmentFigureLogic.cs
- XmlComplianceUtil.cs
- XmlWellformedWriter.cs
- AdRotator.cs
- TextTabProperties.cs
- HtmlButton.cs
- PageSetupDialog.cs
- ChannelCacheSettings.cs