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
- ApplicationInfo.cs
- StatusBar.cs
- CodeSubDirectory.cs
- FileCodeGroup.cs
- ScriptingJsonSerializationSection.cs
- SecUtil.cs
- FontNamesConverter.cs
- InputLangChangeEvent.cs
- Helper.cs
- RunInstallerAttribute.cs
- Version.cs
- TextFormatter.cs
- SafeNativeMethods.cs
- ContentOperations.cs
- XmlSchemaValidator.cs
- WebExceptionStatus.cs
- GeometryDrawing.cs
- Grid.cs
- StringWriter.cs
- DebugView.cs
- PropertyChangedEventArgs.cs
- BCLDebug.cs
- HotSpot.cs
- CookieParameter.cs
- SiteMapNode.cs
- TransformDescriptor.cs
- RegexEditorDialog.cs
- PropertyGridEditorPart.cs
- ErrorWrapper.cs
- MasterPage.cs
- DataSetMappper.cs
- PersonalizationProviderHelper.cs
- SafeNativeMethods.cs
- PenThreadPool.cs
- CompilerErrorCollection.cs
- ZipIOModeEnforcingStream.cs
- XmlSchemaInclude.cs
- GeneratedView.cs
- AbstractSvcMapFileLoader.cs
- GroupAggregateExpr.cs
- Effect.cs
- SubMenuStyleCollection.cs
- XmlRawWriter.cs
- ContentPosition.cs
- CorrelationTokenInvalidatedHandler.cs
- RemoteX509Token.cs
- DataTrigger.cs
- PersonalizationStateQuery.cs
- SystemIcmpV6Statistics.cs
- DispatcherHookEventArgs.cs
- HttpServerChannel.cs
- StringSorter.cs
- SafeNativeMethods.cs
- StylusPointDescription.cs
- DataView.cs
- ReadOnlyDictionary.cs
- RecipientInfo.cs
- DynamicScriptObject.cs
- PagerStyle.cs
- ViewStateException.cs
- RoutingEndpointTrait.cs
- RuntimeConfigurationRecord.cs
- HttpStreams.cs
- RotateTransform3D.cs
- BrowserCapabilitiesFactoryBase.cs
- NgenServicingAttributes.cs
- MethodToken.cs
- ApplicationActivator.cs
- StackOverflowException.cs
- FormsAuthenticationCredentials.cs
- CleanUpVirtualizedItemEventArgs.cs
- x509utils.cs
- StylusCaptureWithinProperty.cs
- Visual3D.cs
- Double.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- OdbcException.cs
- DigitalSignature.cs
- TextWriterTraceListener.cs
- WebResourceAttribute.cs
- EventHandlersStore.cs
- ErrorFormatter.cs
- MemoryMappedView.cs
- DependencySource.cs
- UIntPtr.cs
- GlyphShapingProperties.cs
- CustomValidator.cs
- XmlSortKeyAccumulator.cs
- nulltextnavigator.cs
- Avt.cs
- HandledEventArgs.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- Encoding.cs
- AssemblyBuilder.cs
- DriveNotFoundException.cs
- ProtectedProviderSettings.cs
- ExecutionEngineException.cs
- ManagementObject.cs
- XDeferredAxisSource.cs
- XmlChildNodes.cs