Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. // //----------------------------------------------------------------------------- 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
- TextEditorCharacters.cs
- SqlDeflator.cs
- SqlTypesSchemaImporter.cs
- ToolStripDesignerAvailabilityAttribute.cs
- DocumentXmlWriter.cs
- ListViewInsertEventArgs.cs
- OutputCacheSettings.cs
- GridViewDeletedEventArgs.cs
- ExcludeFromCodeCoverageAttribute.cs
- CacheChildrenQuery.cs
- DesignTimeParseData.cs
- StorageEntityContainerMapping.cs
- RadioButtonList.cs
- LazyLoadBehavior.cs
- CodeParameterDeclarationExpression.cs
- KnownTypeDataContractResolver.cs
- QueueException.cs
- NotImplementedException.cs
- CodeGenerator.cs
- Overlapped.cs
- WmfPlaceableFileHeader.cs
- RemotingConfigParser.cs
- ServiceProviders.cs
- HtmlTitle.cs
- AnnotationStore.cs
- Visual3D.cs
- Renderer.cs
- ConfigurationManagerInternalFactory.cs
- Literal.cs
- SetStateEventArgs.cs
- ParenthesizePropertyNameAttribute.cs
- KeyNotFoundException.cs
- DisposableCollectionWrapper.cs
- ValidationSummary.cs
- FocusChangedEventArgs.cs
- XmlSchemaExternal.cs
- ReadOnlyCollection.cs
- CallbackValidatorAttribute.cs
- DataObjectEventArgs.cs
- FixUpCollection.cs
- ToolBar.cs
- QilLoop.cs
- nulltextcontainer.cs
- DelayedRegex.cs
- DoWorkEventArgs.cs
- TimeManager.cs
- ImmutableCollection.cs
- SqlInternalConnectionTds.cs
- xmlsaver.cs
- DocumentPageView.cs
- TextLineBreak.cs
- JsonEnumDataContract.cs
- DelegateArgumentValue.cs
- RectAnimation.cs
- ComProxy.cs
- BitmapDownload.cs
- DetailsView.cs
- StringAttributeCollection.cs
- ObjectDesignerDataSourceView.cs
- HttpPostedFile.cs
- Point3DIndependentAnimationStorage.cs
- XPathScanner.cs
- ProcessModuleCollection.cs
- ScriptMethodAttribute.cs
- BitmapPalettes.cs
- ModuleBuilderData.cs
- UpdateCompiler.cs
- DataBoundLiteralControl.cs
- Grammar.cs
- TypeLibConverter.cs
- ImpersonationContext.cs
- LinkDescriptor.cs
- EpmContentSerializerBase.cs
- RuleSettings.cs
- BuildProvider.cs
- SelectedDatesCollection.cs
- SwitchAttribute.cs
- CutCopyPasteHelper.cs
- LabelInfo.cs
- StrokeCollection2.cs
- WebServiceEnumData.cs
- RuntimeVariablesExpression.cs
- LinkedResource.cs
- DbConnectionPoolGroupProviderInfo.cs
- ImageMapEventArgs.cs
- DesignerVerb.cs
- ToolBarButton.cs
- EffectiveValueEntry.cs
- CellQuery.cs
- MimeWriter.cs
- FileIOPermission.cs
- XmlText.cs
- FormatSettings.cs
- InstanceHandleReference.cs
- EnumerationRangeValidationUtil.cs
- validationstate.cs
- HTMLTextWriter.cs
- ToolStripItemImageRenderEventArgs.cs
- Debug.cs
- TextMessageEncodingBindingElement.cs