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
- ScrollChrome.cs
- EndEvent.cs
- DataGridTextBoxColumn.cs
- ByteFacetDescriptionElement.cs
- StrictAndMessageFilter.cs
- ScriptManager.cs
- ToolStripItemImageRenderEventArgs.cs
- IconEditor.cs
- Imaging.cs
- BatchStream.cs
- ReadOnlyDictionary.cs
- WhitespaceRuleLookup.cs
- VisualTarget.cs
- TemplateBindingExpressionConverter.cs
- OutOfProcStateClientManager.cs
- ActiveXHelper.cs
- PlatformCulture.cs
- GregorianCalendarHelper.cs
- QilIterator.cs
- ModelTreeEnumerator.cs
- DataReceivedEventArgs.cs
- SqlFileStream.cs
- SelectionEditor.cs
- ToggleButtonAutomationPeer.cs
- ElasticEase.cs
- UriTemplate.cs
- TimeSpanValidator.cs
- MetabaseReader.cs
- StreamResourceInfo.cs
- PointConverter.cs
- DeviceContext2.cs
- WsdlBuildProvider.cs
- AutomationElement.cs
- brushes.cs
- FixedSOMPageConstructor.cs
- DataGridViewColumnStateChangedEventArgs.cs
- SecUtil.cs
- TypeDescriptionProviderAttribute.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- DefaultAutoFieldGenerator.cs
- Calendar.cs
- MsmqInputSessionChannelListener.cs
- EmbeddedMailObject.cs
- XmlSerializerFaultFormatter.cs
- ListChangedEventArgs.cs
- CurrentChangingEventArgs.cs
- HttpProcessUtility.cs
- FontNameConverter.cs
- ContextProperty.cs
- PropertyOverridesTypeEditor.cs
- WindowsSlider.cs
- DrawingImage.cs
- InfoCardService.cs
- GacUtil.cs
- ListItemConverter.cs
- ListViewItem.cs
- KeyEventArgs.cs
- ProgressChangedEventArgs.cs
- SelectionPatternIdentifiers.cs
- UdpUtility.cs
- GcSettings.cs
- SoapBinding.cs
- DataViewManagerListItemTypeDescriptor.cs
- DeferredSelectedIndexReference.cs
- BamlLocalizer.cs
- AesManaged.cs
- GradientStop.cs
- Slider.cs
- ColumnWidthChangedEvent.cs
- ChannelEndpointElementCollection.cs
- SafeLocalMemHandle.cs
- Thread.cs
- PenThread.cs
- ConnectionConsumerAttribute.cs
- StructuredTypeEmitter.cs
- ContextInformation.cs
- RegexGroupCollection.cs
- TransformPatternIdentifiers.cs
- DbConnectionStringCommon.cs
- BuildProvider.cs
- FontStyle.cs
- HitTestParameters3D.cs
- RightsManagementInformation.cs
- DbSetClause.cs
- Themes.cs
- Funcletizer.cs
- SecureStringHasher.cs
- Double.cs
- RelationalExpressions.cs
- ResourceType.cs
- CompilationLock.cs
- MetadataUtilsSmi.cs
- TextEditorContextMenu.cs
- CreateUserWizardStep.cs
- SessionState.cs
- XmlNodeChangedEventArgs.cs
- DatagridviewDisplayedBandsData.cs
- EventManager.cs
- UidManager.cs
- ParameterToken.cs