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
- SemaphoreFullException.cs
- WebPartEditorCancelVerb.cs
- X509ChainPolicy.cs
- RijndaelManagedTransform.cs
- ListChangedEventArgs.cs
- LinqDataSourceView.cs
- __Filters.cs
- SizeKeyFrameCollection.cs
- OlePropertyStructs.cs
- TreeNodeBinding.cs
- ListViewDeleteEventArgs.cs
- TrailingSpaceComparer.cs
- PageBuildProvider.cs
- WebResponse.cs
- CodeNamespaceImportCollection.cs
- HybridWebProxyFinder.cs
- PointKeyFrameCollection.cs
- ResourceExpression.cs
- QilParameter.cs
- RelationshipManager.cs
- XPathParser.cs
- SaveFileDialog.cs
- KernelTypeValidation.cs
- RequestStatusBarUpdateEventArgs.cs
- Hyperlink.cs
- MetadataUtil.cs
- NullableIntSumAggregationOperator.cs
- ImmutableObjectAttribute.cs
- Converter.cs
- TextBoxView.cs
- OutputCacheSettingsSection.cs
- SrgsGrammarCompiler.cs
- SingleSelectRootGridEntry.cs
- AsyncParams.cs
- DbException.cs
- FileSecurity.cs
- CommonProperties.cs
- LineBreakRecord.cs
- BinaryCommonClasses.cs
- Int32EqualityComparer.cs
- _UncName.cs
- EncryptedPackage.cs
- FileVersionInfo.cs
- DataControlFieldCollection.cs
- XPathAncestorIterator.cs
- OletxResourceManager.cs
- ServiceElement.cs
- EmptyStringExpandableObjectConverter.cs
- URI.cs
- XmlReflectionImporter.cs
- CuspData.cs
- IntegrationExceptionEventArgs.cs
- ContactManager.cs
- PatternMatcher.cs
- SettingsAttributeDictionary.cs
- CodeRegionDirective.cs
- SubMenuStyleCollection.cs
- AstTree.cs
- MetaColumn.cs
- DataGridViewColumnHeaderCell.cs
- HMACSHA1.cs
- UriExt.cs
- IndexingContentUnit.cs
- _AcceptOverlappedAsyncResult.cs
- XmlBinaryWriter.cs
- ObjectReaderCompiler.cs
- DbModificationClause.cs
- ApplicationServicesHostFactory.cs
- StylusPlugInCollection.cs
- Clause.cs
- ResourceExpressionBuilder.cs
- ISAPIRuntime.cs
- AvTrace.cs
- FormatterServices.cs
- PageFunction.cs
- ResizeGrip.cs
- SqlMultiplexer.cs
- ShellProvider.cs
- Parameter.cs
- FormViewInsertedEventArgs.cs
- UnsafeNativeMethods.cs
- XmlAutoDetectWriter.cs
- CriticalExceptions.cs
- XmlSchemaSimpleTypeList.cs
- WindowsTreeView.cs
- InternalTransaction.cs
- BulletChrome.cs
- CapabilitiesUse.cs
- DictionaryTraceRecord.cs
- SafeNativeHandle.cs
- HtmlInputReset.cs
- SingleTagSectionHandler.cs
- DbConnectionPoolGroup.cs
- WebPartDisplayModeCollection.cs
- PersonalizableTypeEntry.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- Mappings.cs
- ToolStripDesignerAvailabilityAttribute.cs
- PrefixQName.cs
- Relationship.cs