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
- TypeDescriptor.cs
- SignatureGenerator.cs
- WebContext.cs
- DesignerForm.cs
- Vector3dCollection.cs
- WorkflowFileItem.cs
- SrgsSubset.cs
- DataSourceHelper.cs
- Timer.cs
- DataGridCell.cs
- OdbcError.cs
- ScopelessEnumAttribute.cs
- DataGridViewSelectedColumnCollection.cs
- EventSourceCreationData.cs
- DetailsViewRowCollection.cs
- ObjectListItemCollection.cs
- ConfigurationLocationCollection.cs
- UInt16Converter.cs
- SerializationInfoEnumerator.cs
- StylusEventArgs.cs
- HttpHeaderCollection.cs
- AccessDataSourceView.cs
- Faults.cs
- ProxyHelper.cs
- SessionStateSection.cs
- PerfCounterSection.cs
- TrackingAnnotationCollection.cs
- DesignerView.Commands.cs
- MediaTimeline.cs
- ImmutablePropertyDescriptorGridEntry.cs
- MouseOverProperty.cs
- ContainsRowNumberChecker.cs
- PanelStyle.cs
- SessionStateContainer.cs
- IndependentlyAnimatedPropertyMetadata.cs
- XmlRawWriter.cs
- TraceHandlerErrorFormatter.cs
- DataGridViewCellStyleConverter.cs
- InkCanvasSelectionAdorner.cs
- CodeSubDirectoriesCollection.cs
- XmlILAnnotation.cs
- StrokeNodeData.cs
- XmlIlGenerator.cs
- PassportPrincipal.cs
- AsymmetricAlgorithm.cs
- SessionSwitchEventArgs.cs
- ChangeBlockUndoRecord.cs
- WebMessageBodyStyleHelper.cs
- OutputWindow.cs
- InnerItemCollectionView.cs
- ClientTargetCollection.cs
- ProfileSettingsCollection.cs
- EmbeddedMailObjectsCollection.cs
- Exception.cs
- ConfigurationElementCollection.cs
- _SslState.cs
- MulticastNotSupportedException.cs
- GridItem.cs
- SafeNativeMethods.cs
- DataFieldCollectionEditor.cs
- TransformDescriptor.cs
- AutomationPatternInfo.cs
- FormatException.cs
- XamlReaderConstants.cs
- TimeSpanValidatorAttribute.cs
- ToolboxComponentsCreatedEventArgs.cs
- Zone.cs
- ColorTransformHelper.cs
- HelpKeywordAttribute.cs
- XmlDigitalSignatureProcessor.cs
- SettingsProviderCollection.cs
- XPathCompileException.cs
- XsltSettings.cs
- RecognizedAudio.cs
- State.cs
- ReachDocumentSequenceSerializerAsync.cs
- LocatorPartList.cs
- SqlDataSourceSummaryPanel.cs
- DateTimeStorage.cs
- GridViewSelectEventArgs.cs
- WindowsSspiNegotiation.cs
- ActivityCodeDomSerializationManager.cs
- BuildManager.cs
- Label.cs
- FormCollection.cs
- InternalSendMessage.cs
- XamlInterfaces.cs
- RetrieveVirtualItemEventArgs.cs
- BaseComponentEditor.cs
- FocusTracker.cs
- SafeReadContext.cs
- LinqDataSource.cs
- objectresult_tresulttype.cs
- ManagementInstaller.cs
- CustomSignedXml.cs
- MediaElementAutomationPeer.cs
- TakeOrSkipQueryOperator.cs
- ProcessModuleDesigner.cs
- GlyphsSerializer.cs
- PropertyMapper.cs