Code:
/ 4.0 / 4.0 / 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.
//------------------------------------------------------------------------------
//
// 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
- XmlDictionaryReaderQuotas.cs
- DataSourceControlBuilder.cs
- DetailsViewInsertedEventArgs.cs
- HuffmanTree.cs
- PropertyDescriptorComparer.cs
- EnvelopedPkcs7.cs
- BaseTemplateBuildProvider.cs
- GeneralTransform2DTo3DTo2D.cs
- MetabaseServerConfig.cs
- OperationFormatUse.cs
- DataFormats.cs
- CodeLinePragma.cs
- EllipticalNodeOperations.cs
- FormsAuthenticationEventArgs.cs
- GradientStopCollection.cs
- ISCIIEncoding.cs
- LinqDataSourceEditData.cs
- UnsafeNativeMethodsTablet.cs
- SqlStatistics.cs
- XPathQueryGenerator.cs
- Directory.cs
- UnionCodeGroup.cs
- AVElementHelper.cs
- TrustManagerMoreInformation.cs
- AutoCompleteStringCollection.cs
- COSERVERINFO.cs
- DetailsViewInsertEventArgs.cs
- GeneratedContractType.cs
- EnumType.cs
- ReachDocumentReferenceSerializer.cs
- EncoderNLS.cs
- RadioButton.cs
- DataGridViewTextBoxCell.cs
- HttpConfigurationContext.cs
- JsonQNameDataContract.cs
- FileCodeGroup.cs
- FormParameter.cs
- EnglishPluralizationService.cs
- DataGridViewComboBoxCell.cs
- StylusPlugInCollection.cs
- ReplyChannel.cs
- CssStyleCollection.cs
- TargetConverter.cs
- ScriptReferenceBase.cs
- shaper.cs
- PeerCustomResolverElement.cs
- WCFServiceClientProxyGenerator.cs
- TileBrush.cs
- RunClient.cs
- CssStyleCollection.cs
- SequentialActivityDesigner.cs
- Point3D.cs
- EndOfStreamException.cs
- PopOutPanel.cs
- CalendarTable.cs
- DataGridViewRowStateChangedEventArgs.cs
- WrappedIUnknown.cs
- DynamicQueryableWrapper.cs
- ReadWriteObjectLock.cs
- RotateTransform.cs
- ToolStripDesigner.cs
- ExtensibleClassFactory.cs
- SqlConnectionPoolProviderInfo.cs
- BindingValueChangedEventArgs.cs
- FtpCachePolicyElement.cs
- TypeExtensionConverter.cs
- TcpProcessProtocolHandler.cs
- newinstructionaction.cs
- ProfileInfo.cs
- CreateUserWizardAutoFormat.cs
- SafeNativeMethodsMilCoreApi.cs
- BooleanToVisibilityConverter.cs
- VisualStyleElement.cs
- NumericUpDownAccelerationCollection.cs
- UserNamePasswordValidationMode.cs
- XmlILOptimizerVisitor.cs
- WindowsSolidBrush.cs
- TextComposition.cs
- DoubleIndependentAnimationStorage.cs
- basenumberconverter.cs
- FileDialog_Vista.cs
- DesignTimeTemplateParser.cs
- ModuleElement.cs
- DecoderNLS.cs
- NativeMethods.cs
- PrintingPermission.cs
- GridItem.cs
- CommonObjectSecurity.cs
- BinaryObjectInfo.cs
- NotCondition.cs
- Bidi.cs
- ColumnMap.cs
- EntityClassGenerator.cs
- ListViewInsertEventArgs.cs
- CharacterBuffer.cs
- StandardToolWindows.cs
- FixedPageStructure.cs
- EntityAdapter.cs
- Transform3D.cs
- WebPartMovingEventArgs.cs