Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- SchemaImporterExtensionsSection.cs
- IHttpResponseInternal.cs
- MethodToken.cs
- RSAPKCS1SignatureFormatter.cs
- SynchronizationLockException.cs
- HelpKeywordAttribute.cs
- AddingNewEventArgs.cs
- CultureInfo.cs
- ExpressionHelper.cs
- PriorityChain.cs
- WrapperSecurityCommunicationObject.cs
- EntityTransaction.cs
- AlphabeticalEnumConverter.cs
- XmlSchemaIdentityConstraint.cs
- SqlPersonalizationProvider.cs
- ClientEventManager.cs
- MenuItemStyleCollection.cs
- CodeBlockBuilder.cs
- FixedSOMTableRow.cs
- CellTreeNodeVisitors.cs
- DebugTraceHelper.cs
- DataGrid.cs
- CoTaskMemSafeHandle.cs
- MatcherBuilder.cs
- MsdtcClusterUtils.cs
- SystemIPInterfaceStatistics.cs
- VirtualizedCellInfoCollection.cs
- NativeMethods.cs
- ApplicationActivator.cs
- ImageDesigner.cs
- EdmSchemaAttribute.cs
- ColumnResizeAdorner.cs
- XhtmlTextWriter.cs
- SqlClientWrapperSmiStreamChars.cs
- mactripleDES.cs
- XmlSerializerFactory.cs
- EastAsianLunisolarCalendar.cs
- ConfigurationException.cs
- DeferredBinaryDeserializerExtension.cs
- WeakRefEnumerator.cs
- ISAPIWorkerRequest.cs
- SimpleTableProvider.cs
- TdsParserSafeHandles.cs
- RSAPKCS1SignatureFormatter.cs
- FixedSOMLineCollection.cs
- dsa.cs
- Point3DCollection.cs
- Attachment.cs
- HttpProfileBase.cs
- EditingCoordinator.cs
- ExpressionCopier.cs
- TileModeValidation.cs
- WaitHandleCannotBeOpenedException.cs
- RenamedEventArgs.cs
- SqlColumnizer.cs
- ClassHandlersStore.cs
- ConfigurationSectionGroup.cs
- CollectionsUtil.cs
- DllHostedComPlusServiceHost.cs
- TcpAppDomainProtocolHandler.cs
- AQNBuilder.cs
- WindowsIdentity.cs
- CodeSnippetExpression.cs
- SystemThemeKey.cs
- ChannelReliableSession.cs
- KeyTimeConverter.cs
- DynamicUpdateCommand.cs
- FormViewPagerRow.cs
- HttpModuleActionCollection.cs
- TextRunTypographyProperties.cs
- SymbolEqualComparer.cs
- FieldTemplateUserControl.cs
- TextFormatterHost.cs
- PointCollection.cs
- CodeTypeParameter.cs
- RegionIterator.cs
- FrameworkElement.cs
- DSASignatureFormatter.cs
- CodeStatementCollection.cs
- ReaderOutput.cs
- SlipBehavior.cs
- DirectoryRootQuery.cs
- OrderByExpression.cs
- QueryableDataSourceEditData.cs
- WorkflowDebuggerSteppingAttribute.cs
- SmiTypedGetterSetter.cs
- CopyNamespacesAction.cs
- LockingPersistenceProvider.cs
- ExpressionBuilder.cs
- SystemIcmpV6Statistics.cs
- DataGridViewSelectedRowCollection.cs
- ForEachAction.cs
- DesignerDataRelationship.cs
- ModulesEntry.cs
- BooleanStorage.cs
- UIElementCollection.cs
- ImageAttributes.cs
- ComplusTypeValidator.cs
- PriorityQueue.cs
- WpfKnownMember.cs