Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- MimeTypeMapper.cs
- RegexRunnerFactory.cs
- RectangleF.cs
- FormViewPageEventArgs.cs
- GridViewCommandEventArgs.cs
- AbandonedMutexException.cs
- GetBrowserTokenRequest.cs
- EtwTrace.cs
- DrawingAttributeSerializer.cs
- CacheEntry.cs
- DiscoveryDocumentLinksPattern.cs
- NetTcpSectionData.cs
- IgnoreDataMemberAttribute.cs
- XmlSchemaDatatype.cs
- SqlConnectionPoolGroupProviderInfo.cs
- StreamingContext.cs
- AutomationAttributeInfo.cs
- CounterSet.cs
- Currency.cs
- FactoryId.cs
- TraceHandlerErrorFormatter.cs
- CryptoStream.cs
- PropertyDescriptorComparer.cs
- Solver.cs
- SqlFileStream.cs
- ZipIOModeEnforcingStream.cs
- SiteMapPath.cs
- ServiceReference.cs
- EmptyControlCollection.cs
- DateTimeConverter.cs
- HttpResponseBase.cs
- WorkflowMarkupSerializer.cs
- TextContainerChangedEventArgs.cs
- Attributes.cs
- HebrewCalendar.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- GeometryCombineModeValidation.cs
- EntitySetBase.cs
- Size3DConverter.cs
- WeakEventTable.cs
- PointConverter.cs
- PackageDocument.cs
- SelectionChangedEventArgs.cs
- TakeQueryOptionExpression.cs
- SystemColors.cs
- CollaborationHelperFunctions.cs
- DoubleAverageAggregationOperator.cs
- ReceiveReply.cs
- JsonFormatReaderGenerator.cs
- BaseCollection.cs
- ProxyAttribute.cs
- PointF.cs
- Point.cs
- DataServiceRequestException.cs
- WebPartDescription.cs
- PolyLineSegment.cs
- SmiMetaDataProperty.cs
- BulletedList.cs
- Pkcs7Recipient.cs
- XmlCharType.cs
- EncoderFallback.cs
- CompiledRegexRunnerFactory.cs
- Run.cs
- GPPOINTF.cs
- DocumentPageViewAutomationPeer.cs
- NamespaceEmitter.cs
- PopOutPanel.cs
- OdbcInfoMessageEvent.cs
- StringUtil.cs
- XmlAttributes.cs
- ImageAutomationPeer.cs
- RecognizedPhrase.cs
- EventRouteFactory.cs
- EndPoint.cs
- DefaultValueAttribute.cs
- NetworkCredential.cs
- BitmapEffectDrawing.cs
- SerializationFieldInfo.cs
- DesignTimeVisibleAttribute.cs
- ProcessProtocolHandler.cs
- InvokeBinder.cs
- SizeFConverter.cs
- IdentityHolder.cs
- AppendHelper.cs
- NativeStructs.cs
- TraceFilter.cs
- oledbmetadatacolumnnames.cs
- SelectionRangeConverter.cs
- NameValueSectionHandler.cs
- DesignerSerializerAttribute.cs
- SimpleBitVector32.cs
- TypeUsage.cs
- QueryRewriter.cs
- BackStopAuthenticationModule.cs
- TraceUtils.cs
- QilInvokeEarlyBound.cs
- ConfigurationSchemaErrors.cs
- PtsHost.cs
- ApplicationManager.cs
- PtsHelper.cs