Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- VirtualDirectoryMapping.cs
- Int16Animation.cs
- EDesignUtil.cs
- VirtualPathExtension.cs
- Walker.cs
- FormattedText.cs
- COM2ExtendedTypeConverter.cs
- DataKey.cs
- PathSegment.cs
- ThreadInterruptedException.cs
- HybridDictionary.cs
- RawStylusInput.cs
- IdleTimeoutMonitor.cs
- PersonalizableTypeEntry.cs
- _CommandStream.cs
- SharedStatics.cs
- QilReplaceVisitor.cs
- Decimal.cs
- ConcurrentStack.cs
- GACMembershipCondition.cs
- JoinTreeNode.cs
- ManualResetEvent.cs
- HttpListenerRequestUriBuilder.cs
- XmlCharacterData.cs
- TdsRecordBufferSetter.cs
- QilIterator.cs
- TextBox.cs
- FieldDescriptor.cs
- TabControl.cs
- TextOnlyOutput.cs
- PolyQuadraticBezierSegment.cs
- ResourceReferenceExpressionConverter.cs
- ProcessProtocolHandler.cs
- XmlElementElement.cs
- ProcessStartInfo.cs
- FtpCachePolicyElement.cs
- ArithmeticException.cs
- InitializeCorrelation.cs
- BuilderPropertyEntry.cs
- ColumnTypeConverter.cs
- ComEventsHelper.cs
- ThreadPool.cs
- DataGridViewTopRowAccessibleObject.cs
- CellIdBoolean.cs
- XmlWellformedWriterHelpers.cs
- NativeMethods.cs
- LockedActivityGlyph.cs
- WorkflowApplicationAbortedException.cs
- NamespaceDisplay.xaml.cs
- CompModSwitches.cs
- UserValidatedEventArgs.cs
- ScaleTransform3D.cs
- altserialization.cs
- ChameleonKey.cs
- _ListenerAsyncResult.cs
- MetadataUtilsSmi.cs
- StorageSetMapping.cs
- SizeF.cs
- DynamicPhysicalDiscoSearcher.cs
- DataControlFieldCollection.cs
- TemplateColumn.cs
- FixedStringLookup.cs
- serverconfig.cs
- GatewayDefinition.cs
- BufferedGraphicsContext.cs
- RouteValueExpressionBuilder.cs
- XmlCharacterData.cs
- ToolStripControlHost.cs
- CodeMethodReturnStatement.cs
- WindowsAuthenticationEventArgs.cs
- DBSchemaTable.cs
- DateTimeConverter.cs
- Base64Encoder.cs
- ParameterReplacerVisitor.cs
- SqlDataSourceView.cs
- CustomPeerResolverService.cs
- DragEventArgs.cs
- securitycriticaldataClass.cs
- AdornerPresentationContext.cs
- SourceFileInfo.cs
- GridItemPatternIdentifiers.cs
- CodeMethodInvokeExpression.cs
- IfJoinedCondition.cs
- XmlResolver.cs
- DataGridViewImageColumn.cs
- DataServiceRequestException.cs
- PrintController.cs
- ResXFileRef.cs
- PathFigure.cs
- CaseKeyBox.xaml.cs
- HashLookup.cs
- RenderDataDrawingContext.cs
- Visual3D.cs
- DataGridViewCell.cs
- WorkflowServiceAttributes.cs
- Point4D.cs
- CssClassPropertyAttribute.cs
- NumberFunctions.cs
- TransactionValidationBehavior.cs
- WinFormsUtils.cs