Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- WindowsListViewItemCheckBox.cs
- ProgressBarBrushConverter.cs
- DescendantQuery.cs
- WSHttpBindingBase.cs
- SocketCache.cs
- ExtendedProtectionPolicy.cs
- WindowsSysHeader.cs
- OleDbReferenceCollection.cs
- InputLanguageProfileNotifySink.cs
- DataKey.cs
- ConnectionInterfaceCollection.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- DetailsViewRowCollection.cs
- HtmlForm.cs
- QilScopedVisitor.cs
- ContextStaticAttribute.cs
- KeyGestureConverter.cs
- KeyTimeConverter.cs
- CapabilitiesSection.cs
- Rect3D.cs
- RegexCompiler.cs
- TextTreeTextElementNode.cs
- XmlSchemaInferenceException.cs
- compensatingcollection.cs
- ParserContext.cs
- _OverlappedAsyncResult.cs
- XmlSchemaSimpleContentRestriction.cs
- RelativeSource.cs
- XmlRawWriterWrapper.cs
- TextLineResult.cs
- SymLanguageType.cs
- Registry.cs
- TypedElement.cs
- FixedHighlight.cs
- Image.cs
- OdbcStatementHandle.cs
- FontStyle.cs
- ping.cs
- WorkflowInstanceSuspendedRecord.cs
- WebPartConnectionsDisconnectVerb.cs
- LogWriteRestartAreaState.cs
- CellRelation.cs
- processwaithandle.cs
- unsafenativemethodstextservices.cs
- EntityAdapter.cs
- RTLAwareMessageBox.cs
- SocketElement.cs
- SafeLibraryHandle.cs
- GPRECTF.cs
- UIElement3D.cs
- PolicyDesigner.cs
- HtmlTableCellCollection.cs
- StyleCollection.cs
- EditorAttribute.cs
- RuntimeIdentifierPropertyAttribute.cs
- SecondaryIndexDefinition.cs
- FormatterServices.cs
- FilterException.cs
- SafeMILHandle.cs
- SqlCaseSimplifier.cs
- HScrollBar.cs
- SqlException.cs
- PrinterUnitConvert.cs
- WeakReferenceEnumerator.cs
- ListControl.cs
- ImageSourceConverter.cs
- ReadWriteSpinLock.cs
- Grant.cs
- FieldMetadata.cs
- Point3DCollection.cs
- InstancePersistenceException.cs
- AppDomainUnloadedException.cs
- SiteMapNodeCollection.cs
- PageCodeDomTreeGenerator.cs
- Point3DAnimationBase.cs
- WebPartEventArgs.cs
- wgx_sdk_version.cs
- XPathScanner.cs
- altserialization.cs
- CodeIdentifiers.cs
- DbBuffer.cs
- EvidenceBase.cs
- ChangeBlockUndoRecord.cs
- CharKeyFrameCollection.cs
- SqlCacheDependency.cs
- WindowsImpersonationContext.cs
- WindowsTooltip.cs
- DynamicPropertyReader.cs
- RenderDataDrawingContext.cs
- Rotation3D.cs
- ILGenerator.cs
- EntityDataSourceWrapperCollection.cs
- RegexMatch.cs
- StrongNamePublicKeyBlob.cs
- PropVariant.cs
- TreeView.cs
- InternalRelationshipCollection.cs
- DataGridViewCellValidatingEventArgs.cs
- PathData.cs
- DocumentViewerConstants.cs