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
- ProvidersHelper.cs
- DataTable.cs
- TypeGeneratedEventArgs.cs
- UserControl.cs
- RSACryptoServiceProvider.cs
- XmlSchemaSimpleType.cs
- Interop.cs
- Delegate.cs
- DocumentGridPage.cs
- ObjectQuery_EntitySqlExtensions.cs
- PointCollection.cs
- ScriptRegistrationManager.cs
- DynamicMethod.cs
- ResourceAssociationTypeEnd.cs
- ZoneIdentityPermission.cs
- ButtonBaseAdapter.cs
- WebPermission.cs
- NativeMethods.cs
- PropertyMapper.cs
- SqlWebEventProvider.cs
- PointHitTestParameters.cs
- DocumentViewerAutomationPeer.cs
- SAPIEngineTypes.cs
- Matrix.cs
- ConfigDefinitionUpdates.cs
- TemplateBindingExtension.cs
- ShaderRenderModeValidation.cs
- HttpResponseInternalWrapper.cs
- OutputCache.cs
- Html32TextWriter.cs
- BlockExpression.cs
- DeobfuscatingStream.cs
- ProcessInputEventArgs.cs
- HtmlImageAdapter.cs
- TextServicesDisplayAttributePropertyRanges.cs
- ObjectItemAssemblyLoader.cs
- RIPEMD160Managed.cs
- BrowserCapabilitiesFactoryBase.cs
- ProfileGroupSettings.cs
- GeneralTransform3DTo2DTo3D.cs
- PassportPrincipal.cs
- contentDescriptor.cs
- RectAnimationUsingKeyFrames.cs
- MissingMemberException.cs
- ValidateNames.cs
- _SslState.cs
- DictionaryGlobals.cs
- TreeNodeCollection.cs
- SqlNodeAnnotation.cs
- TracedNativeMethods.cs
- MaskDescriptors.cs
- ParserExtension.cs
- Base64Encoding.cs
- OutputCacheSettings.cs
- Itemizer.cs
- IssuanceLicense.cs
- SendMailErrorEventArgs.cs
- TreeViewDataItemAutomationPeer.cs
- HtmlAnchor.cs
- MethodAccessException.cs
- ListViewDeletedEventArgs.cs
- SystemIPAddressInformation.cs
- PermissionAttributes.cs
- SerializerProvider.cs
- QueryStringParameter.cs
- DesignerLoader.cs
- HtmlGenericControl.cs
- OdbcConnectionFactory.cs
- NavigationExpr.cs
- TextBlockAutomationPeer.cs
- FileDialogCustomPlace.cs
- SmiEventStream.cs
- NetworkInformationException.cs
- InternalResources.cs
- WebPartCollection.cs
- CustomValidator.cs
- SafeNativeMethods.cs
- NamespaceInfo.cs
- InvalidCommandTreeException.cs
- InternalException.cs
- WebPartEditVerb.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- TypedColumnHandler.cs
- ScrollChrome.cs
- HelpPage.cs
- BamlStream.cs
- SqlRetyper.cs
- TableSectionStyle.cs
- SendMailErrorEventArgs.cs
- URLIdentityPermission.cs
- TableCell.cs
- ParseElement.cs
- DataViewManagerListItemTypeDescriptor.cs
- PropertyDescriptors.cs
- FilterQueryOptionExpression.cs
- BinaryNegotiation.cs
- DESCryptoServiceProvider.cs
- CAGDesigner.cs
- CodeGroup.cs
- DecimalKeyFrameCollection.cs