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
- WebPageTraceListener.cs
- CommonRemoteMemoryBlock.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- ColorDialog.cs
- ErrorHandlingReceiver.cs
- XamlSerializerUtil.cs
- Char.cs
- HealthMonitoringSectionHelper.cs
- OleDbFactory.cs
- WebPartDisplayModeCancelEventArgs.cs
- RC2CryptoServiceProvider.cs
- CommonDialog.cs
- ValidatorCollection.cs
- HttpResponse.cs
- FormsAuthenticationCredentials.cs
- FormsAuthentication.cs
- TextTreeInsertUndoUnit.cs
- LinqDataSourceDisposeEventArgs.cs
- Propagator.ExtentPlaceholderCreator.cs
- GuidConverter.cs
- XamlSerializationHelper.cs
- ExpressionQuoter.cs
- DetailsViewRowCollection.cs
- OleDbMetaDataFactory.cs
- Util.cs
- TimeoutValidationAttribute.cs
- DateTimeFormatInfoScanner.cs
- ListControlDataBindingHandler.cs
- HitTestParameters3D.cs
- SortKey.cs
- WindowsSlider.cs
- CssTextWriter.cs
- XmlSchemaException.cs
- FreezableDefaultValueFactory.cs
- MostlySingletonList.cs
- TextClipboardData.cs
- ApplicationFileCodeDomTreeGenerator.cs
- HtmlButton.cs
- sitestring.cs
- BufferedWebEventProvider.cs
- GeneralTransform3DGroup.cs
- DeploymentSectionCache.cs
- CodeIterationStatement.cs
- DbProviderManifest.cs
- COM2IDispatchConverter.cs
- SerializationStore.cs
- XmlSchemaComplexContentRestriction.cs
- EventLogPermissionHolder.cs
- ResourceReader.cs
- ResourcePermissionBaseEntry.cs
- COM2PropertyDescriptor.cs
- DateTimeConverter.cs
- XmlCharType.cs
- ModelFactory.cs
- FrameworkElement.cs
- TabControl.cs
- InvokePattern.cs
- ParserExtension.cs
- FacetValueContainer.cs
- TextBox.cs
- DesignerAutoFormat.cs
- FlowLayoutPanel.cs
- MaskedTextBoxTextEditorDropDown.cs
- AppDomainFactory.cs
- MenuAutomationPeer.cs
- AssociationSetMetadata.cs
- basecomparevalidator.cs
- DeviceSpecific.cs
- HandlerFactoryWrapper.cs
- QueryCursorEventArgs.cs
- EndSelectCardRequest.cs
- XhtmlBasicFormAdapter.cs
- WebExceptionStatus.cs
- ClientBase.cs
- ExtensionDataReader.cs
- SystemWebExtensionsSectionGroup.cs
- ResourceDictionaryCollection.cs
- MarkedHighlightComponent.cs
- BaseCodeDomTreeGenerator.cs
- MemoryMappedViewAccessor.cs
- HttpCapabilitiesEvaluator.cs
- ApplicationInterop.cs
- GeneralTransform2DTo3D.cs
- CompModSwitches.cs
- XmlSchemaSimpleTypeUnion.cs
- SeekableReadStream.cs
- EasingFunctionBase.cs
- TimeoutException.cs
- Point3DCollectionConverter.cs
- UserMapPath.cs
- HttpHandlerActionCollection.cs
- AutomationElement.cs
- IndexedEnumerable.cs
- SafeFileMapViewHandle.cs
- SynchronizedInputPattern.cs
- FileSystemInfo.cs
- Int32AnimationBase.cs
- InheritablePropertyChangeInfo.cs
- DragAssistanceManager.cs
- KeyValueConfigurationCollection.cs