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
- SettingsPropertyCollection.cs
- DiscardableAttribute.cs
- SQLBoolean.cs
- RemoveStoryboard.cs
- ServiceOperationParameter.cs
- SudsCommon.cs
- TableCellCollection.cs
- Monitor.cs
- WebProxyScriptElement.cs
- FilterException.cs
- DPCustomTypeDescriptor.cs
- ConfigViewGenerator.cs
- PenLineJoinValidation.cs
- DataBindingCollectionEditor.cs
- Activity.cs
- MD5.cs
- PageBreakRecord.cs
- KnownBoxes.cs
- AxDesigner.cs
- CodeTypeReference.cs
- RIPEMD160Managed.cs
- BoundColumn.cs
- SqlNotificationRequest.cs
- ToolStripPanelCell.cs
- PerformanceCounterManager.cs
- TypeUsageBuilder.cs
- Constants.cs
- StringDictionaryEditor.cs
- ChangePassword.cs
- ZoneButton.cs
- Expression.cs
- PartialCachingAttribute.cs
- WebDescriptionAttribute.cs
- WebServiceEnumData.cs
- WorkflowTerminatedException.cs
- SoapFault.cs
- SQLStringStorage.cs
- SchemaEntity.cs
- peersecuritysettings.cs
- ReliabilityContractAttribute.cs
- SecurityHelper.cs
- _DisconnectOverlappedAsyncResult.cs
- UserControlParser.cs
- FlowDocumentPaginator.cs
- EndEvent.cs
- IBuiltInEvidence.cs
- DataGrid.cs
- PeerToPeerException.cs
- SafeProcessHandle.cs
- ActiveDocumentEvent.cs
- ChtmlMobileTextWriter.cs
- BrowserDefinition.cs
- ObjectCloneHelper.cs
- RIPEMD160.cs
- PowerModeChangedEventArgs.cs
- SqlMethodCallConverter.cs
- ValidateNames.cs
- SQLString.cs
- NativeMethods.cs
- GcHandle.cs
- SQLMoney.cs
- FactoryRecord.cs
- CodeGeneratorOptions.cs
- CreateRefExpr.cs
- BinaryFormatterWriter.cs
- TemplateControlCodeDomTreeGenerator.cs
- TextDecoration.cs
- MessageQueueConverter.cs
- OperationInfoBase.cs
- MobileListItem.cs
- XmlSchemaCompilationSettings.cs
- SetStoryboardSpeedRatio.cs
- ClientOptions.cs
- Identity.cs
- prompt.cs
- LexicalChunk.cs
- XmlObjectSerializerReadContextComplexJson.cs
- DataColumnChangeEvent.cs
- RedirectionProxy.cs
- QueryCacheKey.cs
- UIElement.cs
- PointConverter.cs
- PermissionSet.cs
- CreateRefExpr.cs
- LinqDataSource.cs
- StyleXamlParser.cs
- DependentList.cs
- OutputCacheSection.cs
- ControlIdConverter.cs
- RC2.cs
- Not.cs
- RangeValidator.cs
- DictionaryTraceRecord.cs
- SubstitutionDesigner.cs
- Icon.cs
- DataControlFieldCollection.cs
- XmlMembersMapping.cs
- SpotLight.cs
- ConvertEvent.cs
- XpsS0ValidatingLoader.cs