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
- UnsafeNativeMethods.cs
- MgmtConfigurationRecord.cs
- Encoding.cs
- TcpClientSocketManager.cs
- ParameterCollection.cs
- GridEntry.cs
- XmlIncludeAttribute.cs
- SafeRightsManagementSessionHandle.cs
- MemberAssignmentAnalysis.cs
- HttpApplication.cs
- JobInputBins.cs
- ConstraintEnumerator.cs
- WebControl.cs
- FacetValueContainer.cs
- DataPagerFieldCollection.cs
- PermissionAttributes.cs
- SelectorItemAutomationPeer.cs
- EdmEntityTypeAttribute.cs
- NeutralResourcesLanguageAttribute.cs
- DelegateTypeInfo.cs
- UnsafePeerToPeerMethods.cs
- Soap.cs
- HtmlToClrEventProxy.cs
- XmlCountingReader.cs
- IndentTextWriter.cs
- CodeExporter.cs
- BamlLocalizableResourceKey.cs
- WebServiceEndpoint.cs
- ISessionStateStore.cs
- _Win32.cs
- DataServiceQueryOfT.cs
- TileModeValidation.cs
- CustomErrorsSection.cs
- WebBrowserPermission.cs
- OleDbRowUpdatingEvent.cs
- UrlSyndicationContent.cs
- TableCell.cs
- SqlGatherProducedAliases.cs
- TraceHandlerErrorFormatter.cs
- InternalBufferOverflowException.cs
- ListManagerBindingsCollection.cs
- ExceptionValidationRule.cs
- TextTrailingWordEllipsis.cs
- ArraySegment.cs
- JsonSerializer.cs
- DBConcurrencyException.cs
- DataTable.cs
- ObjectConverter.cs
- jithelpers.cs
- ScriptControl.cs
- DoubleUtil.cs
- CodeAttributeArgumentCollection.cs
- MembershipUser.cs
- SqlConnection.cs
- ObjectNavigationPropertyMapping.cs
- DependencyObject.cs
- TraceSection.cs
- RegexParser.cs
- PointLightBase.cs
- BitmapEffect.cs
- ControlBuilder.cs
- File.cs
- ObjectKeyFrameCollection.cs
- HostingEnvironmentSection.cs
- CompiledQuery.cs
- WebPartActionVerb.cs
- EncodingTable.cs
- EDesignUtil.cs
- XmlSerializerAssemblyAttribute.cs
- SvcMapFileLoader.cs
- Events.cs
- AssemblyCacheEntry.cs
- PieceDirectory.cs
- ExpressionBindingCollection.cs
- XhtmlBasicListAdapter.cs
- CodeFieldReferenceExpression.cs
- CodeParameterDeclarationExpression.cs
- AsyncSerializedWorker.cs
- XamlReaderHelper.cs
- GrammarBuilderWildcard.cs
- WorkflowInstance.cs
- ClientRuntimeConfig.cs
- SevenBitStream.cs
- CollectionViewProxy.cs
- WindowsTab.cs
- CultureMapper.cs
- SimpleType.cs
- MeasurementDCInfo.cs
- Type.cs
- ToolStripItemCollection.cs
- XmlAttributeCollection.cs
- PeerNearMe.cs
- XmlCharCheckingReader.cs
- DeclarativeCatalogPart.cs
- ResourceContainer.cs
- IPEndPointCollection.cs
- SchemaMerger.cs
- FixedSOMFixedBlock.cs
- IPHostEntry.cs
- SqlResolver.cs