Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewCellEventArgs.cs / 1305376 / DataGridViewCellEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Diagnostics; ///public class DataGridViewCellEventArgs : EventArgs { private int columnIndex; private int rowIndex; internal DataGridViewCellEventArgs(DataGridViewCell dataGridViewCell) : this(dataGridViewCell.ColumnIndex, dataGridViewCell.RowIndex) { } /// public DataGridViewCellEventArgs(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; ///public class DataGridViewCellEventArgs : EventArgs { private int columnIndex; private int rowIndex; internal DataGridViewCellEventArgs(DataGridViewCell dataGridViewCell) : this(dataGridViewCell.ColumnIndex, dataGridViewCell.RowIndex) { } /// public DataGridViewCellEventArgs(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
- DetailsViewRow.cs
- PathParser.cs
- ConvertTextFrag.cs
- MasterPageParser.cs
- _DomainName.cs
- GACIdentityPermission.cs
- StyleSheetRefUrlEditor.cs
- DataSpaceManager.cs
- DataGridViewMethods.cs
- UrlPropertyAttribute.cs
- NTAccount.cs
- ModelVisual3D.cs
- SerializationObjectManager.cs
- ListCollectionView.cs
- AssemblyNameEqualityComparer.cs
- UniqueConstraint.cs
- TextElementAutomationPeer.cs
- WindowsFormsHostAutomationPeer.cs
- DateTimeConverter2.cs
- TraceEventCache.cs
- TriggerAction.cs
- UnitySerializationHolder.cs
- StorageEndPropertyMapping.cs
- ArgIterator.cs
- ObjectIDGenerator.cs
- XmlUtilWriter.cs
- WeakRefEnumerator.cs
- Point4D.cs
- DispatchWrapper.cs
- Stylesheet.cs
- sqlmetadatafactory.cs
- OleDbException.cs
- DocComment.cs
- DrawingImage.cs
- Parser.cs
- ToolStripItemCollection.cs
- PropertyMap.cs
- SqlDependency.cs
- ProcessMonitor.cs
- UInt16Storage.cs
- TextBoxAutoCompleteSourceConverter.cs
- Misc.cs
- HashStream.cs
- AppDomainManager.cs
- CmsInterop.cs
- Comparer.cs
- NamedPipeDuplicateContext.cs
- PhysicalAddress.cs
- Scheduling.cs
- AttributedMetaModel.cs
- CmsInterop.cs
- SpnegoTokenProvider.cs
- ToolBarButtonClickEvent.cs
- FunctionParameter.cs
- CellQuery.cs
- SafeEventHandle.cs
- Transform.cs
- ScopelessEnumAttribute.cs
- ModelFunctionTypeElement.cs
- ResolveRequestResponseAsyncResult.cs
- NamespaceListProperty.cs
- XamlTypeMapper.cs
- ActiveDocumentEvent.cs
- AnonymousIdentificationModule.cs
- Vector3DAnimationUsingKeyFrames.cs
- NonBatchDirectoryCompiler.cs
- TextBox.cs
- InstanceKeyCollisionException.cs
- InputScopeManager.cs
- TempFiles.cs
- PerformanceCounterNameAttribute.cs
- ListBase.cs
- NullExtension.cs
- RIPEMD160.cs
- MyContact.cs
- Rotation3DAnimationUsingKeyFrames.cs
- ActivityExecutionWorkItem.cs
- WindowsSecurityToken.cs
- TraceProvider.cs
- ListBase.cs
- ISCIIEncoding.cs
- ObjectListGeneralPage.cs
- IIS7UserPrincipal.cs
- WmlTextViewAdapter.cs
- TypedServiceOperationListItem.cs
- ReliabilityContractAttribute.cs
- XmlSerializationReader.cs
- RankException.cs
- LongMinMaxAggregationOperator.cs
- CursorInteropHelper.cs
- TaskFileService.cs
- BuilderInfo.cs
- XmlCollation.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- Frame.cs
- _AcceptOverlappedAsyncResult.cs
- CodeSubDirectoriesCollection.cs
- ActivityExecutor.cs
- PolicyManager.cs
- KeyTimeConverter.cs