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
- TextInfo.cs
- KnownTypes.cs
- SafeCloseHandleCritical.cs
- DeferredSelectedIndexReference.cs
- PipeException.cs
- bindurihelper.cs
- OutKeywords.cs
- ChangeTracker.cs
- CompensatableTransactionScopeActivity.cs
- ServiceDescriptionContext.cs
- HyperLink.cs
- ClientEventManager.cs
- Columns.cs
- BrowserDefinition.cs
- WebPartChrome.cs
- SqlDataSourceAdvancedOptionsForm.cs
- PassportAuthentication.cs
- CopyNodeSetAction.cs
- DbgUtil.cs
- ReadOnlyAttribute.cs
- BuildManager.cs
- DropDownList.cs
- HtmlInputButton.cs
- UIPermission.cs
- NoResizeSelectionBorderGlyph.cs
- IndexedString.cs
- CodeObject.cs
- CompatibleComparer.cs
- ToggleButton.cs
- CachedPathData.cs
- PreviewControlDesigner.cs
- HostingPreferredMapPath.cs
- StatusBarPanelClickEvent.cs
- UnionExpr.cs
- TextWriter.cs
- Pen.cs
- WebPartsPersonalizationAuthorization.cs
- DataReaderContainer.cs
- XmlCodeExporter.cs
- EmbeddedMailObjectsCollection.cs
- MemberHolder.cs
- EntityTypeEmitter.cs
- FileVersionInfo.cs
- AsnEncodedData.cs
- RotateTransform3D.cs
- ADConnectionHelper.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- ToolStripDropDownMenu.cs
- CustomAttributeBuilder.cs
- WindowsSecurityTokenAuthenticator.cs
- TextEditorThreadLocalStore.cs
- New.cs
- EdmProviderManifest.cs
- SaveFileDialog.cs
- ActivityDesigner.cs
- RemotingHelper.cs
- GatewayDefinition.cs
- ArcSegment.cs
- RegionData.cs
- HostingEnvironment.cs
- ContainerControl.cs
- RegexCaptureCollection.cs
- DataGridViewCheckBoxColumn.cs
- WrappedReader.cs
- ColumnHeaderCollectionEditor.cs
- CLRBindingWorker.cs
- HttpRuntime.cs
- RangeValuePattern.cs
- ActivityContext.cs
- TreeWalker.cs
- UnauthorizedWebPart.cs
- MembershipValidatePasswordEventArgs.cs
- AsymmetricCryptoHandle.cs
- DomNameTable.cs
- TableCell.cs
- XPathEmptyIterator.cs
- SecurityHeader.cs
- IInstanceContextProvider.cs
- ServiceDefaults.cs
- XmlSchemaGroup.cs
- PolyQuadraticBezierSegment.cs
- ExpressionConverter.cs
- Predicate.cs
- AssociationSet.cs
- Column.cs
- PerfCounterSection.cs
- IntegrationExceptionEventArgs.cs
- SignatureGenerator.cs
- TablePatternIdentifiers.cs
- TextServicesManager.cs
- HttpApplicationFactory.cs
- RootBrowserWindowAutomationPeer.cs
- ConfigurationStrings.cs
- TextMarkerSource.cs
- Hash.cs
- TemplateApplicationHelper.cs
- HyperLinkColumn.cs
- PasswordTextContainer.cs
- EventSetterHandlerConverter.cs
- CombinedGeometry.cs