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
- WindowsProgressbar.cs
- SqlTriggerAttribute.cs
- PrinterSettings.cs
- ApplicationSettingsBase.cs
- ListenerAdapterBase.cs
- OleServicesContext.cs
- SystemIPAddressInformation.cs
- SByteConverter.cs
- TriggerAction.cs
- CatalogPart.cs
- SafePEFileHandle.cs
- WhitespaceRuleLookup.cs
- SharedDp.cs
- StylusTip.cs
- XamlStream.cs
- SimpleTextLine.cs
- Typeface.cs
- PerformanceCounterPermissionAttribute.cs
- Query.cs
- WindowAutomationPeer.cs
- WSSecurityOneDotOneSendSecurityHeader.cs
- SharedTcpTransportManager.cs
- DrawListViewColumnHeaderEventArgs.cs
- Span.cs
- SctClaimSerializer.cs
- LoginCancelEventArgs.cs
- DiagnosticsConfigurationHandler.cs
- IOThreadScheduler.cs
- RuntimeTrackingProfile.cs
- CacheChildrenQuery.cs
- JoinTreeSlot.cs
- PolyLineSegment.cs
- NameGenerator.cs
- Internal.cs
- RegionInfo.cs
- SqlXml.cs
- XPathNodePointer.cs
- ColorContext.cs
- Message.cs
- RoutedCommand.cs
- OletxDependentTransaction.cs
- ViewBox.cs
- BrushValueSerializer.cs
- RedirectionProxy.cs
- NameGenerator.cs
- ParentQuery.cs
- SafeArchiveContext.cs
- WebBrowserProgressChangedEventHandler.cs
- FixedSOMImage.cs
- PageThemeParser.cs
- Page.cs
- ISCIIEncoding.cs
- SourceInterpreter.cs
- PolygonHotSpot.cs
- DependencyPropertyValueSerializer.cs
- InkCanvasAutomationPeer.cs
- CustomErrorCollection.cs
- WindowsUpDown.cs
- CodeChecksumPragma.cs
- OlePropertyStructs.cs
- SmtpFailedRecipientException.cs
- ScriptRegistrationManager.cs
- Nullable.cs
- ResourceManager.cs
- XPathArrayIterator.cs
- MsmqIntegrationInputChannel.cs
- TypeInfo.cs
- EqualityComparer.cs
- DesignerActionVerbItem.cs
- OSFeature.cs
- TerminatorSinks.cs
- HtmlUtf8RawTextWriter.cs
- RealizationContext.cs
- WebPartsSection.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- PathNode.cs
- DocumentGridContextMenu.cs
- InstanceNotFoundException.cs
- __ComObject.cs
- SRDisplayNameAttribute.cs
- Crc32.cs
- SchemaRegistration.cs
- PerformanceCounterManager.cs
- _ListenerRequestStream.cs
- ValueType.cs
- RequestCachePolicy.cs
- SafeWaitHandle.cs
- SqlNotificationRequest.cs
- SecurityCriticalDataForSet.cs
- TimeZone.cs
- TimersDescriptionAttribute.cs
- Point3DValueSerializer.cs
- ConfigurationManager.cs
- SaveFileDialog.cs
- TemplateInstanceAttribute.cs
- TableParagraph.cs
- SourceFileBuildProvider.cs
- MailWriter.cs
- elementinformation.cs
- EditingMode.cs