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
- RedirectionProxy.cs
- Not.cs
- RuntimeConfig.cs
- SrgsText.cs
- SynchronizationLockException.cs
- ProtectedConfiguration.cs
- RequestResponse.cs
- dsa.cs
- ClientApiGenerator.cs
- MTConfigUtil.cs
- SqlProviderUtilities.cs
- CodeTypeParameterCollection.cs
- ActivityBindForm.cs
- DataServiceQueryProvider.cs
- NavigationWindow.cs
- TextEndOfSegment.cs
- Translator.cs
- TextRenderingModeValidation.cs
- _NetworkingPerfCounters.cs
- ObsoleteAttribute.cs
- FieldTemplateUserControl.cs
- validation.cs
- ObjectIDGenerator.cs
- Rotation3D.cs
- Accessors.cs
- SerTrace.cs
- Primitive.cs
- EntityStoreSchemaFilterEntry.cs
- Rule.cs
- WorkflowItemPresenter.cs
- PropertyHelper.cs
- ObjectParameter.cs
- X500Name.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- UnmanagedHandle.cs
- PrintDialog.cs
- SoapObjectInfo.cs
- RoutedEventHandlerInfo.cs
- ProcessModelSection.cs
- CustomPopupPlacement.cs
- ProvideValueServiceProvider.cs
- LoginCancelEventArgs.cs
- ToolStripItemImageRenderEventArgs.cs
- FontUnitConverter.cs
- HtmlLink.cs
- ActivationArguments.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- ClientTarget.cs
- JsonDeserializer.cs
- WebColorConverter.cs
- KeyedPriorityQueue.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- TextParagraph.cs
- GC.cs
- ElementUtil.cs
- DesignerVerbCollection.cs
- SessionStateSection.cs
- SqlConnectionHelper.cs
- ThreadInterruptedException.cs
- DeploymentExceptionMapper.cs
- ResourceAttributes.cs
- LoginDesignerUtil.cs
- IODescriptionAttribute.cs
- FontFamilyConverter.cs
- StorageMappingFragment.cs
- SyndicationItemFormatter.cs
- ToolStripItem.cs
- WebPartAddingEventArgs.cs
- PointConverter.cs
- AdapterUtil.cs
- TreeNodeBindingCollection.cs
- DetailsViewModeEventArgs.cs
- TrackingSection.cs
- WeakHashtable.cs
- XmlBinaryReader.cs
- ProxyGenerator.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- RightsManagementEncryptionTransform.cs
- WebBrowserNavigatingEventHandler.cs
- _NetworkingPerfCounters.cs
- EventEntry.cs
- relpropertyhelper.cs
- DataErrorValidationRule.cs
- PersonalizationProviderCollection.cs
- MasterPageCodeDomTreeGenerator.cs
- AbstractDataSvcMapFileLoader.cs
- _ChunkParse.cs
- SQLGuidStorage.cs
- TypographyProperties.cs
- BypassElement.cs
- FontStyleConverter.cs
- MimeMultiPart.cs
- DataColumnMappingCollection.cs
- HtmlEncodedRawTextWriter.cs
- ConfigXmlText.cs
- PrivilegedConfigurationManager.cs
- DiscriminatorMap.cs
- Content.cs
- ConstraintConverter.cs
- RolePrincipal.cs