Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- X509Utils.cs
- Group.cs
- StrongNameIdentityPermission.cs
- HMACSHA256.cs
- EntityViewContainer.cs
- FrameworkRichTextComposition.cs
- XPathDocumentNavigator.cs
- DeferredSelectedIndexReference.cs
- RoutedEventArgs.cs
- ActivityStateRecord.cs
- SessionStateModule.cs
- HttpDateParse.cs
- RoleManagerModule.cs
- ExtractedStateEntry.cs
- MissingManifestResourceException.cs
- DispatcherObject.cs
- ServiceModelConfigurationSection.cs
- XmlDataFileEditor.cs
- SqlOuterApplyReducer.cs
- ExpressionsCollectionConverter.cs
- Repeater.cs
- DesignerUtils.cs
- AttributeParameterInfo.cs
- Size3DValueSerializer.cs
- CreateUserErrorEventArgs.cs
- XhtmlBasicPanelAdapter.cs
- IntellisenseTextBox.cs
- MappingItemCollection.cs
- smtppermission.cs
- XamlSerializer.cs
- _FtpControlStream.cs
- ParseNumbers.cs
- ContentElementAutomationPeer.cs
- cookie.cs
- BinaryConverter.cs
- SetStoryboardSpeedRatio.cs
- GetLedgerEntryForRecipientRequest.cs
- UdpSocketReceiveManager.cs
- SpellerHighlightLayer.cs
- ToolStripGrip.cs
- FilterException.cs
- OleDbWrapper.cs
- RtfNavigator.cs
- GridViewRowPresenter.cs
- EncryptedPackage.cs
- GridViewRow.cs
- Bitmap.cs
- Regex.cs
- CounterCreationData.cs
- DeclaredTypeElementCollection.cs
- GenerateScriptTypeAttribute.cs
- Size3DConverter.cs
- DynamicScriptObject.cs
- ErrorWrapper.cs
- SafeUserTokenHandle.cs
- CodePageEncoding.cs
- RunInstallerAttribute.cs
- MappingSource.cs
- HitTestParameters.cs
- PointConverter.cs
- IdleTimeoutMonitor.cs
- ReachNamespaceInfo.cs
- HttpDebugHandler.cs
- RegistryConfigurationProvider.cs
- DataListAutoFormat.cs
- CaseInsensitiveComparer.cs
- OleStrCAMarshaler.cs
- MsmqIntegrationMessagePool.cs
- ValueTypeFixupInfo.cs
- AnimatedTypeHelpers.cs
- WebServiceEnumData.cs
- MasterPageParser.cs
- SplineKeyFrames.cs
- HtmlObjectListAdapter.cs
- MenuTracker.cs
- SafeRightsManagementEnvironmentHandle.cs
- XmlTextReader.cs
- List.cs
- EntityDataSourceEntityTypeFilterItem.cs
- ResourceDescriptionAttribute.cs
- ipaddressinformationcollection.cs
- TransformationRules.cs
- CollectionViewGroupRoot.cs
- SmiSettersStream.cs
- XmlSchemaComplexContentExtension.cs
- ToolStripSplitStackLayout.cs
- XmlDomTextWriter.cs
- WebPartCollection.cs
- DomainUpDown.cs
- RepeatInfo.cs
- SocketPermission.cs
- FixedSOMTableCell.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- CallbackValidatorAttribute.cs
- ColumnCollection.cs
- InvokePattern.cs
- UInt64Converter.cs
- PropertyBuilder.cs
- XmlAutoDetectWriter.cs
- WebPartEditorApplyVerb.cs