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
- IndicCharClassifier.cs
- CommandBinding.cs
- RemoteWebConfigurationHostStream.cs
- ZipFileInfoCollection.cs
- TimeSpanValidatorAttribute.cs
- Schema.cs
- TemplateKeyConverter.cs
- TypeInitializationException.cs
- PropertyPath.cs
- XmlHelper.cs
- Base64WriteStateInfo.cs
- MULTI_QI.cs
- ConfigUtil.cs
- AnnotationDocumentPaginator.cs
- AppSettings.cs
- NumericExpr.cs
- ForeignConstraint.cs
- brushes.cs
- AuthorizationRule.cs
- Renderer.cs
- EntityDataSourceSelectingEventArgs.cs
- InfoCardServiceInstallComponent.cs
- IndexedString.cs
- PagerStyle.cs
- ConnectionsZone.cs
- BezierSegment.cs
- FixedDocument.cs
- Parsers.cs
- oledbconnectionstring.cs
- HtmlLinkAdapter.cs
- FacetValues.cs
- BulletChrome.cs
- UniqueID.cs
- DriveNotFoundException.cs
- DictionarySectionHandler.cs
- RoleService.cs
- CachedTypeface.cs
- ModifierKeysValueSerializer.cs
- HtmlTernaryTree.cs
- PtsHelper.cs
- Repeater.cs
- CodeTypeMember.cs
- WebPageTraceListener.cs
- EditorPartChrome.cs
- CommandLineParser.cs
- Permission.cs
- ConnectionManagementElement.cs
- InstanceStore.cs
- DataTableReader.cs
- EncodingNLS.cs
- TextBlockAutomationPeer.cs
- HtmlControl.cs
- RetrieveVirtualItemEventArgs.cs
- UnknownBitmapEncoder.cs
- CqlIdentifiers.cs
- HtmlSelect.cs
- WaitForChangedResult.cs
- DetailsView.cs
- IPAddressCollection.cs
- Vector3DAnimationUsingKeyFrames.cs
- CrossContextChannel.cs
- UrlPath.cs
- SweepDirectionValidation.cs
- NumberSubstitution.cs
- StatusCommandUI.cs
- SpotLight.cs
- BinarySerializer.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- SByteConverter.cs
- AsmxEndpointPickerExtension.cs
- OleDbStruct.cs
- XPathNavigatorReader.cs
- ContentPosition.cs
- OrderingInfo.cs
- ToolStripGrip.cs
- SortedList.cs
- ServiceInstallComponent.cs
- ApplicationBuildProvider.cs
- StringFreezingAttribute.cs
- ProxyWebPart.cs
- CssClassPropertyAttribute.cs
- DocumentEventArgs.cs
- SoapTypeAttribute.cs
- ColorMatrix.cs
- ContentPresenter.cs
- SuppressIldasmAttribute.cs
- NameService.cs
- PropertyConverter.cs
- XPathDocument.cs
- HtmlEncodedRawTextWriter.cs
- DataGridBoolColumn.cs
- WindowsFormsSectionHandler.cs
- HasCopySemanticsAttribute.cs
- RelationshipConverter.cs
- TextDataBindingHandler.cs
- ActivityCodeDomSerializationManager.cs
- SrgsElement.cs
- compensatingcollection.cs
- WebScriptEnablingBehavior.cs
- XmlAttributeAttribute.cs