Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewRowsRemovedEventArgs.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SpecialNameAttribute.cs
- TrailingSpaceComparer.cs
- TripleDES.cs
- SQlBooleanStorage.cs
- MultiByteCodec.cs
- BaseCollection.cs
- ValueTable.cs
- TextRunCacheImp.cs
- DetailsViewRowCollection.cs
- XmlBaseReader.cs
- util.cs
- SafeReadContext.cs
- ResXResourceSet.cs
- InplaceBitmapMetadataWriter.cs
- HuffmanTree.cs
- DefaultValueAttribute.cs
- Operators.cs
- WithStatement.cs
- RegexGroup.cs
- PartialTrustVisibleAssemblyCollection.cs
- CharEntityEncoderFallback.cs
- RangeEnumerable.cs
- TypeElement.cs
- DataTemplateSelector.cs
- RegionInfo.cs
- AnimatedTypeHelpers.cs
- ValidationResult.cs
- TagPrefixCollection.cs
- ProxyWebPartConnectionCollection.cs
- CategoryGridEntry.cs
- TextUtf8RawTextWriter.cs
- SafeHandle.cs
- DataGridViewTextBoxCell.cs
- LassoHelper.cs
- SecurityKeyEntropyMode.cs
- InfocardExtendedInformationCollection.cs
- WebConfigurationFileMap.cs
- FileDialogCustomPlacesCollection.cs
- UnsettableComboBox.cs
- LabelTarget.cs
- ReadOnlyTernaryTree.cs
- VirtualizedContainerService.cs
- DbInsertCommandTree.cs
- KeySplineConverter.cs
- Certificate.cs
- UniqueEventHelper.cs
- ScopedKnownTypes.cs
- XmlToDatasetMap.cs
- DashStyle.cs
- KeyInterop.cs
- DateBoldEvent.cs
- BatchWriter.cs
- ColorConverter.cs
- DataGridViewRow.cs
- ObjectDataSourceMethodEventArgs.cs
- ApplicationBuildProvider.cs
- TableLayoutCellPaintEventArgs.cs
- RSAPKCS1SignatureDeformatter.cs
- Int32.cs
- CommandExpr.cs
- Queue.cs
- VerticalAlignConverter.cs
- ContainerParagraph.cs
- SudsCommon.cs
- AppSecurityManager.cs
- FormViewInsertEventArgs.cs
- TimerTable.cs
- HebrewNumber.cs
- FileLevelControlBuilderAttribute.cs
- AuthenticationModuleElementCollection.cs
- SQLDateTime.cs
- EventMappingSettingsCollection.cs
- BamlLocalizableResource.cs
- DataSourceView.cs
- AnnotationResourceChangedEventArgs.cs
- SessionStateModule.cs
- DataGrid.cs
- mactripleDES.cs
- ScriptComponentDescriptor.cs
- WindowsScroll.cs
- UnhandledExceptionEventArgs.cs
- ConversionHelper.cs
- LocatorPartList.cs
- XmlCharCheckingReader.cs
- ActivityContext.cs
- SspiNegotiationTokenAuthenticatorState.cs
- WebServiceResponseDesigner.cs
- XmlFormatMapping.cs
- HandlerFactoryCache.cs
- TableCellsCollectionEditor.cs
- SafeRegistryKey.cs
- CallbackException.cs
- NumericUpDownAcceleration.cs
- WebZoneDesigner.cs
- Group.cs
- BCryptNative.cs
- RoutedEventConverter.cs
- TaiwanCalendar.cs
- XmlUrlResolver.cs
- WebProxyScriptElement.cs