Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewCellEventArgs.cs / 1 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StickyNoteHelper.cs
- CultureMapper.cs
- MethodImplAttribute.cs
- XmlWrappingReader.cs
- QuadraticBezierSegment.cs
- StrokeNodeOperations2.cs
- CqlGenerator.cs
- FileRegion.cs
- BufferModeSettings.cs
- COM2PropertyDescriptor.cs
- Matrix3DConverter.cs
- PerfCounters.cs
- Button.cs
- SiteMapHierarchicalDataSourceView.cs
- DictionarySectionHandler.cs
- DiffuseMaterial.cs
- SaveRecipientRequest.cs
- PropertyGrid.cs
- PhonemeEventArgs.cs
- RectAnimationUsingKeyFrames.cs
- ObjectView.cs
- RuleSettingsCollection.cs
- TypeGeneratedEventArgs.cs
- ObjectDataSourceEventArgs.cs
- TokenCreationException.cs
- PrimitiveType.cs
- EmptyReadOnlyDictionaryInternal.cs
- ModelItemDictionaryImpl.cs
- XslException.cs
- XmlSchema.cs
- XPathSelectionIterator.cs
- Application.cs
- RulePatternOps.cs
- AlternateView.cs
- FixedSOMLineCollection.cs
- ResourcePool.cs
- QilFactory.cs
- ToolBarOverflowPanel.cs
- CompressedStack.cs
- WorkflowFileItem.cs
- SyndicationSerializer.cs
- TraceLevelStore.cs
- MarkupExtensionReturnTypeAttribute.cs
- validationstate.cs
- ModelServiceImpl.cs
- Point.cs
- InstanceDescriptor.cs
- CodeExpressionCollection.cs
- PrinterResolution.cs
- CompensationTokenData.cs
- DataColumn.cs
- UdpDiscoveryMessageFilter.cs
- AccessDataSource.cs
- TimeIntervalCollection.cs
- ComponentCollection.cs
- CompiledScopeCriteria.cs
- PartialToken.cs
- TextSchema.cs
- DataGridTableCollection.cs
- IssuedSecurityTokenParameters.cs
- MobileControl.cs
- DataGridViewColumnEventArgs.cs
- ParallelTimeline.cs
- AppliesToBehaviorDecisionTable.cs
- BaseParser.cs
- ContentPlaceHolder.cs
- ResourceCategoryAttribute.cs
- RoutedEventArgs.cs
- AddingNewEventArgs.cs
- DtdParser.cs
- SafeNativeMethodsCLR.cs
- DataSourceControl.cs
- fixedPageContentExtractor.cs
- _AutoWebProxyScriptWrapper.cs
- PaperSource.cs
- AmbientLight.cs
- TextEncodedRawTextWriter.cs
- SafeRegistryHandle.cs
- Int32Animation.cs
- RequiredAttributeAttribute.cs
- WindowsListBox.cs
- AvtEvent.cs
- NamespaceImport.cs
- ModuleElement.cs
- AxisAngleRotation3D.cs
- Margins.cs
- XamlSerializationHelper.cs
- WebPartManager.cs
- NamespaceImport.cs
- DBPropSet.cs
- BooleanProjectedSlot.cs
- DescendentsWalker.cs
- SafeCryptHandles.cs
- BaseTemplateBuildProvider.cs
- EmptyStringExpandableObjectConverter.cs
- DirectoryInfo.cs
- DataSourceControl.cs
- DeploymentSectionCache.cs
- ReadOnlyHierarchicalDataSourceView.cs
- TailPinnedEventArgs.cs