Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewRowsRemovedEventArgs.cs / 1 / DataGridViewRowsRemovedEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Diagnostics; using System.Globalization; ///public class DataGridViewRowsRemovedEventArgs : EventArgs { private int rowIndex, rowCount; /// public DataGridViewRowsRemovedEventArgs(int rowIndex, int rowCount) { if (rowIndex < 0) { throw new ArgumentOutOfRangeException("rowIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "rowIndex", rowIndex.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); } if (rowCount < 1) { throw new ArgumentOutOfRangeException("rowCount", SR.GetString(SR.InvalidLowBoundArgumentEx, "rowCount", rowCount.ToString(CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture))); } this.rowIndex = rowIndex; this.rowCount = rowCount; } /// public int RowIndex { get { return this.rowIndex; } } /// public int RowCount { get { return this.rowCount; } } } } // 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; using System.Globalization; ///public class DataGridViewRowsRemovedEventArgs : EventArgs { private int rowIndex, rowCount; /// public DataGridViewRowsRemovedEventArgs(int rowIndex, int rowCount) { if (rowIndex < 0) { throw new ArgumentOutOfRangeException("rowIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "rowIndex", rowIndex.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); } if (rowCount < 1) { throw new ArgumentOutOfRangeException("rowCount", SR.GetString(SR.InvalidLowBoundArgumentEx, "rowCount", rowCount.ToString(CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture))); } this.rowIndex = rowIndex; this.rowCount = rowCount; } /// public int RowIndex { get { return this.rowIndex; } } /// public int RowCount { get { return this.rowCount; } } } } // 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
- SemaphoreFullException.cs
- ContentElementCollection.cs
- WebPartAuthorizationEventArgs.cs
- SimpleTextLine.cs
- SizeChangedEventArgs.cs
- CommandConverter.cs
- InputLanguageCollection.cs
- AppDomainGrammarProxy.cs
- CorrelationService.cs
- NamedPipeTransportElement.cs
- CodeThrowExceptionStatement.cs
- ColumnTypeConverter.cs
- TextElementCollection.cs
- FixedSOMElement.cs
- Privilege.cs
- DbSetClause.cs
- GroupDescription.cs
- XmlSchemaInfo.cs
- SqlDataSourceQueryEditorForm.cs
- DataGridColumn.cs
- IdentifierService.cs
- ToolStripArrowRenderEventArgs.cs
- ManipulationInertiaStartingEventArgs.cs
- VerbConverter.cs
- LineMetrics.cs
- LabelLiteral.cs
- FixedHyperLink.cs
- BaseTemplatedMobileComponentEditor.cs
- XpsDocumentEvent.cs
- BooleanAnimationUsingKeyFrames.cs
- SerializationException.cs
- StateChangeEvent.cs
- PrimitiveCodeDomSerializer.cs
- formatter.cs
- ErrorRuntimeConfig.cs
- Marshal.cs
- CatalogZone.cs
- HtmlProps.cs
- XamlTreeBuilderBamlRecordWriter.cs
- MailMessage.cs
- RawUIStateInputReport.cs
- hresults.cs
- WeakReferenceList.cs
- MappingSource.cs
- AppLevelCompilationSectionCache.cs
- Serializer.cs
- NetworkInformationPermission.cs
- SystemResourceKey.cs
- TextEditorCharacters.cs
- TransformedBitmap.cs
- RoleExceptions.cs
- Brush.cs
- PropertyKey.cs
- FileDialog_Vista_Interop.cs
- QueryOperationResponseOfT.cs
- UpdateRecord.cs
- GridLengthConverter.cs
- TreeNodeSelectionProcessor.cs
- ResourcePool.cs
- CommandValueSerializer.cs
- SecurityUniqueId.cs
- FrugalList.cs
- LicenseManager.cs
- BuildDependencySet.cs
- HashCodeCombiner.cs
- IEnumerable.cs
- ManipulationStartedEventArgs.cs
- RegionData.cs
- WindowsRegion.cs
- WebOperationContext.cs
- ColorConvertedBitmap.cs
- ApplicationServicesHostFactory.cs
- Ref.cs
- TableCell.cs
- MouseGestureConverter.cs
- Themes.cs
- HttpVersion.cs
- ExpressionNormalizer.cs
- ReservationNotFoundException.cs
- Keyboard.cs
- OdbcConnectionHandle.cs
- Point4D.cs
- MembershipUser.cs
- SmtpCommands.cs
- XmlSchemaComplexType.cs
- QueryExtender.cs
- UnsafeNativeMethods.cs
- AuthorizationSection.cs
- Console.cs
- dataobject.cs
- NamedPipeAppDomainProtocolHandler.cs
- RegexBoyerMoore.cs
- AlphaSortedEnumConverter.cs
- HttpPostLocalhostServerProtocol.cs
- DBSqlParser.cs
- HttpCachePolicy.cs
- TypedReference.cs
- Double.cs
- MatrixTransform.cs
- NotificationContext.cs